Skip to content

Commit

Permalink
Cleaned up the host parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalrymple committed Jan 28, 2024
1 parent de8b779 commit 1484ac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ test:live:setup:
GITLAB_HOST="$(gcloud compute instances start $CONTAINER_NAME \
--format='get(networkInterfaces[0].accessConfigs[0].natIP)' \
--zone=$GCP_ZONE \
) | head -2 | tail -1 )"
| head -2 | tail -1 \
)"
- GITLAB_URL="http://${GITLAB_HOST}"
- echo "GITLAB_URL=${GITLAB_URL}" >> intergration.env
- echo "GITLAB_PERSONAL_ACCESS_TOKEN=${GITLAB_PERSONAL_ACCESS_TOKEN}" >> intergration.env
Expand Down

0 comments on commit 1484ac0

Please sign in to comment.