Skip to content
Snippets Groups Projects
Commit 0afadfc5 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

move and rename file to generic

parent 5489c0dd
No related branches found
No related tags found
No related merge requests found
Pipeline #25376 waiting for manual action
......@@ -33,7 +33,8 @@ stages:
- 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"
- foo=$(eval echo \$"$foo")
- kubectl -n cbio-on-demand${NAMESPACE} create secret generic key --from-file="$foo" --dry-run -o yaml | kubectl apply -f -
- mv $foo ./sp_key.pem
- kubectl -n cbio-on-demand${NAMESPACE} create secret generic key --from-file=sp_key.pem --dry-run -o yaml | kubectl apply -f -
.cbio-db-build-template: &cbio-db-build-template
stage: build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment