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 7878 bindep_profile : test py39
7979 timeout : 3600
8080
81+ - job :
82+ name : nova-tox-validate-backport
83+ parent : openstack-tox
84+ description : |
85+ Determine whether a backport is ready to be merged by checking whether it
86+ has already been merged to master or more recent stable branches.
87+
88+ Uses tox with the ``validate-backport`` environment.
89+ vars :
90+ tox_envlist : validate-backport
91+
8192- job :
8293 name : nova-live-migration
8394 parent : tempest-multinode-full-py3
460471 - nova-lvm
461472 - nova-multi-cell
462473 - nova-next
474+ - nova-tox-validate-backport :
475+ voting : false
463476 - nova-tox-functional-py38
464477 - nova-tox-functional-py39 :
465478 voting : false
500513 - nova-tox-functional-py38
501514 - nova-multi-cell
502515 - nova-next
516+ - nova-tox-validate-backport
503517 - nova-ceph-multistore :
504518 irrelevant-files : *dsvm-irrelevant-files
505519 - 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 @@ -51,16 +51,13 @@ commands =
5151description =
5252 Run style checks.
5353envdir = {toxworkdir}/shared
54- passenv =
55- DISABLE_CHERRY_PICK_CHECK
5654commands =
5755 {[testenv:mypy]commands}
5856 bash tools/flake8wrap.sh {posargs}
5957 # Check that all JSON files don't have \r\n in line.
6058 bash -c " ! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
6159 # Check that all included JSON files are valid JSON
6260 bash -c ' ! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
63- bash tools/check-cherry-picks.sh
6461
6562[testenv:fast8]
6663description =
@@ -69,6 +66,15 @@ envdir = {toxworkdir}/shared
6966commands =
7067 bash tools/flake8wrap.sh -HEAD
7168
69+ [testenv:validate-backport]
70+ description =
71+ Determine whether a backport is ready to be merged by checking whether it has
72+ already been merged to master or more recent stable branches.
73+ deps =
74+ skipsdist = true
75+ commands =
76+ bash tools/check-cherry-picks.sh
77+
7278[testenv:functional]
7379description =
7480 Run functional tests using python3.
You can’t perform that action at this time.
0 commit comments