Update .gitlab-ci.yml
This commit is contained in:
@@ -7,10 +7,9 @@ cache:
|
|||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y && apt-get upgrade -y
|
- apt-get update -y && apt-get upgrade -y
|
||||||
- apt-get install rsync -y
|
- apt-get install rsync -y
|
||||||
- 'which ssh-agent || ( apt-get install openssh-client -y )'
|
|
||||||
- eval $(ssh-agent -s)
|
|
||||||
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
- echo -e "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||||
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
|
|
||||||
test_execution:
|
test_execution:
|
||||||
|
|||||||
Reference in New Issue
Block a user