summaryrefslogtreecommitdiffstats
path: root/ci/verify-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/verify-build.sh')
-rwxr-xr-xci/verify-build.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/ci/verify-build.sh b/ci/verify-build.sh
index 0477e17..5230cee 100755
--- a/ci/verify-build.sh
+++ b/ci/verify-build.sh
@@ -19,7 +19,12 @@ export CARBON_DIR=${ci}/job/carbon/
${ci}/remove_docker_container.sh
mkdir -p ${CARBON_DIR}
-touch ${ENV_FILE}
+cat << EOF > ${ENV_FILE}
+OS_USERNAME=username
+OS_PASSWORD=password
+OS_AUTH_URL=http://localhost
+OS_PROJECT_NAME=project
+EOF
if [ -z $ARCH ]
then
@@ -30,6 +35,8 @@ export ARCH=${ARCH}
echo Using $ARCH architecture
+export CURRENT_UID=$(id -u):$(id -g)
+
docker-compose -f local-docker-compose.yaml down
docker-compose -f local-docker-compose.yaml build
docker-compose -f local-docker-compose.yaml up -d
@@ -60,7 +67,7 @@ set +e
check_for_life storperf-httpfrontend "/"
FAILURES=$((FAILURES + $?))
-check_for_life storperf-master "/api/v1.0/configurations"
+check_for_life storperf-master "/api/v1.0/jobs"
FAILURES=$((FAILURES + $?))
check_for_life storperf-reporting "/reporting/"