|
|
@@ -1,14 +1,13 @@
|
|
|
before_script:
|
|
|
- # Setup SSH deploy keys
|
|
|
- - 'which ssh-agent || ( apt-get install -qq openssh-client )'
|
|
|
- - eval $(ssh-agent -s)
|
|
|
- - mkdir -p ~/.ssh
|
|
|
- - chmod 600 ~/.ssh
|
|
|
- - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
|
|
- - chmod 600 ~/.ssh/id_rsa
|
|
|
- - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
|
|
- #rsync
|
|
|
- #- apt-get update -qq && apt-get install -y --yes --allow-unauthenticated -qq rsync
|
|
|
+ # Setup SSH deploy keys
|
|
|
+ - 'which ssh-agent || ( apt-get install -qq openssh-client )'
|
|
|
+ - eval $(ssh-agent -s)
|
|
|
+ - mkdir -p ~/.ssh
|
|
|
+ - chmod 600 ~/.ssh
|
|
|
+ - echo "$SSH_KEY" | tr -d '\r' > ~/.ssh/id_rsa
|
|
|
+ - chmod 600 ~/.ssh/id_rsa
|
|
|
+ - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
|
|
+
|
|
|
stages:
|
|
|
- checks
|
|
|
- build_release
|