Skip to content
Snippets Groups Projects
Commit e299c95a authored by Hannes Feldt's avatar Hannes Feldt
Browse files

Merge branch 'add-dts-lab' into 'master'

L2SS-1565: Add dts-lab as a deployment target

See merge request !870
parents 5872a9f9 9e8600ba
No related branches found
No related tags found
1 merge request!870L2SS-1565: Add dts-lab as a deployment target
...@@ -379,6 +379,7 @@ deploy_nomad: ...@@ -379,6 +379,7 @@ deploy_nomad:
matrix: matrix:
- STATION: - STATION:
- cs001 - cs001
- dts-lab
COMPONENT: COMPONENT:
- monitoring - monitoring
- logging - logging
...@@ -395,8 +396,13 @@ deploy_nomad: ...@@ -395,8 +396,13 @@ deploy_nomad:
name: $STATION name: $STATION
script: script:
- | - |
if [ "${STATION}" == "dts-lab" ]; then \
HOSTNAME="dts-lab.astron.nl" \
else \
HOSTNAME="${STATION}c.control.lofar" \
fi \
levant deploy \ levant deploy \
-address="http://${STATION}c.control.lofar:4646" \ -address="http://${HOSTNAME}:4646" \
-var-file=infra/env.yaml \ -var-file=infra/env.yaml \
-var image_tag="${CI_COMMIT_REF_SLUG}" \ -var image_tag="${CI_COMMIT_REF_SLUG}" \
-var station="${STATION}" \ -var station="${STATION}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment