Created
January 9, 2014 20:43
-
-
Save anonymous/8341656 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
repo_cr_ots: | |
git.latest: | |
- name: ssh://git_user@server/usr/local/git/ots.git | |
- target: /var/www/ots | |
- rev: {{ revision }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal_reset_ots: | |
cmd.run: | |
- name: "cd /var/www/ots; git reset --hard HEAD^" | |
include: | |
- repo.cr.internal | |
extend: | |
repo_cr_ots: | |
git.latest: | |
- force: True | |
- force_checkout: True | |
require: | |
- internal_reset_ots |
gravyboat
commented
Jan 9, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment