Bring up load generator (locust) UI (#2)

This commit also changes the way how image is constructed: slash after ${REPO_PREFIX} is dropped because quya.io doesn't support grouped repositories.
This commit is contained in:
Dmitrii Anoshin 2020-04-29 20:18:45 -07:00 committed by GitHub
parent d492f30997
commit 32c4429dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 49 additions and 48 deletions

View file

@ -27,7 +27,7 @@ REPO_PREFIX="${REPO_PREFIX:?REPO_PREFIX env variable must be specified}"
while IFS= read -d $'\0' -r dir; do
# build image
svcname="$(basename "${dir}")"
image="${REPO_PREFIX}/$svcname:$TAG"
image="${REPO_PREFIX}$svcname:$TAG"
(
cd "${dir}"
log "Building: ${image}"

View file

@ -25,7 +25,7 @@ log() { echo "$1" >&2; }
TAG="${TAG:?TAG env variable must be specified}"
REPO_PREFIX="${REPO_PREFIX:?REPO_PREFIX env variable must be specified}"
FRONTEND_URL="${FRONTEND_URL:?FRONTEND_URL env variable must be specified}"
DOMAIN="${DOMAIN:?DOMAIN env variable must be specified}"
OUT_DIR="${OUT_DIR:-${SCRIPTDIR}/../release}"
print_license_header() {
@ -71,7 +71,7 @@ mk_kubernetes_manifests() {
for dir in ./src/*/
do
svcname="$(basename "${dir}")"
image="$REPO_PREFIX/$svcname:$TAG"
image="$REPO_PREFIX$svcname:$TAG"
pattern="^(\s*)image:\s.*$svcname(.*)(\s*)"
replace="\1image: $image\3"