File tree Expand file tree Collapse file tree 3 files changed +24
-9
lines changed Expand file tree Collapse file tree 3 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 50
50
bindep_profile : test py39
51
51
timeout : 3600
52
52
53
+ - job :
54
+ name : nova-tox-validate-backport
55
+ parent : openstack-tox
56
+ description : |
57
+ Determine whether a backport is ready to be merged by checking whether it
58
+ has already been merged to master or more recent stable branches.
59
+
60
+ Uses tox with the ``validate-backport`` environment.
61
+ vars :
62
+ tox_envlist : validate-backport
63
+
53
64
- job :
54
65
name : nova-live-migration
55
66
parent : tempest-multinode-full-py3
159
170
# Disable non-essential services that we don't need for this job.
160
171
c-bak : false
161
172
162
- # TODO(lucasagomes): Move this job to ML2/OVN when QoS Minimum Bandwidth
173
+ # TODO(lucasagomes): Move this job to ML2/OVN when QoS Minimum Bandwidth
163
174
# support is implemented.
164
175
# See: https://docs.openstack.org/neutron/latest/ovn/gaps.html
165
176
- job :
494
505
- nova-lvm
495
506
- nova-multi-cell
496
507
- nova-next
508
+ - nova-tox-validate-backport :
509
+ voting : false
497
510
- nova-tox-functional-py38
498
511
- nova-tox-functional-py39 :
499
512
voting : false
535
548
- nova-tox-functional-py38
536
549
- nova-multi-cell
537
550
- nova-next
551
+ - nova-tox-validate-backport
538
552
- nova-ceph-multistore :
539
553
irrelevant-files : *nova-base-irrelevant-files
540
554
- neutron-tempest-linuxbridge :
Original file line number Diff line number Diff line change 4
4
# to verify that they're all on either master or stable/ branches
5
5
#
6
6
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
-
12
7
commit_hash=" "
13
8
14
9
# 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 =
51
51
description =
52
52
Run style checks.
53
53
envdir = {toxworkdir}/shared
54
- passenv =
55
- DISABLE_CHERRY_PICK_CHECK
56
54
commands =
57
55
{[testenv:mypy]commands}
58
56
bash tools/flake8wrap.sh {posargs}
59
57
# Check that all JSON files don't have \r\n in line.
60
58
bash -c " ! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
61
59
# Check that all included JSON files are valid JSON
62
60
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
64
61
65
62
[testenv:fast8]
66
63
description =
@@ -69,6 +66,15 @@ envdir = {toxworkdir}/shared
69
66
commands =
70
67
bash tools/flake8wrap.sh -HEAD
71
68
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
+
72
78
[testenv:functional]
73
79
description =
74
80
Run functional tests using python3.
You can’t perform that action at this time.
0 commit comments