Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a52ea35e authored by ATMANI Ines's avatar ATMANI Ines
Browse files

Update .gitlab-ci.yml

parent a27193b8
No related branches found
No related tags found
No related merge requests found
Pipeline #33150 failed
......@@ -37,11 +37,13 @@ pages:
deploy_QA:
stage: deploy
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- mkdir -p ~/.ssh
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
- eval $(ssh-agent -s)
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh-add <(echo "$DEPLOYMENT_PRIVATE_KEY")
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan druid-garden.irisa.fr >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- apt-get -y install rsync
script:
- ssh -p22 root@druid-garden.irisa.fr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment