Skip to content

Commit

Permalink
Add missing here doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown committed Feb 12, 2024
1 parent 68c5919 commit 7c9372f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ end-to-end-core-setup:
- random_string=$(bash -c "cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w "10" | head -n 1")
- >
cat <<EOF > run_web.sh
#!/bin/bash
docker run -d
--name "core-${BRANCH_LOWER}-${CI_COMMIT_SHORT_SHA}-${random_string}"
-e DATAFED_GLOBUS_APP_SECRET="$CI_DATAFED_GLOBUS_APP_SECRET"
Expand Down Expand Up @@ -449,6 +450,8 @@ end-to-end-repo-setup:
- ./scripts/container_stop.sh -t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"
- random_string=$(bash -c "cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w "10" | head -n 1")
- >
cat <<EOF > run_repo.sh
#!/bin/bash
docker run -d
--name "repo-${BRANCH_LOWER}-${CI_COMMIT_SHORT_SHA}-${random_string}"
-e DATAFED_GLOBUS_APP_SECRET="$CI_DATAFED_GLOBUS_APP_SECRET"
Expand All @@ -461,6 +464,9 @@ end-to-end-repo-setup:
-v "$CI_DATAFED_REPO_PRIV_KEY":/source/install/keys/datafed-repo-key.priv
-t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"
</dev/null &>/dev/null &
EOF
- chmod +x run_repo.sh
- ./run_repo.sh
- sleep 10
- ./scripts/container_run_test.sh -e -c "1" -t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"

Expand All @@ -484,6 +490,8 @@ end-to-end-gcs-authz-setup:
- ./scripts/container_stop.sh -t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"
- random_string=$(bash -c "cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w "10" | head -n 1")
- >
cat <<EOF > run_globus.sh
#!/bin/bash
docker run -d
--name "gcs-authz-${BRANCH_LOWER}-${CI_COMMIT_SHORT_SHA}-${random_string}"
-e DATAFED_GLOBUS_APP_SECRET="$CI_DATAFED_GLOBUS_APP_SECRET"
Expand All @@ -496,6 +504,9 @@ end-to-end-gcs-authz-setup:
-v "$CI_DATAFED_REPO_PRIV_KEY":/source/install/keys/datafed-repo-key.priv
-t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"
</dev/null &>/dev/null &
EOF
- chmod +x run_globus.sh
- ./run_globus.sh
- sleep 10
- ./scripts/container_run_test.sh -e -c "1" -t "${REGISTRY}/${IMAGE_TAG}${BRANCH_LOWER}"

Expand Down

0 comments on commit 7c9372f

Please sign in to comment.