Skip to content
Snippets Groups Projects
Commit 4c01a86a authored by Ricardo Rocha's avatar Ricardo Rocha
Browse files

Move CI to use lxplus8 endpoint when doing scp

parent fbbecd25
No related branches found
No related tags found
1 merge request!63Move CI to use lxplus8 endpoint when doing scp
Pipeline #2535588 passed
......@@ -29,7 +29,7 @@ review:
dependencies:
- build
script:
- SSHPASS=$SVCBUILD_PASSWORD sshpass -e scp -oStrictHostKeyChecking=no -r $CI_COMMIT_REF_NAME svcbuild@lxplus.cern.ch:$DEST/preview
- SSHPASS=$SVCBUILD_PASSWORD sshpass -e scp -oStrictHostKeyChecking=no -r $CI_COMMIT_REF_NAME svcbuild@lxplus8.cern.ch:$DEST/preview
environment:
name: review/$CI_COMMIT_REF_NAME
url: http://techblog-preview.web.cern.ch/techblog-preview/$CI_COMMIT_REF_NAME
......@@ -45,7 +45,7 @@ stop_review:
stage: review
image: docker.io/alpine
script:
- SSHPASS=$SVCBUILD_PASSWORD sshpass -e ssh -oStrictHostKeyChecking=no svcbuild@lxplus.cern.ch rm -rf $DEST/preview/$CI_COMMIT_REF_NAME
- SSHPASS=$SVCBUILD_PASSWORD sshpass -e ssh -oStrictHostKeyChecking=no svcbuild@lxplus8.cern.ch rm -rf $DEST/preview/$CI_COMMIT_REF_NAME
variables:
GIT_STRATEGY: none
when: manual
......@@ -61,7 +61,7 @@ deploy_production:
dependencies:
- build
script:
- SSHPASS=$SVCBUILD_PASSWORD sshpass -e scp -oStrictHostKeyChecking=no -r $CI_COMMIT_REF_NAME svcbuild@lxplus.cern.ch:$DEST
- SSHPASS=$SVCBUILD_PASSWORD sshpass -e scp -oStrictHostKeyChecking=no -r $CI_COMMIT_REF_NAME svcbuild@lxplus8.cern.ch:$DEST
environment:
name: production
url: $PRODUCTION
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment