Code Review
/
infra
/
stack
/
kubernetes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ceph: disable dashboard
[infra/stack/kubernetes.git]
/
playbooks
/
roles
/
package
/
tasks
/
record-shas.yaml
diff --git
a/playbooks/roles/package/tasks/record-shas.yaml
b/playbooks/roles/package/tasks/record-shas.yaml
index 36501bd82e50c876a1067b658960727e93e38c46..ffe5351dd1bffd3d8a8227616308be9d374c82e6 100644
(file)
--- a/
playbooks/roles/package/tasks/record-shas.yaml
+++ b/
playbooks/roles/package/tasks/record-shas.yaml
@@
-30,7
+30,7
@@
- engine-bifrost
- engine
args:
- engine-bifrost
- engine
args:
- chdir: "
/tmp/autorelease/git
/{{ item }}"
+ chdir: "
{{ git_folder }}
/{{ item }}"
changed_when: false
- name: Populate dictionary to map repos to shas
changed_when: false
- name: Populate dictionary to map repos to shas
@@
-38,11
+38,6
@@
repos_shas: "{{ repos_shas|default({}) | combine( {item.item | upper | replace('-', '_') + '_SHA': item.stdout} ) }}"
with_items: "{{ commit_shas.results }}"
repos_shas: "{{ repos_shas|default({}) | combine( {item.item | upper | replace('-', '_') + '_SHA': item.stdout} ) }}"
with_items: "{{ commit_shas.results }}"
-- name: Log repos and shas to console
- debug:
- msg: "{{ item.key }}={{ item.value }}"
- with_dict: "{{ repos_shas }}"
-
- name: Record git SHAs to /tmp/release.properties file
lineinfile:
path: /tmp/release.properties
- name: Record git SHAs to /tmp/release.properties file
lineinfile:
path: /tmp/release.properties