diff --git a/tests/configure_zuul_jobs.yml b/tests/configure_zuul_jobs.yml index a904007..1c6848b 100644 --- a/tests/configure_zuul_jobs.yml +++ b/tests/configure_zuul_jobs.yml @@ -84,19 +84,21 @@ shell: mktemp -d register: commit_tmp - name: checkout test-repo - chdir: "{{ commit_tmp.stdout }}" - cmd: | - git clone ssh://gerrit/test-repo + shell: git clone ssh://gerrit/test-repo + args: + chdir: "{{ commit_tmp.stdout }}" become: true - name: patch test-repo - chdir: "{{ commit_tmp.stdout }}/test-repo" - cmd: | - git config user.name "Admin" - git config user.email "admin@example.com" - touch myfile - git add myfile - git commit -m "Add myfile" - git review + shell: + executable: /bin/sh + chdir: "{{ commit_tmp.stdout }}/test-repo" + cmd: | + git config user.name "Admin" + git config user.email "admin@example.com" + touch myfile + git add myfile + git commit -m "Add myfile" + git review become: true - name: Give some time to Zuul to trigger and execute the job