Merge "Move 'check-cherry-picks' test to gate, n-v check"
This commit is contained in:
commit
a0ec2de968
16
.zuul.yaml
16
.zuul.yaml
@ -50,6 +50,17 @@
|
|||||||
bindep_profile: test py39
|
bindep_profile: test py39
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: nova-tox-validate-backport
|
||||||
|
parent: openstack-tox
|
||||||
|
description: |
|
||||||
|
Determine whether a backport is ready to be merged by checking whether it
|
||||||
|
has already been merged to master or more recent stable branches.
|
||||||
|
|
||||||
|
Uses tox with the ``validate-backport`` environment.
|
||||||
|
vars:
|
||||||
|
tox_envlist: validate-backport
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: nova-live-migration
|
name: nova-live-migration
|
||||||
parent: tempest-multinode-full-py3
|
parent: tempest-multinode-full-py3
|
||||||
@ -159,7 +170,7 @@
|
|||||||
# Disable non-essential services that we don't need for this job.
|
# Disable non-essential services that we don't need for this job.
|
||||||
c-bak: false
|
c-bak: false
|
||||||
|
|
||||||
#TODO(lucasagomes): Move this job to ML2/OVN when QoS Minimum Bandwidth
|
# TODO(lucasagomes): Move this job to ML2/OVN when QoS Minimum Bandwidth
|
||||||
# support is implemented.
|
# support is implemented.
|
||||||
# See: https://docs.openstack.org/neutron/latest/ovn/gaps.html
|
# See: https://docs.openstack.org/neutron/latest/ovn/gaps.html
|
||||||
- job:
|
- job:
|
||||||
@ -494,6 +505,8 @@
|
|||||||
- nova-lvm
|
- nova-lvm
|
||||||
- nova-multi-cell
|
- nova-multi-cell
|
||||||
- nova-next
|
- nova-next
|
||||||
|
- nova-tox-validate-backport:
|
||||||
|
voting: false
|
||||||
- nova-tox-functional-py38
|
- nova-tox-functional-py38
|
||||||
- nova-tox-functional-py39:
|
- nova-tox-functional-py39:
|
||||||
voting: false
|
voting: false
|
||||||
@ -535,6 +548,7 @@
|
|||||||
- nova-tox-functional-py38
|
- nova-tox-functional-py38
|
||||||
- nova-multi-cell
|
- nova-multi-cell
|
||||||
- nova-next
|
- nova-next
|
||||||
|
- nova-tox-validate-backport
|
||||||
- nova-ceph-multistore:
|
- nova-ceph-multistore:
|
||||||
irrelevant-files: *nova-base-irrelevant-files
|
irrelevant-files: *nova-base-irrelevant-files
|
||||||
- neutron-tempest-linuxbridge:
|
- neutron-tempest-linuxbridge:
|
||||||
|
@ -4,11 +4,6 @@
|
|||||||
# to verify that they're all on either master or stable/ branches
|
# to verify that they're all on either master or stable/ branches
|
||||||
#
|
#
|
||||||
|
|
||||||
# Allow this script to be disabled by a simple env var
|
|
||||||
if [ ${DISABLE_CHERRY_PICK_CHECK:-0} -eq 1 ]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
commit_hash=""
|
commit_hash=""
|
||||||
|
|
||||||
# Check if the patch is a merge patch by counting the number of parents.
|
# Check if the patch is a merge patch by counting the number of parents.
|
||||||
|
12
tox.ini
12
tox.ini
@ -51,8 +51,6 @@ commands =
|
|||||||
description =
|
description =
|
||||||
Run style checks.
|
Run style checks.
|
||||||
envdir = {toxworkdir}/shared
|
envdir = {toxworkdir}/shared
|
||||||
passenv =
|
|
||||||
DISABLE_CHERRY_PICK_CHECK
|
|
||||||
commands =
|
commands =
|
||||||
{[testenv:mypy]commands}
|
{[testenv:mypy]commands}
|
||||||
bash tools/flake8wrap.sh {posargs}
|
bash tools/flake8wrap.sh {posargs}
|
||||||
@ -60,7 +58,6 @@ commands =
|
|||||||
bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
|
bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
|
||||||
# Check that all included JSON files are valid JSON
|
# Check that all included JSON files are valid JSON
|
||||||
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
|
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
|
||||||
bash tools/check-cherry-picks.sh
|
|
||||||
|
|
||||||
[testenv:fast8]
|
[testenv:fast8]
|
||||||
description =
|
description =
|
||||||
@ -69,6 +66,15 @@ envdir = {toxworkdir}/shared
|
|||||||
commands =
|
commands =
|
||||||
bash tools/flake8wrap.sh -HEAD
|
bash tools/flake8wrap.sh -HEAD
|
||||||
|
|
||||||
|
[testenv:validate-backport]
|
||||||
|
description =
|
||||||
|
Determine whether a backport is ready to be merged by checking whether it has
|
||||||
|
already been merged to master or more recent stable branches.
|
||||||
|
deps =
|
||||||
|
skipsdist = true
|
||||||
|
commands =
|
||||||
|
bash tools/check-cherry-picks.sh
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
description =
|
description =
|
||||||
Run functional tests using python3.
|
Run functional tests using python3.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user