Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Operations Central Management
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
Operations Central Management
Commits
fcbb02fd
Commit
fcbb02fd
authored
9 months ago
by
Corné Lukken
Browse files
Options
Downloads
Patches
Plain Diff
Disable prepare deploy temporarily
parent
88364d10
No related branches found
No related tags found
No related merge requests found
Pipeline
#94564
failed
9 months ago
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+30
-30
30 additions, 30 deletions
.gitlab-ci.yml
with
30 additions
and
30 deletions
.gitlab-ci.yml
+
30
−
30
View file @
fcbb02fd
...
...
@@ -58,36 +58,36 @@ tag-latest_prometheus:
# rules:
# - !reference [.default_rules, rules]
deploy_prepare
:
stage
:
deploy
image
:
name
:
debian
entrypoint
:
[
"
"
]
needs
:
[
build_grafana
,
build_prometheus
]
when
:
manual
# rules:
# - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) || $CI_COMMIT_TAG
dependencies
:
[]
parallel
:
matrix
:
-
SERVER
:
-
monitor
variables
:
nomad_download
:
https://releases.hashicorp.com/nomad/1.7.5/nomad_1.7.5_linux_amd64.zip
environment
:
name
:
${SERVER}.control.lofar
url
:
http://${SERVER}.control.lofar:4646
action
:
prepare
before_script
:
-
apt update
-
apt install wget -y
script
:
-
export NOMAD_ADDR=http://${SERVER}.control.lofar:4646
-
echo 'nomad is not installed, installing'
-
mkdir -p ./.bin
-
wget -qO- "${nomad_download}" | zcat >> ./.bin/nomad
-
chmod +x ./.bin/nomad
-
./.bin/nomad volume create infra/postgres-volume.hcl
#
deploy_prepare:
#
stage: deploy
#
image:
#
name: debian
#
entrypoint: [ "" ]
#
needs: [ build_grafana, build_prometheus ]
#
when: manual
#
# rules:
#
# - if: ($CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH) || $CI_COMMIT_TAG
#
dependencies: []
#
parallel:
#
matrix:
#
- SERVER:
#
- monitor
#
variables:
#
nomad_download: https://releases.hashicorp.com/nomad/1.7.5/nomad_1.7.5_linux_amd64.zip
#
environment:
#
name: ${SERVER}.control.lofar
#
url: http://${SERVER}.control.lofar:4646
#
action: prepare
#
before_script:
#
- apt update
#
- apt install wget -y
#
script:
#
- export NOMAD_ADDR=http://${SERVER}.control.lofar:4646
#
- echo 'nomad is not installed, installing'
#
- mkdir -p ./.bin
#
- wget -qO- "${nomad_download}" | zcat >> ./.bin/nomad
#
- chmod +x ./.bin/nomad
#
- ./.bin/nomad volume create infra/postgres-volume.hcl
deploy
:
stage
:
deploy
...
...
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