Skip to content
Snippets Groups Projects
Commit daa9ec3d authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

remove space

parent f4d6b682
No related branches found
No related tags found
No related merge requests found
Pipeline #119157 passed with stages
in 8 minutes and 19 seconds
...@@ -419,7 +419,7 @@ load-website:dev: ...@@ -419,7 +419,7 @@ load-website:dev:
- kubectl --namespace ${NAMESPACE} cp .output/public/ ${WIKI_POD}:/website - kubectl --namespace ${NAMESPACE} cp .output/public/ ${WIKI_POD}:/website
- | - |
kubectl --namespace ${NAMESPACE} kubectl --namespace ${NAMESPACE}
exec ${WIKI_POD} -- bash -c 'cd /structure-data/sanitized-dump && find * -type d -exec sh -c "for d in "$@"; do (cd "/usr/share/nginx/html/$d"; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done" argv0 {} +' exec ${WIKI_POD} -- bash -c 'cd /structure-data/sanitized-dump && find * -type d -exec sh -c "for d in "$@"; do (cd "/usr/share/nginx/html/$d"; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done" argv0 {} +'
load-website:prod: load-website:prod:
...@@ -439,7 +439,7 @@ load-website:prod: ...@@ -439,7 +439,7 @@ load-website:prod:
- echo "Le pod est ready" - echo "Le pod est ready"
- WIKI_POD=$(kubectl --namespace ${NAMESPACE} get pods -l "app.kubernetes.io/name=df-wiki" --output jsonpath='{.items[0].metadata.name}') - WIKI_POD=$(kubectl --namespace ${NAMESPACE} get pods -l "app.kubernetes.io/name=df-wiki" --output jsonpath='{.items[0].metadata.name}')
- kubectl --namespace ${NAMESPACE} cp .output/public/ ${WIKI_POD}:/website - kubectl --namespace ${NAMESPACE} cp .output/public/ ${WIKI_POD}:/website
- kubectl --namespace ${NAMESPACE} exec ${WIKI_POD} -- bash -c 'cd /structure-data/sanitized-dump && find * -type d -exec sh -c "for d in $@; do (cd /usr/share/nginx/html/$d; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done" argv0 {} +' - kubectl --namespace ${NAMESPACE} exec ${WIKI_POD} -- bash -c 'cd /structure-data/sanitized-dump && find * -type d -exec sh -c "for d in $@; do (cd /usr/share/nginx/html/$d; cp --archive --recursive --symbolic-link /structure-data/sanitized-dump/$d/* .) done" argv0 {} +'
......
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