Commit 6a2d4c98 authored by Idriss Neumann's avatar Idriss Neumann
Browse files

Fix: verbose opts

parent cb064b20
Pipeline #2905 passed with stage
in 11 minutes and 26 seconds
......@@ -4,7 +4,7 @@ stages:
covid-stats-x86:
stage: publish
script:
- setsid ./ci/docker-deliver.sh "x86" "covid-stats" "1.2"
- setsid ./ci/docker-deliver.sh "x86" "covid-stats" "1.3"
only:
refs:
- /^(master.*)$/
......@@ -17,7 +17,7 @@ covid-stats-x86:
covid-stats-arm:
stage: publish
script:
- setsid ./ci/docker-deliver.sh "arm" "covid-stats" "1.2"
- setsid ./ci/docker-deliver.sh "arm" "covid-stats" "1.3"
only:
refs:
- /^(master.*)$/
......
......@@ -2,11 +2,12 @@ version: "3.3"
services:
covid-stats-x86:
image: comworkio/covid-stats:1.2-arm
image: comworkio/covid-stats:1.3-arm
environment:
- ELASTIC_URL=http://es01:9200
- ELASTIC_AUTHENTICATION=disabled
- STARTUP_WAIT_TIME=20
- STARTUP_WAIT_TIME=60
- DEBUG_MODE=disabled
networks:
- covid19
es01:
......
......@@ -2,11 +2,12 @@ version: "3.3"
services:
covid-stats-x86:
image: comworkio/covid-stats:1.2
image: comworkio/covid-stats:1.3
environment:
- ELASTIC_URL=http://es01:9200
- ELASTIC_AUTHENTICATION=disabled
- STARTUP_WAIT_TIME=20
- STARTUP_WAIT_TIME=60
- DEBUG_MODE=disabled
networks:
- covid19
depends_on:
......
......@@ -96,7 +96,7 @@ invoke_url() {
usecase="${2}"
VERBOSE_OPT=""
[[ $DEBUG_MODE == "enabled" ]] && VERBOSE_OPT="-v"
[[ $CONTAINER_MODE == "enabled" ]] && curl -L "${VERBOSE_OPT}" "${url}" || curl -L "${VERBOSE_OPT}" "${url}" 2>>$(get_log_file_name "${usecase}")
[[ $CONTAINER_MODE == "enabled" ]] && curl -L "${url}" "${VERBOSE_OPT}" || curl -L "${url}" "${VERBOSE_OPT}" 2>>$(get_log_file_name "${usecase}")
}
push_document() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment