7cd38e82d6
As the base job (unittests job) moved to the ubuntu-jammy nodeset, requirement-checks job also start running on ubuntu-jammy which is right thing for master but for stable branch also it run on ubuntu-jammy which is incorrect and start failing: - https://zuul.opendev.org/t/openstack/build/811ca9311b894b97bfae4438070e5e22 Setting the correct nodeset as per the master/stable branch. Change-Id: Ie676079c0b798335ab2a82c03fe4715e0eee4d57
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
- project-template:
|
|
name: check-requirements
|
|
check:
|
|
jobs:
|
|
- requirements-check
|
|
gate:
|
|
jobs:
|
|
- requirements-check
|
|
|
|
- job:
|
|
name: requirements-check
|
|
parent: unittests
|
|
# NOTE(gmann): Update the nodeset if we move testing to the new version
|
|
# of ubuntu. We are explicitly setting the nodeset here because the base
|
|
# job (unittests) moving to the ubuntu latest version can break this
|
|
# job on stable branch (as this job on stable branch will start running on
|
|
# ubuntu latest version). This nodeset setting will avoid such breaking
|
|
# on stable branch and make sure it continue to run on the supported ubuntu
|
|
# version on stable branches.
|
|
nodeset: ubuntu-jammy
|
|
run: playbooks/requirements-check.yaml
|
|
required-projects:
|
|
- openstack/requirements
|
|
files:
|
|
- ^tools/.*-requires$
|
|
- ^.*requirements.txt$
|
|
- ^.*requirements-py[2,3].txt$
|
|
- ^doc/requirements.txt$
|
|
- playbooks/requirements-check.yaml
|
|
- ^lower-constraints.txt$
|