Enable Reuse of Zuul Job in 3rd Party CI Environment

At current Zuul job in zuul.d/ironic-jobs.yaml, items of
required-project are like this (without leading hostname)

    required-projects:
      - openstack/ironic
      - openstack/ABCD

but not like this (with leading hostname)

    required-projects:
      - opendev.org/openstack/ironic
      - opendev.org/openstack/ABCD

With first format, if we have two openstack/ironic entries in
Zuul's tenant configuration file (Zuul tenant config file in 3rd
party CI environment usually has 2 entries: one to fetch upstream
code, another for Gerrit event stream to trigger Zuul job), we'll
have warning in zuul-scheduler's log

    Project name 'openstack/ironic' is ambiguous,
    please fully qualify the project with a hostname

With second format, that warning doesn't appear. And Zuul running at
3rd party CI environment can reuse Zuul jobs in zuul.d/ironic-jobs.yaml
in their Zuul jobs.

This commit modifies all Zuul jobs in zuul.d/ironic-jobs.yaml
to use second format.

Story: 2008724
Task: 42068
Change-Id: I85adf3c8b3deaf0d1b2d58dcd82724c7e412e2db
This commit is contained in:
Vanou Ishii 2021-03-17 14:42:58 +09:00
parent e058a5a3a1
commit d6dd05ab12

View File

@ -7,11 +7,11 @@
post-run: playbooks/ci-workarounds/get_tftpd.yaml post-run: playbooks/ci-workarounds/get_tftpd.yaml
timeout: 10800 timeout: 10800
required-projects: required-projects:
- openstack/ironic - opendev.org/openstack/ironic
- openstack/ironic-python-agent - opendev.org/openstack/ironic-python-agent
- openstack/ironic-python-agent-builder - opendev.org/openstack/ironic-python-agent-builder
- openstack/ironic-tempest-plugin - opendev.org/openstack/ironic-tempest-plugin
- openstack/virtualbmc - opendev.org/openstack/virtualbmc
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^api-ref/.*$ - ^api-ref/.*$
@ -149,7 +149,7 @@
Test ironic standalone configured with redfish hardware type, iscsi and Test ironic standalone configured with redfish hardware type, iscsi and
direct and ansible deploy interfaces, rescue it's not enabled. direct and ansible deploy interfaces, rescue it's not enabled.
required-projects: required-projects:
- openstack/sushy-tools - opendev.org/openstack/sushy-tools
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^api-ref/.*$ - ^api-ref/.*$
@ -206,7 +206,7 @@
description: "Deploy ironic node over PXE using BIOS boot mode" description: "Deploy ironic node over PXE using BIOS boot mode"
parent: ironic-base parent: ironic-base
required-projects: required-projects:
- openstack/sushy-tools - opendev.org/openstack/sushy-tools
vars: vars:
devstack_localrc: devstack_localrc:
IRONIC_DEPLOY_DRIVER: redfish IRONIC_DEPLOY_DRIVER: redfish
@ -242,7 +242,7 @@
description: "Inspect and deploy ironic node over Redfish virtual media using legacy BIOS boot mode" description: "Inspect and deploy ironic node over Redfish virtual media using legacy BIOS boot mode"
parent: ironic-tempest-partition-uefi-redfish-vmedia parent: ironic-tempest-partition-uefi-redfish-vmedia
required-projects: required-projects:
- openstack/ironic-inspector - opendev.org/openstack/ironic-inspector
vars: vars:
# NOTE(dtantsur): the inspector job includes booting an instance too. # NOTE(dtantsur): the inspector job includes booting an instance too.
# Excluding the abort tests since it hits "node locked" too often. # Excluding the abort tests since it hits "node locked" too often.
@ -356,7 +356,7 @@
description: ironic-inspector-tempest description: ironic-inspector-tempest
parent: ironic-base parent: ironic-base
required-projects: required-projects:
- openstack/ironic-inspector - opendev.org/openstack/ironic-inspector
vars: vars:
tempest_test_regex: InspectorBasicTest tempest_test_regex: InspectorBasicTest
devstack_localrc: devstack_localrc:
@ -418,12 +418,12 @@
nodeset: openstack-two-node-focal nodeset: openstack-two-node-focal
pre-run: playbooks/ci-workarounds/pre.yaml pre-run: playbooks/ci-workarounds/pre.yaml
required-projects: required-projects:
- openstack/ironic - opendev.org/openstack/ironic
- openstack/ironic-python-agent - opendev.org/openstack/ironic-python-agent
- openstack/ironic-python-agent-builder - opendev.org/openstack/ironic-python-agent-builder
- openstack/ironic-tempest-plugin - opendev.org/openstack/ironic-tempest-plugin
- openstack/virtualbmc - opendev.org/openstack/virtualbmc
- openstack/networking-generic-switch - opendev.org/openstack/networking-generic-switch
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^api-ref/.*$ - ^api-ref/.*$
@ -623,7 +623,7 @@
vars: vars:
tox_envlist: bandit tox_envlist: bandit
required-projects: required-projects:
- openstack/ironic - opendev.org/openstack/ironic
irrelevant-files: irrelevant-files:
- ^.*\.rst$ - ^.*\.rst$
- ^api-ref/.*$ - ^api-ref/.*$
@ -660,7 +660,7 @@
description: ironic-tempest-ipxe-ipv6 description: ironic-tempest-ipxe-ipv6
parent: ironic-base parent: ironic-base
required-projects: required-projects:
- openstack/networking-generic-switch - opendev.org/openstack/networking-generic-switch
vars: vars:
tempest_test_timeout: 2400 tempest_test_timeout: 2400
devstack_services: devstack_services:
@ -759,12 +759,12 @@
- ^tools/.*$ - ^tools/.*$
- ^tox.ini$ - ^tox.ini$
required-projects: required-projects:
- openstack/grenade - opendev.org/openstack/grenade
- openstack/ironic - opendev.org/openstack/ironic
- openstack/ironic-python-agent - opendev.org/openstack/ironic-python-agent
- openstack/ironic-python-agent-builder - opendev.org/openstack/ironic-python-agent-builder
- openstack/ironic-tempest-plugin - opendev.org/openstack/ironic-tempest-plugin
- openstack/virtualbmc - opendev.org/openstack/virtualbmc
vars: vars:
grenade_devstack_localrc: grenade_devstack_localrc:
shared: shared:
@ -833,15 +833,15 @@
- ^tools/.*$ - ^tools/.*$
- ^tox.ini$ - ^tox.ini$
required-projects: required-projects:
- openstack/grenade - opendev.org/openstack/grenade
- openstack/ironic - opendev.org/openstack/ironic
- openstack/ironic-lib - opendev.org/openstack/ironic-lib
- openstack/ironic-python-agent - opendev.org/openstack/ironic-python-agent
- openstack/ironic-python-agent-builder - opendev.org/openstack/ironic-python-agent-builder
- openstack/ironic-tempest-plugin - opendev.org/openstack/ironic-tempest-plugin
- openstack/networking-generic-switch - opendev.org/openstack/networking-generic-switch
- openstack/python-ironicclient - opendev.org/openstack/python-ironicclient
- openstack/virtualbmc - opendev.org/openstack/virtualbmc
vars: vars:
grenade_devstack_localrc: grenade_devstack_localrc:
shared: shared: