From ae1a4d1ba615207243aff5876e4a8316560459d1 Mon Sep 17 00:00:00 2001 From: Matthieu Huin Date: Feb 18 2021 11:13:34 +0000 Subject: Fine tune git review config --- diff --git a/tests/configure_zuul_jobs.yml b/tests/configure_zuul_jobs.yml index 1c6848b..8dd4a34 100644 --- a/tests/configure_zuul_jobs.yml +++ b/tests/configure_zuul_jobs.yml @@ -84,7 +84,7 @@ shell: mktemp -d register: commit_tmp - name: checkout test-repo - shell: git clone ssh://gerrit/test-repo + shell: git clone ssh://admin@gerrit/test-repo args: chdir: "{{ commit_tmp.stdout }}" become: true @@ -93,8 +93,9 @@ executable: /bin/sh chdir: "{{ commit_tmp.stdout }}/test-repo" cmd: | - git config user.name "Admin" + git config user.name "admin" git config user.email "admin@example.com" + git config gitreview.username "admin" touch myfile git add myfile git commit -m "Add myfile" diff --git a/tests/create_gerrit_project.yml b/tests/create_gerrit_project.yml index 90cd99a..93ae24e 100644 --- a/tests/create_gerrit_project.yml +++ b/tests/create_gerrit_project.yml @@ -26,8 +26,7 @@ git config user.email "admin@example.com" cat >.gitreview <