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 56
56
bindep_profile : test py38
57
57
timeout : 3600
58
58
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
+
59
70
- job :
60
71
name : nova-live-migration
61
72
parent : tempest-multinode-full-py3
424
435
- nova-lvm
425
436
- nova-multi-cell
426
437
- nova-next
438
+ - nova-tox-validate-backport :
439
+ voting : false
427
440
- nova-tox-functional-py38
428
441
- tempest-integrated-compute :
429
442
# NOTE(gmann): Policies changes do not need to run all the
462
475
- nova-tox-functional-py38
463
476
- nova-multi-cell
464
477
- nova-next
478
+ - nova-tox-validate-backport
465
479
- nova-ceph-multistore :
466
480
irrelevant-files : *dsvm-irrelevant-files
467
481
- 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 @@ -49,16 +49,13 @@ commands =
49
49
description =
50
50
Run style checks.
51
51
envdir = {toxworkdir}/shared
52
- passenv =
53
- DISABLE_CHERRY_PICK_CHECK
54
52
commands =
55
53
{[testenv:mypy]commands}
56
54
bash tools/flake8wrap.sh {posargs}
57
55
# Check that all JSON files don't have \r\n in line.
58
56
bash -c " ! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
59
57
# Check that all included JSON files are valid JSON
60
58
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
62
59
63
60
[testenv:fast8]
64
61
description =
@@ -67,6 +64,15 @@ envdir = {toxworkdir}/shared
67
64
commands =
68
65
bash tools/flake8wrap.sh -HEAD
69
66
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
+
70
76
[testenv:functional]
71
77
description =
72
78
Run functional tests using python3.
You can’t perform that action at this time.
0 commit comments