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
1a11e9af
Commit
1a11e9af
authored
Oct 01, 2019
by
Ľuboslav Pivarč
Browse files
Apply changes on metadata
parent
0298ca92
Pipeline
#25625
waiting for manual action with stages
in 35 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
1a11e9af
...
...
@@ -29,8 +29,8 @@ stages:
*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=sp_cert.pem
-
kubectl
get -n cbio-on-demand${NAMESPACE} configmaps xml || kubectl
-n cbio-on-demand${NAMESPACE} create configmap xml --from-file=sp-metadata.xml
-
kubectl -n cbio-on-demand${NAMESPACE} create configmap cert --from-file=sp_cert.pem
--dry-run -o yaml | kubectl apply -f -
-
kubectl -n cbio-on-demand${NAMESPACE} create configmap xml --from-file=sp-metadata.xml
--dry-run -o yaml | kubectl apply -f -
-
export foo="${CI_COMMIT_REF_NAME}_KEY"
-
foo=$(eval echo \$"$foo")
-
mv $foo ./sp_key.pem
...
...
Write
Preview
Supports
Markdown
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