Rebase patch in reproducing as zuul does in CI

When we clone patches in CI with Zuul, it rebases them to latest
branch, so that we have always the latest code.
Reproducer should reproduce job exactly as it's in Ci, so let's
rebase patch when we clone it. It also ensures that we'll install
it because it'll have higher version that installed one and we'll
check the patch, not just latest master.

Change-Id: I3ee9382ccb85b5af06f1b0e1ddba1dc496cf04f4
This commit is contained in:
Sagi Shnaidman 2018-09-04 00:04:09 +03:00
parent 6f5f096946
commit a020183378
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@
cd $dir
git fetch {{ repo_item }} $refs && git cherry-pick --allow-empty FETCH_HEAD
fi
git rebase {{ stable_release|default('master', true) }}
with_items: "{{ zuul_changes_list }}"
when:
- proj in item