Commit 33b8c606 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

unified naming of file

parent 92a1311b
Pipeline #25291 waiting for manual action with stages
in 17 seconds
...@@ -29,12 +29,12 @@ stages: ...@@ -29,12 +29,12 @@ stages:
*kube-auth *kube-auth
script: script:
- cd mellon/${CI_COMMIT_REF_NAME} - 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 cert || kubectl -n cbio-on-demand${NAMESPACE} create configmap cert --from-file=sp_cert.pem
- 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 - kubectl get -n cbio-on-demand${NAMESPACE} configmaps xml || kubectl -n cbio-on-demand${NAMESPACE} create configmap xml --from-file=sp-metadata.xml
- export foo="${CI_COMMIT_REF_NAME}_KEY" - export foo="${CI_COMMIT_REF_NAME}_KEY"
- foo=$(eval echo \$"$foo") - foo=$(eval echo \$"$foo")
- echo ${foo} >> key.key - echo ${foo} >> sp_key.pem
- kubectl get -n cbio-on-demand${NAMESPACE} secrets key || kubectl -n cbio-on-demand${NAMESPACE} create secret generic key --from-file=key.key - kubectl get -n cbio-on-demand${NAMESPACE} secrets key || kubectl -n cbio-on-demand${NAMESPACE} create secret generic key --from-file=sp_key.pem
.cbio-db-build-template: &cbio-db-build-template .cbio-db-build-template: &cbio-db-build-template
stage: build 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