Commit ca483a7b authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Updated test deployment for v1.

parent c891c638
Pipeline #120845 passed with stages
in 28 minutes and 54 seconds
......@@ -219,19 +219,19 @@ deploy prod:
# - /^dev-.*$/
# when: manual
# deploy prod test:
# stage: release
# before_script:
# - mkdir -p /etc/deploy
# - echo ${CI_K8S_PROD_CONFIG} | base64 -d > ${KUBECONFIG}
# script:
# - helm dependency update ops/helm/nomad
# - helm upgrade --install nomad-test ops/helm/nomad -f ops/helm/nomad/deployments/prod-test-values.yaml --set image.tag=$CI_COMMIT_REF_NAME,roll=true --wait
# - docker pull $TEST_IMAGE
# - docker run -t -e NOMAD_KEYCLOAK_REALM_NAME=fairdi_nomad_prod $TEST_IMAGE python -m nomad.cli client -n https://nomad-lab.eu/prod/rae/test/api -u test -w $CI_NOMAD_TEST_PASSWORD integrationtests --skip-publish --skip-doi
# except:
# - /^dev-.*$/
# when: manual
deploy prod test:
stage: release
before_script:
- mkdir -p /etc/deploy
- echo ${CI_K8S_PROD_CONFIG} | base64 -d > ${KUBECONFIG}
script:
- helm dependency update ops/helm/nomad
- helm upgrade --install nomad-test-v1 ops/helm/nomad -f ops/helm/nomad/deployments/prod-test-values.yaml --set image.tag=$CI_COMMIT_REF_NAME,roll=true --wait
- docker pull $TEST_IMAGE
- docker run -t -e NOMAD_KEYCLOAK_REALM_NAME=fairdi_nomad_prod $TEST_IMAGE python -m nomad.cli client -n https://nomad-lab.eu/prod/v1/test/api -u test -w $CI_NOMAD_TEST_PASSWORD integrationtests --skip-publish --skip-doi
except:
- /^dev-.*$/
when: manual
release latest image:
stage: release
......
......@@ -9,7 +9,7 @@ image:
pullPolicy: "Always"
proxy:
nodePort: 30007
nodePort: 30008
nodeIP: '130.183.207.81'
external:
host: "nomad-lab.eu"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment