Commit 781818a4 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

Add mellon key

parent ce08aa3b
Pipeline #25110 waiting for manual action with stages
in 13 seconds
......@@ -22,6 +22,19 @@ 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:
stage: prepare
image: registry.gitlab.ics.muni.cz:443/europdx/k8s/ci:latest
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
- 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
......
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