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 78
78
bindep_profile : test py39
79
79
timeout : 3600
80
80
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
+
81
92
- job :
82
93
name : nova-live-migration
83
94
parent : tempest-multinode-full-py3
460
471
- nova-lvm
461
472
- nova-multi-cell
462
473
- nova-next
474
+ - nova-tox-validate-backport :
475
+ voting : false
463
476
- nova-tox-functional-py38
464
477
- nova-tox-functional-py39 :
465
478
voting : false
500
513
- nova-tox-functional-py38
501
514
- nova-multi-cell
502
515
- nova-next
516
+ - nova-tox-validate-backport
503
517
- nova-ceph-multistore :
504
518
irrelevant-files : *dsvm-irrelevant-files
505
519
- 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