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:
parent
219d1a3bce
commit
6053122a25
@ -203,7 +203,7 @@
|
|||||||
zuul_deps:
|
zuul_deps:
|
||||||
host: "{{ lookup('env', 'ZUUL_URL')|default('https://review.opendev.org', true) }}"
|
host: "{{ lookup('env', 'ZUUL_URL')|default('https://review.opendev.org', true) }}"
|
||||||
changes: "{{ lookup('env', 'ZUUL_CHANGES') }}"
|
changes: "{{ lookup('env', 'ZUUL_CHANGES') }}"
|
||||||
branch: "{{ lookup('env', 'ZUUL_BRANCH') }}"
|
branch: "{{ zuul.override_checkout | default(lookup('env', 'ZUUL_BRANCH')) }}"
|
||||||
when: zuul_changes != "" # noqa 602
|
when: zuul_changes != "" # noqa 602
|
||||||
|
|
||||||
- name: Add Zuul changes to the change list
|
- name: Add Zuul changes to the change list
|
||||||
@ -221,7 +221,7 @@
|
|||||||
when:
|
when:
|
||||||
- '"-distgit" not in item.project'
|
- '"-distgit" not in item.project'
|
||||||
- item.project not in artg_skipped_projects
|
- item.project not in artg_skipped_projects
|
||||||
- release in item.branch
|
- release in item.branch or (zuul.project.name | default("") == "rdoinfo")
|
||||||
|
|
||||||
- name: Run DLRN
|
- name: Run DLRN
|
||||||
shell: >
|
shell: >
|
||||||
|
Loading…
Reference in New Issue
Block a user