Skip to content
Snippets Groups Projects
Commit fcbb02fd authored by Corné Lukken's avatar Corné Lukken
Browse files

Disable prepare deploy temporarily

parent 88364d10
No related branches found
No related tags found
No related merge requests found
Pipeline #94564 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment