Skip to content
Snippets Groups Projects
Commit f2ee27ee authored by Jan David Mol's avatar Jan David Mol
Browse files

mention all components once

parent 506e5be6
No related branches found
1 merge request!1008L2SS-2062: Separate rendering and deploying
......@@ -11,11 +11,7 @@ stages:
# To deploy manually, get the env.yaml and the .levant.nomad file,
# and run docker run --rm -i --net=host -v /path/to/env.yaml:/env.yaml:ro hashicorp/levant deploy --var-file=/env.yaml /dev/stdin < /path/to/file.levant.nomad
render_levant:
stage: render
image:
name: hashicorp/levant
entrypoint: [ "" ]
.components:
parallel:
matrix:
- COMPONENT:
......@@ -33,6 +29,13 @@ render_levant:
- snmp-exporter
- landing-page
- rpc-server
render_levant:
extends: .components
stage: render
image:
name: hashicorp/levant
entrypoint: [ "" ]
script:
- |
if [ "${STATION}" == "dts-lab" ]; then
......@@ -56,6 +59,7 @@ render_levant:
- ${STATION}-${COMPONENT}.nomad
deploy_nomad:
extends: .components
stage: deploy
# gitlab evaluates parallel.matrix after needs/dependencies,
# so we cannot use $COMPONENT in the dependencies.
......@@ -64,23 +68,6 @@ deploy_nomad:
- render_levant
dependencies:
- render_levant
parallel:
matrix:
- COMPONENT:
- mesh-gateway
- monitoring
- logging
- tango
- object-storage
- object-replication
- sdptr
- device-server
- dsconfig
- ec-sim
- jupyter
- snmp-exporter
- landing-page
- rpc-server
image:
name: hashicorp/nomad
entrypoint: [ "" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment