|
|
|
@ -29,6 +29,25 @@ fire update event:
|
|
|
|
|
name: "{{ build_name }}" |
|
|
|
|
id: "{{ build_id }}" |
|
|
|
|
|
|
|
|
|
reset pillar checkout: |
|
|
|
|
salt.function: |
|
|
|
|
- name: git.reset |
|
|
|
|
- tgt: "roles:salt_master" |
|
|
|
|
- tgt_type: "grain" |
|
|
|
|
- kwarg: |
|
|
|
|
cwd: /srv/salt/pillars |
|
|
|
|
identity: "{{ salt.pillar.get("saltbox:master:pillar:git_pillar_privkey") }}" |
|
|
|
|
opts: "--hard origin/master" |
|
|
|
|
|
|
|
|
|
update pillar checkout: |
|
|
|
|
salt.function: |
|
|
|
|
- name: git.pull |
|
|
|
|
- tgt: "roles:salt_master" |
|
|
|
|
- tgt_type: "grain" |
|
|
|
|
- kwarg: |
|
|
|
|
cwd: /srv/salt/pillars |
|
|
|
|
identity: "{{ salt.pillar.get("saltbox:master:pillar:git_pillar_privkey") }}" |
|
|
|
|
|
|
|
|
|
clear git locks: |
|
|
|
|
salt.runner: |
|
|
|
|
- name: cache.clear_git_lock |
|
|
|
|