Commit 6910b002 authored by Cool Fire's avatar Cool Fire
Browse files

Attempt auto-deploy

parent 665cbc9e
......@@ -7,7 +7,7 @@ before_script:
- gem install --no-ri --no-rdoc librarian-puppet
- export PATH=/opt/puppetlabs/bin:$PATH
librarian_install:
install_test:
script:
- ruby -v
- puppet -V
......@@ -17,3 +17,15 @@ librarian_install:
tags:
- puppet
deploy:
script:
- 'which ssh-agent || (apt-get install -y -qq openssh-client)'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- 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:
- master
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