zuul-jobs/roles
James E. Blair 26bf1e516e Fix CORS and endpoint in AWS log upload
The AWS log upload module does not behave like the rest of the
modules: it does not set CORS headers, which means that logs will
not be usable in the Zuul web UI without additional manual
configuration.  The other uploaders all set CORS settings
automatically.

Correct this in the same way that we do for other clouds.

Additionally, if an S3 bucket is created outside of us-east-1, then
objects in it must be addressed using the bucket name as hostname,
rather than the bare host s3.amazonaws.com.  Update the returned
URL to use the bucket hostname.  This works as well for buckets in
us-east-1.

Also, fix the command line test invocation.

Change-Id: Id92f3cf506b442d0ee5932c6e9d931df19c2cc71
2022-09-23 08:11:46 -07: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 bindep: remove set_fact usage when converting string to list 2021-02-01 15:09:07 +01: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 Merge "Update gpg key file for extras-common in CS9" 2022-09-14 23:10:21 +00:00
copy-build-sshkey linters: add names to blocks 2022-07-27 17:13:39 +10: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 Add the post-reboot-tasks role 2022-06-06 04:56:14 -07: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 Fixes all tasks should be named rule 2021-03-08 13:30:32 +00:00
ensure-bazelisk Bump bazelisk version to 1.11.0 2022-05-13 05:05:18 +00:00
ensure-cabal linters: add names to blocks 2022-07-27 17:13:39 +10: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 ensure-docker: prevent issue on centos-7 where the socket does not exists 2021-04-21 17:12:09 +00: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 linters: add names to blocks 2022-07-27 17:13:39 +10: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 Revert "Revert cri-dockerd changes" 2022-07-28 11:57:28 -07: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 Bits to keep ansible-lint happy 2021-03-10 18:04:08 +00: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 linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
ensure-podman ensure-podman: Remove kubic from Ubuntu 18.04 and drop 20.04 2022-05-24 10:46:38 -07: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 linters: add names to blocks 2022-07-27 17:13:39 +10:00
ensure-skopeo Add ensure-skopeo role 2021-05-25 16:38:00 +02: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 Merge "ensure-tox: Avoid Reinstalling tox venv if present" 2021-10-04 20:48:06 +00:00
ensure-twine test/upload-pypi : install venv 2022-07-27 10:54:30 +10:00
ensure-virtualenv linters: standardise on newline at end of file 2022-07-28 16:19:06 +10: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 linters: add names to blocks 2022-07-27 17:13:39 +10: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 More E208 (final) 2020-11-10 19:34:45 +00: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 linters: add names to blocks 2022-07-27 17:13:39 +10: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 linters: add names to blocks 2022-07-27 17:13:39 +10: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-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 Use RDO wallaby repo to install openvswitch in CS9 2022-08-04 16:36:18 +02: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 Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
nimble linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
nodejs-test-dependencies Add Firefox browser role for horizon nodejs job 2020-12-14 04:43:28 +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 Add the post-reboot-tasks role 2022-06-06 04:56:14 -07:00
prepare-workspace prepare-workspace: Add Role Variable in README.rst 2020-06-22 21:17:38 +02:00
prepare-workspace-git Revert "Ensure git is installed in prepare-workspace-git role" 2020-08-20 16:13:35 +00:00
prepare-workspace-openshift ansible-lint: use matchplay instead of matchtask 2020-05-05 20:42:38 +02: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 Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07: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 Make test-prepare-workspace-git role 2022-05-19 11:40:44 -07:00
test-setup linters: add names to blocks 2022-07-27 17:13:39 +10:00
test-upload-logs-swift Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07: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 linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-azure linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-base Fix CORS and endpoint in AWS log upload 2022-09-23 08:11:46 -07:00
upload-logs-gcs linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-ibm linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-s3 linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-logs-swift linters: add names to blocks 2022-07-27 17:13:39 +10:00
upload-npm upload-npm : support authToken argument 2022-09-07 13:27:01 +10:00
upload-pypi linters: fix spaces between filters 2022-07-27 17:13:39 +10:00
use-buildset-registry use-buildset-registry: remove useless import 2021-10-28 12:48:06 -04: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 Remove shebang from all python ansible modules 2022-09-15 13:48:10 -07:00
validate-zone-db linters: standardise on newline at end of file 2022-07-28 16:19:06 +10: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