File tree Expand file tree Collapse file tree 3 files changed +23
-8
lines changed
Expand file tree Collapse file tree 3 files changed +23
-8
lines changed Original file line number Diff line number Diff line change 5656 bindep_profile : test py38
5757 timeout : 3600
5858
59+ - job :
60+ name : nova-tox-validate-backport
61+ parent : openstack-tox
62+ description : |
63+ Determine whether a backport is ready to be merged by checking whether it
64+ has already been merged to master or more recent stable branches.
65+
66+ Uses tox with the ``validate-backport`` environment.
67+ vars :
68+ tox_envlist : validate-backport
69+
5970- job :
6071 name : nova-live-migration
6172 parent : tempest-multinode-full-py3
424435 - nova-lvm
425436 - nova-multi-cell
426437 - nova-next
438+ - nova-tox-validate-backport :
439+ voting : false
427440 - nova-tox-functional-py38
428441 - tempest-integrated-compute :
429442 # NOTE(gmann): Policies changes do not need to run all the
462475 - nova-tox-functional-py38
463476 - nova-multi-cell
464477 - nova-next
478+ - nova-tox-validate-backport
465479 - nova-ceph-multistore :
466480 irrelevant-files : *dsvm-irrelevant-files
467481 - neutron-tempest-linuxbridge :
Original file line number Diff line number Diff line change 44# to verify that they're all on either master or stable/ branches
55#
66
7- # Allow this script to be disabled by a simple env var
8- if [ ${DISABLE_CHERRY_PICK_CHECK:- 0} -eq 1 ]; then
9- exit 0
10- fi
11-
127commit_hash=" "
138
149# Check if the patch is a merge patch by counting the number of parents.
Original file line number Diff line number Diff line change @@ -49,16 +49,13 @@ commands =
4949description =
5050 Run style checks.
5151envdir = {toxworkdir}/shared
52- passenv =
53- DISABLE_CHERRY_PICK_CHECK
5452commands =
5553 {[testenv:mypy]commands}
5654 bash tools/flake8wrap.sh {posargs}
5755 # Check that all JSON files don't have \r\n in line.
5856 bash -c " ! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
5957 # Check that all included JSON files are valid JSON
6058 bash -c ' ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
61- bash tools/check-cherry-picks.sh
6259
6360[testenv:fast8]
6461description =
@@ -67,6 +64,15 @@ envdir = {toxworkdir}/shared
6764commands =
6865 bash tools/flake8wrap.sh -HEAD
6966
67+ [testenv:validate-backport]
68+ description =
69+ Determine whether a backport is ready to be merged by checking whether it has
70+ already been merged to master or more recent stable branches.
71+ deps =
72+ skipsdist = true
73+ commands =
74+ bash tools/check-cherry-picks.sh
75+
7076[testenv:functional]
7177description =
7278 Run functional tests using python3.
You can’t perform that action at this time.
0 commit comments