Skip to content
Snippets Groups Projects
Commit 1382e752 authored by benoit-cty's avatar benoit-cty
Browse files

Try ssh

parent d92c804c
No related branches found
Tags integ
No related merge requests found
Pipeline #50 failed
......@@ -6,6 +6,7 @@ stages:
- init
- check
- test
- deploy
cache:
untracked: true
......@@ -81,4 +82,19 @@ compare_with_dgcl:
#- python3 ./tests/dotations/compare_with_dgcl.py
- make test-dgcl
# TODO : deploy
deploy-integ:
stage: deploy
script:
#- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
#- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh leximpact@$INTEGRATION_IP "ls && exit"
deploy-prod:
stage: deploy
script:
- ls # TODO: Deploy to prod
only:
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment