Commit d40f6944 authored by Cool Fire's avatar Cool Fire
Browse files

It finally works

parent 8adc6fcd
......@@ -5,7 +5,7 @@ stages:
- test
- deploy
librarian_install:
librarian:
stage: test
script:
- apt-get install -y -q wget ruby
......@@ -21,8 +21,6 @@ librarian_install:
- librarian-puppet show
tags:
- puppet
except:
- master
deploy:
stage: deploy
......@@ -31,8 +29,8 @@ deploy:
- 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 -t puppet.insomnia247.nl "cd /etc/puppetlabs/code/environments/production && git pull"
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- ssh puppet.insomnia247.nl "cd /etc/puppetlabs/code/environments/production && git pull"
tags:
- puppet
only:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment