Skip to content

Commit

Permalink
Fix web server by adding missing env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown committed Feb 21, 2024
1 parent 6ba3c58 commit 6bf5b0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ end-to-end-ws-setup:
- docker login "${REGISTRY}" -u "${HARBOR_USER}" -p "${HARBOR_DATAFED_GITLAB_CI_REGISTRY}"
- USER_ID=$(id -u)
- GROUP_ID=$(id -g)
- CORE_ADDRESS=$(hostname -I | awk '{print $1}')
- cat $CI_DATAFED_CORE_PUB_KEY > /tmp/datafed-core-key.pub
- env
- ./scripts/container_stop.sh -t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"
Expand All @@ -441,6 +442,7 @@ end-to-end-ws-setup:
- echo "-e DATAFED_WEB_CERT_PATH=\"/datafed/install/keys/${DATAFED_WEB_CERT_NAME}\" \\" >> run_web.sh
- echo "-e DATAFED_WEB_KEY_PATH=\"/datafed/install/keys/${DATAFED_WEB_KEY_NAME}\" \\" >> run_web.sh
- echo "-e DATAFED_DEFAULT_LOG_PATH=\"${CONTAINER_LOG_FILE_PATH}\" \\" >> run_web.sh
- echo "-e DATAFED_CORE_ADDRESS_PORT_INTERNAL=\"https://$CORE_ADDRESS:7513\" \\" >> run_web.sh
- echo "-e UID=\"$USER_ID\" \\" >> run_web.sh
- echo "-p 443:443 \\" >> run_web.sh
- echo "-v \"${HOST_LOG_FILE_PATH}:${CONTAINER_LOG_FILE_PATH}\" \\" >> run_web.sh
Expand Down

0 comments on commit 6bf5b0b

Please sign in to comment.