From 9d08e68a2dc446026017562652fed4ebe69e1ccd Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Sat, 11 Jul 2020 22:11:08 +0000 Subject: [PATCH 1/1] bugfix: Set git folder for recording repo shas Change-Id: I38aa63be3becc39e4dc0673c90779944e8cd8820 --- playbooks/roles/package/tasks/record-shas.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/playbooks/roles/package/tasks/record-shas.yaml b/playbooks/roles/package/tasks/record-shas.yaml index 36501bd..ffe5351 100644 --- a/playbooks/roles/package/tasks/record-shas.yaml +++ b/playbooks/roles/package/tasks/record-shas.yaml @@ -30,7 +30,7 @@ - engine-bifrost - engine args: - chdir: "/tmp/autorelease/git/{{ item }}" + chdir: "{{ git_folder }}/{{ item }}" 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 }}" -- 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 -- 2.25.1