Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
f2ee27ee
Commit
f2ee27ee
authored
7 months ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
mention all components once
parent
506e5be6
No related branches found
Tags
l2ss-2062-test6
1 merge request
!1008
L2SS-2062: Separate rendering and deploying
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.deploy.gitlab-ci.yml
+9
-22
9 additions, 22 deletions
.deploy.gitlab-ci.yml
with
9 additions
and
22 deletions
.deploy.gitlab-ci.yml
+
9
−
22
View file @
f2ee27ee
...
...
@@ -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
:
[
"
"
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment