Commit cda39e9f authored by Sandro Mathys's avatar Sandro Mathys
Browse files

remove dependencies

parent 8dec75e8
......@@ -23,7 +23,6 @@ cache:
stages:
- prepare
# - setup
- precleanup
- deploy
- verify
......@@ -68,8 +67,6 @@ precleanup staging:
name: staging
only:
- staging
needs:
- verify staging
extends:
.cleanup
......@@ -79,8 +76,6 @@ deploy staging:
name: staging
only:
- staging
needs:
- prepare staging
interruptible: true
script:
- kubectl --namespace "${NAMESPACE}" --server "${KUBE_APISERVER}" --token="${KUBE_TOKEN}" create secret tls shibboleth-sp-helm-chart-certs --cert="ci/sp-cert.pem" --key="ci/sp-key.pem"
......@@ -95,8 +90,6 @@ verify staging:
name: staging
only:
- staging
needs:
- deploy staging
interruptible: true
script:
- helm test "${HELM_RELEASE}"
......@@ -109,20 +102,17 @@ postcleanup staging:
name: staging
only:
- staging
needs:
- verify staging
extends:
.cleanup
# TODO: only run this in production
# TODO: save as artifact
upload staging:
stage: upload
environment:
name: staging
only:
- staging
needs:
- cleanup staging
interruptible: true
script:
- echo "${SHIBBOLETH_SP_HELM_CHART_REGISTRY_TOKEN}" | helm registry login "${CI_REGISTRY}/maps/shibboleth-sp-helm-chart/" -u "gitlab-ci-shibboleth-sp-helm-chart" --password-stdin
......
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