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:
parent
d492f30997
commit
32c4429dc3
8 changed files with 49 additions and 48 deletions
|
@ -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}"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue