Skip to content

Instantly share code, notes, and snippets.

@jness
Last active August 29, 2015 14:26
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 jness/04a6f66a282ae153420f to your computer and use it in GitHub Desktop.
Save jness/04a6f66a282ae153420f to your computer and use it in GitHub Desktop.
repo:
git.latest:
- name: git@github.com:jness/repo.git
- target: /var/nodeapps/repo
- always_fetch: True
- rev: master
- identity: {{ identity }}
- submodules: True
- require:
- sls: common-packages
[INFO ] Running state [git@github.com:jness/repo.git] at time 10:28:48.235586
[INFO ] Executing state git.latest for git@github.com:jness/repo.git
[INFO ] Executing command 'git rev-parse HEAD' in directory '/var/nodeapps/repo'
[INFO ] Executing command 'git rev-parse --abbrev-ref HEAD' in directory '/var/nodeapps/repo'
[INFO ] Executing command 'git ls-remote -h git@github.com:jness/repo.git develop | cut -f 1' in directory '/var/nodeapps/repo'
[INFO ] No changes made for git@github.com:jness/repo.git
[INFO ] Completed state [git@github.com:jness/repo.git] at time 10:28:49.196890
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment