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

Ask if configMap exist then create

parent d3056710
No related branches found
No related tags found
No related merge requests found
Pipeline #25077 waiting for manual action
......@@ -86,8 +86,8 @@ mellon beta:
*kube-auth
script:
- cd mellon/${CI_COMMIT_REF_NAME}
- kubectl -n cbio-on-demand${NAMESPACE} create configmap cert --from-file=http_cbiood_${CI_COMMIT_REF_NAME}.edirex.ics.muni.cz.cert
- 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 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment