zuul-jobs/roles
Monty Taylor f6a92ecb6c
Make subunit processing more resilient
Use subunit2html from tox envs instead of os-testr-env

We have an openstack-infra hard-coded location in this role. Rework it
to try looking in the tox env if one exists or to look on the system.

Leave /usr/os-testr-env in as a fallback but with a debug statement so
that we can track instances of the fallback being used.

tox_envlist can be a comma separated list. If it is, the "find
subunit2html in a tox env" logic isn't going to work.

Use a shell script so that we can do a first-found logic similar to what
we use in ensure-sphinx for finding requirements files.

It's a big bash blob. Put it in a file so it syntax highlights correctly
and execute it with the script module.

Change-Id: I0b468840fd04a379007fe5aca07feb2eaf7081ac
2018-01-21 10:39:49 -06:00
..
add-build-sshkey Install build private key too 2017-08-22 10:52:08 -07:00
add-fileserver Add content to support translation jobs 2017-09-12 16:19:40 -06:00
add-gpgkey Add roles to add/remove a GPG key 2017-10-19 13:26:16 -07:00
add-launchpad-credentials fix the template instruction for writing launchpadlib/creds 2017-10-16 16:41:05 -04:00
add-sshkey add-sshkey: make the private key owner-writable 2017-10-19 14:23:28 -07:00
bindep bindep: skip package install when not needed 2017-12-05 09:09:34 +00:00
build-puppet-module Add role to build Puppet module 2017-11-13 18:33:50 -05:00
build-python-release Make build-python-release job 2017-11-20 09:09:40 -06:00
build-releasenotes Add general sphinx and reno jobs and role 2017-11-20 17:59:28 -06:00
configure-mirrors Remove the CentOS Plus mirror from the configured mirrors 2017-12-01 11:26:13 -05:00
copy-build-sshkey Role to copy the build ssh key to other users 2017-08-22 18:22:45 -07:00
create-afs-token Add create / destory roles for AFS tokens 2017-08-28 13:53:10 -04:00
destroy-afs-token Add create / destory roles for AFS tokens 2017-08-28 13:53:10 -04:00
emit-ara-html Add the ability to generate an ARA report only on job failure 2017-10-12 17:43:41 -04:00
emit-job-header Ansible linting fixes 2017-10-27 19:18:15 +02:00
ensure-babel Half-Revert "Revert "Add ensure-reno and ensure-babel roles"" 2017-12-16 15:31:17 +01:00
ensure-sphinx Deal with lack of requirements file better 2017-12-18 12:25:03 -06:00
ensure-tox/tasks Split ensuring tox is installed into a role 2017-08-22 15:19:33 -04:00
ensure-twine/tasks Move name from block to tasks in the block 2017-08-30 17:30:38 -05:00
fetch-coverage-output Correct path to coverage job 2017-10-19 14:49:53 +11:00
fetch-javascript-output Fetch built web content in javascript jobs 2017-12-16 20:07:02 -06:00
fetch-javascript-tarball Run ansible-lint on repo 2017-10-27 07:49:02 +02:00
fetch-puppet-module-output Create fetch-puppet-module-output role 2017-10-27 14:15:36 -04:00
fetch-python-sdist-output Add fetch-python-sdist-output role 2017-08-23 11:04:52 -04:00
fetch-sphinx-output Update fetch sphinx output to use sphinx vars 2017-11-20 18:00:31 -06:00
fetch-stestr-output Do not use --ignore-missing-args for rsync 2017-12-20 15:04:42 +01:00
fetch-subunit-output Make subunit processing more resilient 2018-01-21 10:39:49 -06:00
fetch-testr-output Do not use --ignore-missing-args for rsync 2017-12-20 15:04:42 +01:00
fetch-tox-output Do not use --ignore-missing-args for rsync 2017-12-20 15:04:42 +01:00
fetch-translation-output translations: Check for translation-source first 2017-12-16 15:45:36 +00:00
fetch-zuul-cloner Setup virtualenv for zuul-cloner 2017-11-22 02:19:56 -05:00
find-constraints Add general sphinx and reno jobs and role 2017-11-20 17:59:28 -06:00
install-if-python Revert "Revert "Add sphinx_python variable to sphinx role and job"" 2017-12-13 16:31:26 +01:00
install-javascript-packages Install yarn if needed in javascript jobs 2017-12-14 10:08:22 -06:00
install-nodejs Silence ansible-lint 2017-10-27 06:10:31 +02:00
install-yarn Install yarn if needed in javascript jobs 2017-12-14 10:08:22 -06:00
mirror-workspace-git-repos Convert back to zuul.projects 2017-12-01 15:02:20 +11:00
multi-node-bridge Persist iptables rules 2017-10-31 17:39:32 -04:00
multi-node-firewall Persist iptables rules 2017-10-31 17:39:32 -04:00
multi-node-hosts-file Multi-node: Set up hosts file 2017-09-22 16:25:51 -04:00
multi-node-known-hosts Multi-node: Streamline multi-node-known-hosts 2017-09-26 15:32:07 -04:00
nodejs-test-dependencies Fix npm-run-test 2017-11-14 13:19:08 +00:00
npm Add base job and roles for javascript 2017-10-09 08:32:45 -05:00
persistent-firewall Persist iptables rules 2017-10-31 17:39:32 -04:00
prepare-workspace Allow overriding the workspace directory in prepare-workspace 2017-09-04 17:25:30 +10:00
process-test-results Add a generic process-test-results role 2017-11-16 12:02:00 +00:00
publish-artifacts-to-fileserver Document and update fileserver roles 2017-08-18 18:21:50 -05: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 Use new sphinx roles in docs 2017-08-11 15:10:40 -07:00
remove-gpgkey Add roles to add/remove a GPG key 2017-10-19 13:26:16 -07:00
remove-launchpad-credentials Add roles for adding and removing launchpadlib credentials 2017-08-30 18:53:21 -05:00
remove-sshkey Add a role to remove an ssh private key 2017-08-29 15:56:45 -07:00
revoke-sudo revoke-sudo: only revoke when zuul is sudoer 2017-12-05 08:36:26 +00:00
set-zuul-log-path-fact Include project and branch in periodic job log URL 2017-10-08 16:02:38 +00:00
sign-artifacts Remove GPG public key for sign-artifacts role 2017-08-25 13:28:02 -04:00
sphinx Support autodoc_tree_index_modules in sphinx role 2017-12-18 19:51:02 -08:00
stage-output Dereference symlinks when staging artefacts 2017-12-18 16:06:41 +00:00
start-zuul-console Add start-zuul-console role 2017-08-29 16:15:55 -07:00
test-setup Ensure we load roles for linting 2017-07-17 16:50:06 -04:00
tox Merge "Convert back to zuul.projects" 2017-12-13 16:01:13 +00:00
upload-afs Update tox/test-requirements 2017-09-02 14:17:32 -05:00
upload-logs Ansible linting fixes 2017-10-27 19:18:15 +02:00
upload-npm Change to the executor workdir during npm upload 2017-12-09 17:27:56 +00:00
upload-pypi add more debugging to the upload-pypi role 2017-10-23 13:25:26 -04:00
validate-host Finish transition to zuul_site_image_manifest_files 2017-09-22 11:15:35 -05:00
version-from-git version-from-git: fix logic with tags 2017-11-03 16:05:53 -07:00