Skip to content

Instantly share code, notes, and snippets.

@wybczu
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wybczu/cc18c7055f091e0919cd to your computer and use it in GitHub Desktop.
Save wybczu/cc18c7055f091e0919cd to your computer and use it in GitHub Desktop.
DevOps Warsaw #1

Quick start

$ vagrant init wybczu/devops-warsaw-1
$ vagrant up
$ vagrant ssh
$ git clone ssh://user2@localhost:29418/devops-demo
$ cd devops-demo
$ # ...make some changes...
$ gitdir=$(git rev-parse --git-dir); scp -p -P 29418 user2@localhost:hooks/commit-msg ${gitdir}/hooks/
$ git commit
$ git push origin HEAD:refs/for/master

Take a look at Gerrit (http://localhost:8081) and Jenkins (http://localhost:8080)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment