diff options
author | liamfallon <liam.fallon@est.tech> | 2022-09-01 12:05:47 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2022-09-05 10:19:02 +0100 |
commit | faac45b578a29078700b5ea003c69cedc1a17b5f (patch) | |
tree | f2a079358441401e50c9933255122796b2134ea6 /csit/start-grafana.sh | |
parent | ff82245b200616cf30a6f6cd4d1e5305ae3d90ef (diff) |
Convert CSIT tests to use HTTP rather than HTTPS
This commit converts the CSITs from HTTPS to HTTP. It also does some
refactoring and didying up on the CSIT environment.
Issue-ID: POLICY-4338
Change-Id: Ie19908a8d2a457df3ae5f4e490d5528889f395c8
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'csit/start-grafana.sh')
-rwxr-xr-x | csit/start-grafana.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/csit/start-grafana.sh b/csit/start-grafana.sh index 0350ad25..e081d04c 100755 --- a/csit/start-grafana.sh +++ b/csit/start-grafana.sh @@ -21,20 +21,16 @@ SCRIPTS=$(git rev-parse --show-toplevel) export SCRIPTS="${SCRIPTS}"/csit -cd ${SCRIPTS} - -python3 ./prepare-config-files.py --https=false - -source ./get-versions.sh +source "${SCRIPTS}"/get-versions.sh export PROJECT="${1}" if [ -z "${PROJECT}" ]; then echo "Starting all components..." - docker-compose -f ./compose-grafana.yml up -d + docker-compose -f "${SCRIPTS}"/compose-grafana.yml up -d else echo "Starting ${PROJECT} application..." - docker-compose -f ./compose-grafana.yml up -d "${PROJECT}" grafana + docker-compose -f "${SCRIPTS}"/compose-grafana.yml up -d "${PROJECT}" grafana fi prometheus=$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' prometheus) |