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

run tests on tag push

parent 9e905fb3
......@@ -49,6 +49,7 @@ prepare:
name: main
only:
- main
- tags
image:
name: "${CI_REGISTRY}/maps/cicd-images/ansible:latest"
interruptible: true
......@@ -76,6 +77,7 @@ pre-cleanup:
name: main
only:
- main
- tags
extends:
- .cleanup
......@@ -86,6 +88,7 @@ deploy:
name: main
only:
- main
- tags
interruptible: true
script:
- kubectl --namespace "${NAMESPACE}" --server "${KUBE_APISERVER}" --token="${KUBE_TOKEN}" create secret tls shibboleth-sp-helm-chart-certs --cert="${CI_PROJECT_DIR}/ci/sp-cert.pem" --key="${CI_PROJECT_DIR}/ci/sp-key.pem"
......@@ -101,6 +104,7 @@ verify:
name: main
only:
- main
- tags
interruptible: true
script:
- helm test "${HELM_RELEASE}"
......@@ -116,6 +120,7 @@ post-cleanup:
name: main
only:
- main
- tags
extends:
.cleanup
......
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