Add tox env for update-test-platforms

It seems some versions of ruamel do a better job at preserving
comments than others.  Create a tox env to regenerate the lists with a
version we know works.

Change-Id: I13503890fd3c18487281e3394b003e9f36cd24f2
This commit is contained in:
Ian Wienand 2020-02-07 09:56:20 +11:00
parent d99dc2de67
commit 39bebd1623
10 changed files with 21 additions and 9 deletions

View File

@ -75,3 +75,10 @@ exclude =
# vendored files
roles/use-buildset-registry/module_utils/pytoml.py,
roles/use-buildset-registry/module_utils/remarshal.py
[testenv:update-test-platforms]
basepython = python3
deps =
ruamel.yaml>=0.16.7
commands =
python ./tools/update-test-platforms.py

View File

@ -9,7 +9,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -207,7 +207,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -462,7 +462,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -10,6 +10,11 @@
vars:
go_command: version
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:
check:
jobs: &id001

View File

@ -12,7 +12,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -9,7 +9,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -13,7 +13,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -9,7 +9,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- project:

View File

@ -19,7 +19,7 @@
# -* AUTOGENERATED *-
# The following project section is autogenerated by
# tools/update-test-platforms.py
# tox -e update-test-platforms
# Please re-run to generate new job lists
- job: