Handle package builds when testing in rdoinfo

rdoinfo is branchless and to test reviews under
non-master branches, we need to treat rdoinfo
specially.

Also use zuul.override_checkout if defined to build
zuul_deps.

Change-Id: I44353e7308d2eab56e986d0f2f6fb3a80a25b227
This commit is contained in:
fpantano 2019-04-04 10:16:33 +02:00 committed by yatinkarel
parent 219d1a3bce
commit 6053122a25
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@
zuul_deps:
host: "{{ lookup('env', 'ZUUL_URL')|default('https://review.opendev.org', true) }}"
changes: "{{ lookup('env', 'ZUUL_CHANGES') }}"
branch: "{{ lookup('env', 'ZUUL_BRANCH') }}"
branch: "{{ zuul.override_checkout | default(lookup('env', 'ZUUL_BRANCH')) }}"
when: zuul_changes != "" # noqa 602
- name: Add Zuul changes to the change list
@ -221,7 +221,7 @@
when:
- '"-distgit" not in item.project'
- item.project not in artg_skipped_projects
- release in item.branch
- release in item.branch or (zuul.project.name | default("") == "rdoinfo")
- name: Run DLRN
shell: >