zuul-jobs/roles
Clark Boylan cf678365af Pin tox to <4 in ensure-tox installation
Tox v4 just released and has a number of breaking changes. One of which
(yet to be properly identified) has completely broken Zuul's tox
siblings processing and produces errors like:

  Traceback (most recent call last):
    File "<stdin>", line 107, in <module>
    File "<stdin>", line 99, in _ansiballz_main
    File "<stdin>", line 47, in invoke_module
    File "/usr/lib/python3.10/runpy.py", line 224, in run_module
      return _run_module_code(code, init_globals, run_name, mod_spec)
    File "/usr/lib/python3.10/runpy.py", line 96, in _run_module_code
      _run_code(code, mod_globals, init_globals,
    File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
      exec(code, run_globals)
    File "/tmp/ansible_tox_install_sibling_packages_payload_0af4x4lc/ansible_tox_install_sibling_packages_payload.zip/ansible/modules/tox_install_sibling_packages.py", line 397, in <module>
    File "/tmp/ansible_tox_install_sibling_packages_payload_0af4x4lc/ansible_tox_install_sibling_packages_payload.zip/ansible/modules/tox_install_sibling_packages.py", line 328, in main
    File "/usr/lib/python3.10/configparser.py", line 724, in read_string
      self.read_file(sfile, source)
    File "/usr/lib/python3.10/configparser.py", line 719, in read_file
      self._read(f, source)
    File "/usr/lib/python3.10/configparser.py", line 1097, in _read
      raise DuplicateOptionError(sectname, optname,
  configparser.DuplicateOptionError: While reading from '<string>' [line 45]: option 'root' in section 'testenv:docs' already exists

Let's pin tox for now and a change that removes the pin can also fix tox
siblings (the change to remove the pin should be self testing
thankfully).

Also we make the zuul-tox-docs job temporarily non voting as it runs
ensure-tox non speculatively out of the opendev/base-jobs repo. We have
plenty of tox jobs runing against this changeto show it should work
fine.

Change-Id: Idcebd397f47cfef718721d2576cb43dbdb70801d
2022-12-07 11:31:44 -08:00
..
add-authorized-keys Check for loop_control in with_ type loops 2020-05-01 13:45:34 +02:00
add-build-sshkey Document algorithm var for remove-build-sshkey 2021-04-01 15:29:01 +00:00
add-build-winrm-cert Add per-build WinRM cert generation 2022-04-13 15:04:51 -07:00
add-fileserver linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
add-gpgkey add-gpgkey: trust incoming key 2022-05-05 14:40:00 +10:00
add-launchpad-credentials Use Python 3.x with launchpadlib 2020-11-24 01:29:36 +00:00
add-sshkey Add-sshkey: ensure that ssh home directory exists 2020-09-01 14:43:15 +02:00
ansible-galaxy-import linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
ara-report linters: add names to blocks 2022-07-27 17:13:39 +10:00
bazel-build Add Bazel build and ensure roles 2020-04-30 18:05:41 +01:00
bindep Add names to include tasks 2022-11-07 10:37:53 +11:00
build-container-image linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
build-docker-image linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
build-puppet-module Rename install-pdk-dependencies to ensure-pdk-dependencies for consistency 2020-04-04 15:41:29 -04:00
build-python-release build-python-release: Add flag for whether to build a wheel or not 2021-06-08 14:24:44 -07:00
build-releasenotes Run sphinx-build in parallel for releasenotes 2020-05-15 00:35:29 +00:00
buildset-artifacts-location Fix RST formatting 2018-10-13 10:36:36 +02:00
cabal-test cabal-test: add install_args and build_args role var 2021-03-04 07:51:13 +00:00
chart-testing Move chart-testing to a role and disable version check 2020-01-09 11:46:41 -08:00
clear-firewall Add note to clear-firewall docs 2019-07-25 14:29:52 -07:00
collect-container-logs collect-container-logs: don't copy on failure 2021-04-20 12:10:02 +10:00
collect-kubernetes-logs More E208 (22) 2020-11-09 14:40:00 +00:00
configure-mirrors configure-mirrors: fix typo in 9-stream enablement list 2022-09-19 16:16:34 +10:00
copy-build-sshkey Standarise block/when ordering 2022-11-07 10:37:53 +11:00
create-afs-token Be consistent about spaces before and after vars 2019-08-07 20:17:41 +01:00
deploy-openshift More E208 (22) 2020-11-09 14:40:00 +00:00
destroy-afs-token Add create / destory roles for AFS tokens 2017-08-28 13:53:10 -04:00
download-artifact download-artifact: fix missed part of revert 2020-06-05 15:23:58 +10:00
dstat-graph ensure-dstat-graph: pull updated branch 2021-10-22 18:31:10 +11:00
emit-job-header linters: add names to blocks 2022-07-27 17:13:39 +10:00
enable-fips linter: Use capitals for names 2022-11-07 10:37:53 +11:00
enable-netconsole More E208 fixes 2020-11-03 10:04:27 +00:00
encrypt-file Fix encrypt files stat validation 2022-03-17 10:56:13 -07:00
ensure-babel linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
ensure-bazel Allow overriding of Bazel installer checksum 2022-09-30 10:45:31 +02:00
ensure-bazelisk Bump bazelisk version to 1.11.0 2022-05-13 05:05:18 +00:00
ensure-cabal Standarise block/when ordering 2022-11-07 10:37:53 +11:00
ensure-chart-testing Allow customization of helm charts repos 2021-02-18 09:07:06 +00:00
ensure-devstack More E208 (22) 2020-11-09 14:40:00 +00:00
ensure-dhall Remove some temporary files 2020-05-06 07:54:30 +02:00
ensure-docker Add names to include tasks 2022-11-07 10:37:53 +11:00
ensure-dstat-graph ensure-dstat-graph: clone from opendev 2021-12-07 13:04:11 +11:00
ensure-ghc linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
ensure-go linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
ensure-golangci-lint golangci-lint: add job 2020-04-01 17:30:55 -04:00
ensure-haskell-stack Standarise block/when ordering 2022-11-07 10:37:53 +11:00
ensure-helm Bump default Helm version to 2.17.0 2021-06-08 09:40:15 -04:00
ensure-hlint hlint: add haskell source code suggestions job 2020-04-26 12:05:12 +00:00
ensure-if-python linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
ensure-java Ensure-java: update apt cache 2022-08-15 10:54:23 -07:00
ensure-javascript-build-tool Extract ensure-javascript-build-tool role 2020-05-12 07:53:14 +02:00
ensure-javascript-packages linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
ensure-kubernetes enable-kubernetes: Fix jammy install, improve pod test 2022-11-10 10:40:35 +11:00
ensure-markdownlint Add a markdownlint job and role 2020-01-27 12:23:24 +00:00
ensure-nimble linters: add names to blocks 2022-07-27 17:13:39 +10:00
ensure-nodejs More E208 (22) 2020-11-09 14:40:00 +00:00
ensure-openshift Fix ansible-lint name[template] 2022-11-07 10:37:53 +11:00
ensure-output-dirs Partial address ansible-lint E208 2020-09-29 10:29:01 +01:00
ensure-package-repositories Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
ensure-packer linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
ensure-pdk-dependencies Rename install-pdk-dependencies to ensure-pdk-dependencies for consistency 2020-04-04 15:41:29 -04:00
ensure-phoronix-test-suite More E208 (22) 2020-11-09 14:40:00 +00:00
ensure-pip Standarise block/when ordering 2022-11-07 10:37:53 +11:00
ensure-podman ensure-podman/skopeo : update for Jammy 2022-11-07 10:37:33 +11:00
ensure-python ensure-python: pull in venv package on Debuntu 2022-07-26 13:22:19 +10:00
ensure-rust ensure-rust: rework global install 2021-10-04 11:43:22 +11:00
ensure-shake Standarise block/when ordering 2022-11-07 10:37:53 +11:00
ensure-skopeo ensure-podman/skopeo : update for Jammy 2022-11-07 10:37:33 +11:00
ensure-sphinx ensure-sphix: upgrade setuptools in venv 2022-04-13 20:35:46 +05:30
ensure-terraform linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
ensure-tox Pin tox to <4 in ensure-tox installation 2022-12-07 11:31:44 -08:00
ensure-twine Standarise block/when ordering 2022-11-07 10:37:53 +11:00
ensure-virtualenv linter: Use capitals for names 2022-11-07 10:37:53 +11:00
ensure-yarn ensure-yarn: run ensure-nodejs before 2020-05-01 17:07:48 +02:00
ensure-zookeeper ensure-zookeeper: eliminate the tmpfs size limit 2021-10-22 15:32:03 -07:00
fetch-coverage-output linters: add names to blocks 2022-07-27 17:13:39 +10:00
fetch-javascript-content-tarball More E208 (final) 2020-11-10 19:34:45 +00:00
fetch-javascript-output More E208 (final) 2020-11-10 19:34:45 +00:00
fetch-javascript-tarball Standarise block/when ordering 2022-11-07 10:37:53 +11:00
fetch-markdownlint fetch-markdownlint: do not synchronize owner 2020-05-18 17:04:10 +02:00
fetch-output Partial address ansible-lint E208 2020-09-29 10:29:01 +01:00
fetch-output-openshift Add names to include tasks 2022-11-07 10:37:53 +11:00
fetch-phoronix-results fetch-phoronix-results: do not synchronize owner 2020-05-18 17:04:10 +02:00
fetch-puppet-module-output More E208 (final) 2020-11-10 19:34:45 +00:00
fetch-python-sdist-output Partial address ansible-lint E208 2020-09-29 10:29:01 +01:00
fetch-sphinx-output linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
fetch-sphinx-tarball Standarise block/when ordering 2022-11-07 10:37:53 +11:00
fetch-subunit-output linters: add names to blocks 2022-07-27 17:13:39 +10:00
fetch-tox-output linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
fetch-translation-output Standarise block/when ordering 2022-11-07 10:37:53 +11:00
fetch-zuul-cloner More E208 (final) 2020-11-10 19:34:45 +00:00
find-constraints linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
generate-zuul-manifest Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
git-prepare-nodecache Fixes all tasks should be named rule 2021-03-08 13:30:32 +00:00
go Adds go jobs and roles. 2019-11-20 20:27:21 +01:00
golangci-lint Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
haskell-stack-test haskell-stack-test: add build target job variable 2020-05-08 14:11:11 +00:00
helm-lint helm: Add job for linting helm charts 2022-11-16 15:09:07 -08:00
helm-template Fix the checking helm_values_file definition 2020-04-23 14:35:44 -07:00
hlint linters: add names to blocks 2022-07-27 17:13:39 +10:00
htmlify-logs Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
intercept-job linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
js-package-manager Remove --verbose from js_build_command 2020-05-18 11:00:42 -05:00
local-log-download Use braces for 'file' var in download-logs.sh 2020-12-24 01:49:54 +03:00
log-inventory Partial address ansible-lint E208 2020-09-29 10:29:01 +01:00
markdownlint linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
merge-output-to-logs Revert "Refactor fetch-sphinx-tarball to be executor safe" 2020-10-14 13:54:22 -07:00
mirror-workspace-git-repos Correct git config item name in mirror-workspace-git-repos 2022-05-23 13:13:00 -07:00
multi-node-bridge Add names to include tasks 2022-11-07 10:37:53 +11:00
multi-node-firewall Introduce iptables_package var 2022-01-19 15:11:08 +05:30
multi-node-hosts-file Check for loop_control in with_ type loops 2020-05-01 13:45:34 +02:00
multi-node-known-hosts linter: Use capitals for names 2022-11-07 10:37:53 +11:00
nimble linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
nodejs-test-dependencies Add support for nodejs testing on Debian 2022-11-29 16:28:36 +00:00
npm Fixes all tasks should be named rule 2021-03-08 13:30:32 +00:00
packer linters: add names to blocks 2022-07-27 17:13:39 +10:00
pause-buildset-registry Add pause-buildset-registry role 2020-02-24 17:17:12 +00:00
persistent-firewall More E208 fixes 2020-11-02 18:38:54 +00:00
phoronix-combine-results linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
phoronix-test-suite Add phoronix-test-suite job 2020-04-03 13:03:07 +00:00
post-reboot-tasks linter: Use capitals for names 2022-11-07 10:37:53 +11:00
prepare-workspace prepare-workspace: Add Role Variable in README.rst 2020-06-22 21:17:38 +02:00
prepare-workspace-git Reduce the number of loops in prepare-workspace-git 2022-09-22 11:09:05 -07:00
prepare-workspace-openshift Add names to include tasks 2022-11-07 10:37:53 +11:00
promote-docker-image Ignore errors when deleting tags from dockerhub 2021-07-02 16:58:48 -07:00
publish-artifacts-to-fileserver publish-artifacts-to-fileserver: do not synchronize owner 2020-05-18 17:05:32 +02:00
pull-from-intermediate-registry buildset registry: run socat in new session 2022-05-24 10:46:42 -07:00
push-to-intermediate-registry buildset registry: run socat in new session 2022-05-24 10:46:42 -07:00
release-afs-volume Add role to do a vos release on an AFS volume 2017-09-01 16:40:40 -05:00
remove-build-sshkey Document algorithm var for remove-build-sshkey 2021-04-01 15:29:01 +00:00
remove-build-winrm-cert Add per-build WinRM cert generation 2022-04-13 15:04:51 -07:00
remove-gpgkey Fix exec quoting in release remove-gpgkey role 2019-03-15 14:36:14 +01:00
remove-launchpad-credentials Add roles for adding and removing launchpadlib credentials 2017-08-30 18:53:21 -05:00
remove-sshkey Capitalize task names 2020-05-16 17:46:17 +02:00
remove-zuul-sshkey Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
render-diff render-diff: fix typo in failure messsage 2020-09-03 16:30:15 +00:00
revoke-sudo Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
run-buildset-registry buildset registry: run socat in new session 2022-05-24 10:46:42 -07:00
run-dstat Update dstat to support bionic and others 2021-10-22 12:51:41 -07:00
set-zuul-log-path-fact Capitalize task names 2020-05-16 17:46:17 +02:00
shake-build linters: add names to blocks 2022-07-27 17:13:39 +10:00
sign-artifacts Record artifact checksums and signatures to stdout 2020-06-16 14:39:57 +00:00
sphinx Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
stage-output Update to ansible-lint 6.8.2 2022-11-07 10:37:53 +11:00
start-zuul-console Update ANSIBLE_LIBRARY to use envsitepackagesdir 2018-10-18 09:23:25 -05:00
terraform Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
test-mirror-workspace-git-repos Correct git config item name in mirror-workspace-git-repos 2022-05-19 09:33:00 -07:00
test-prepare-workspace-git Test speedup change to prepare-workspace-git 2022-09-22 11:08:48 -07:00
test-setup linters: add names to blocks 2022-07-27 17:13:39 +10:00
test-upload-logs-swift Standarise block/when ordering 2022-11-07 10:37:53 +11:00
tox Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
trigger-readthedocs linters: add names to blocks 2022-07-27 17:13:39 +10:00
update-json-file update-json-file: avoid failure when destination does not exists 2021-02-12 13:26:49 +00:00
upload-afs-roots Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
upload-afs-synchronize linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
upload-artifactory linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
upload-container-image Use --password-stdin for upload-container-image 2020-11-16 21:09:14 -05:00
upload-docker-image Always log out of docker registry after upload 2020-11-12 14:01:57 -05:00
upload-forge Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
upload-git-mirror upload-git-mirror: no_log around key writing 2022-07-28 09:31:49 +10:00
upload-logs linter: Use capitals for names 2022-11-07 10:37:53 +11:00
upload-logs-azure linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-base Add prefix to azure log upload 2022-09-26 10:54:46 -07:00
upload-logs-gcs Add no_log to all log upload tasks 2022-11-16 09:11:12 -08:00
upload-logs-ibm linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-s3 Add no_log to all log upload tasks 2022-11-16 09:11:12 -08:00
upload-logs-swift Add no_log to all log upload tasks 2022-11-16 09:11:12 -08:00
upload-npm upload-npm : support authToken argument 2022-09-07 13:27:01 +10:00
upload-pypi pypi-upload: support twine --skip-existing option 2022-11-08 13:26:22 +00:00
use-buildset-registry Add names to include tasks 2022-11-07 10:37:53 +11:00
use-docker-mirror More E208 mode fixes 2020-10-31 07:34:03 +00:00
validate-dco-license Add validate-dco-license role 2019-01-09 11:39:02 -05:00
validate-host Standarise block/when ordering 2022-11-07 10:37:53 +11:00
validate-zone-db Fix check zone role for Jammy 2022-11-02 14:26:07 -07:00
version-from-git linters: add names to blocks 2022-07-27 17:13:39 +10:00
wait-for-pods Add the namespace in wait-for-pods role 2020-05-29 17:40:31 +03:00
write-inventory Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
yarn Fixes all tasks should be named rule 2021-03-08 13:30:32 +00:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00