Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
europdx
k8s
cbio-on-demand
Kubernetes-Docker
Commits
9c31beb6
Commit
9c31beb6
authored
Sep 23, 2019
by
Ľuboslav Pivarč
Browse files
bash magic 5
parent
6c709896
Pipeline
#25122
failed with stages
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9c31beb6
...
...
@@ -31,8 +31,8 @@ stages:
-
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
-
xy=${CI_COMMIT_REF_NAME}
-
export foo="${xy
^^
}_KEY"
-
xy=${CI_COMMIT_REF_NAME
^^
}
-
export foo="${xy}_KEY"
-
foo=$(eval echo \$"$foo")
-
echo ${foo} >> 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment