Revize 1783ec87
Přidáno uživatelem Jakub Vašta před více než 4 roky(ů)
.gitlab-ci.yml | ||
---|---|---|
11 | 11 |
- apk update |
12 | 12 |
- apk upgrade |
13 | 13 |
# Setup SSH deploy keys |
14 |
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
|
|
14 |
- 'which ssh-agent || ( apk add -qq openssh-client )'
|
|
15 | 15 |
- eval $(ssh-agent -s) |
16 |
- ssh-add <(echo "$SSH_PRIVATE_KEY")
|
|
16 |
- echo "$SSH_PRIVATE_KEY" | ssh-add
|
|
17 | 17 |
- mkdir -p ~/.ssh |
18 |
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
|
18 |
- '[[ -f /.dockerenv ]] & echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' |
|
19 | 19 |
|
20 | 20 |
unit_tests: |
21 | 21 |
stage: test |
Také k dispozici: Unified diff
Update .gitlab-ci.yml