Dnes v noci mezi 02.10 - 02.15h proběhne aktualizace GitLabu na verzi 14.5.

Commit 89c375f4 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

Missed configuration of template

parent 781818a4
Pipeline #25111 failed
......@@ -22,7 +22,7 @@ stages:
- docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_NAME}-job${CI_COMMIT_SHA}" ./builds/job
- docker push "$CI_REGISTRY_IMAGE:${CI_COMMIT_REF_NAME}-job${CI_COMMIT_SHA}"
.mellon template:
.mellon template: &mellon-template
stage: prepare
image: registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
before_script:
......@@ -33,8 +33,6 @@ stages:
- kubectl get -n cbio-on-demand${NAMESPACE} configmaps xml || kubectl -n cbio-on-demand${NAMESPACE} create configmap xml --from-file=http_cbiood_${CI_COMMIT_REF_NAME}.edirex.ics.muni.cz.xml
- echo ${${CI_COMMIT_REF_NAME}_KEY} >> key.key
- kubectl get -n cbio-on-demand${NAMESPACE} secrets key || kubectl -n cbio-on-demand${NAMESPACE} create secret generic key --from-file=key.key
only:
- beta
.cbio-db-build-template: &cbio-db-build-template
stage: build
......@@ -91,16 +89,8 @@ deploy to k8s:
#BETA
mellon beta:
stage: prepare
image: registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
variables:
NAMESPACE: -beta
before_script:
*kube-auth
script:
- cd mellon/${CI_COMMIT_REF_NAME}
- kubectl get -n cbio-on-demand${NAMESPACE} configmaps cert || kubectl -n cbio-on-demand${NAMESPACE} create configmap cert --from-file=http_cbiood_${CI_COMMIT_REF_NAME}.edirex.ics.muni.cz.cert
- kubectl get -n cbio-on-demand${NAMESPACE} configmaps xml || kubectl -n cbio-on-demand${NAMESPACE} create configmap xml --from-file=http_cbiood_${CI_COMMIT_REF_NAME}.edirex.ics.muni.cz.xml
only:
- beta
......
Markdown is supported
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