zuul-jobs/roles
James E. Blair e7a0f0da8b run-buildset-registry: run a dual registry
The docker registry daemon can either act as a private registry,
or as a pull-through proxy, but not both.  Yet we need to be able
to serve private (speculative buildset) images as well as plain
upstream images.  Our registry is used as a mirror and requires
authentication, therefore docker's normal behavior of falling back
on docker.io won't work because it will attempt to use our
credentials.

However, the registry daemon stores all of its state in the
filesystem, therefore we can run two instances of the registry
service, both pointing at the same data store.  The first acts
as a pull-through proxy and will serve whatever files are already
in the local storage, or will fetch them from docker.io.  The second
can be used to upload images into the local storage.

To make a long story short, whenever we push into the buildset
registry, we will use the second endpoint.  Whenever the docker
daemon pulls from the buildset registry, it will use the first.

Change-Id: I296029068b5ef28ee56543741fe8c8deeefb5dfa
2019-02-21 13:49:49 -08:00
..
add-authorized-keys role: Inject public keys in case of failure 2018-02-28 10:39:07 +00:00
add-build-sshkey Fix noqa warning 2018-10-28 14:31:23 +01:00
add-fileserver Document upload-logs reliance on add-fileserver 2019-01-22 14:41:11 -08: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
ansible-galaxy-import Fix typo with ansible_galaxy_info.token 2018-10-12 16:59:20 -04:00
ara-report Merge "ara-report: add missing ara_report_run check" 2018-07-16 13:52:15 +00:00
bindep Update tox-docs to follow build-sphinx better 2018-08-22 07:54:42 +02:00
build-docker-image Fix build-docker-image when using buildset_registry 2019-02-18 15:32:17 -08:00
build-puppet-module Add role to build Puppet module 2017-11-13 18:33:50 -05:00
build-python-release Fix RST formatting 2018-10-13 10:36:36 +02:00
build-releasenotes Add general sphinx and reno jobs and role 2017-11-20 17:59:28 -06:00
buildset-artifacts-location Fix RST formatting 2018-10-13 10:36:36 +02:00
configure-mirrors notify needs a command 2018-09-20 22:02:55 -05:00
copy-build-sshkey Run authorized_keys as root 2018-04-24 11:57:43 +01:00
create-afs-token Add create / destory roles for AFS tokens 2017-08-28 13:53:10 -04:00
deploy-openshift Add install and deploy openshift roles. 2018-12-03 11:44:48 +00:00
destroy-afs-token Add create / destory roles for AFS tokens 2017-08-28 13:53:10 -04:00
emit-job-header emit-job-header: fix print node information 2018-09-13 11:33:17 +00:00
ensure-babel Fix deprecation warning of ansible-2.5 2018-06-04 00:17:18 +00:00
ensure-output-dirs Add role to ensure per-node output dirs exist 2018-07-17 15:34:00 -04:00
ensure-python Limit ensure-python to Debian/Ubuntu use 2018-10-16 08:53:34 -04:00
ensure-sphinx Fix build-openstack-releasenotes by non-existing msgmerge 2018-10-21 17:28:21 +09:00
ensure-tox Add README to ensure-tox role 2018-04-05 11:07:42 -07:00
ensure-twine Block installation of requests-toolbelt 0.9.0 2019-01-29 16:15:25 -06:00
fetch-coverage-output Fix coverage post_failure stat 2018-07-22 09:46:01 -04:00
fetch-javascript-content-tarball fetch-javascript-content-tarball: fix tarball relative path 2018-10-09 00:22:32 +00:00
fetch-javascript-output Collect the coverage report for npm test jobs 2018-06-12 21:27:03 +00:00
fetch-javascript-tarball Run ansible-lint on repo 2017-10-27 07:49:02 +02:00
fetch-output Merge "Add note about multi-node jobs" 2019-01-06 19:17:49 +00: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 Fix sphinx publishing 2018-01-02 22:49:13 +00:00
fetch-subunit-output Fix lookup of subunit files in fetch-subunit-output 2018-02-28 14:33:35 +02: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 Fix deprecation warning of ansible-2.5 2018-06-04 00:17:18 +00:00
git-prepare-nodecache Add role git-prepare-nodecache 2018-11-09 15:57:03 +01:00
htmlify-logs htmlify: don't log 2018-08-20 13:00:18 -07:00
install-docker Merge "Add docker insecure registries feature" 2019-02-05 16:11:35 +00:00
install-if-python Fix deprecation warning of ansible-2.5 2018-06-04 00:17:18 +00:00
install-javascript-packages Install yarn if needed in javascript jobs 2017-12-14 10:08:22 -06:00
install-kubernetes install-kubernetes: fix minikube config permission 2019-02-19 08:19:53 +00:00
install-nodejs Silence ansible-lint 2017-10-27 06:10:31 +02:00
install-openshift Add install and deploy openshift roles. 2018-12-03 11:44:48 +00:00
install-yarn Create yarn_lock_file_path variable for install-yarn 2018-11-28 10:21:57 -05:00
log-inventory log-inventory: remove inventory_file usage 2018-06-27 00:48:24 +00:00
merge-output-to-logs Use find instead of ls for determining dir emptiness 2019-01-21 17:24:51 +00:00
mirror-workspace-git-repos mirror-workspace-git-repos: Explicitly show HEAD of checked out branches 2018-12-12 16:02:59 +11:00
multi-node-bridge Default private_ipv4 to use public_ipv4 address when null 2019-01-23 10:30:20 +01:00
multi-node-firewall Handle blank public_ipv4 2018-03-27 12:27:21 +00:00
multi-node-hosts-file Include hostnames in /etc/hosts 2018-06-05 11:13:03 +01:00
multi-node-known-hosts Add missing README.rst for roles 2018-09-05 19:35:53 +00:00
nodejs-test-dependencies Fix npm-run-test 2017-11-14 13:19:08 +00:00
npm npm: add CI=true environment 2018-08-15 08:38:08 +00:00
persistent-firewall Add Gentoo iptables handling 2018-09-24 01:38:04 -05:00
prepare-workspace Update ANSIBLE_LIBRARY to use envsitepackagesdir 2018-10-18 09:23:25 -05:00
prepare-workspace-git Add prepare-workspace-git role 2018-10-31 06:11:41 +01:00
promote-docker-image docker: add ability to restrict repository names 2019-01-18 09:43:11 -08:00
publish-artifacts-to-fileserver Document and update fileserver roles 2017-08-18 18:21:50 -05:00
pull-from-intermediate-registry Load buildset_registry in intermediate pull 2019-02-18 10:46:26 -08:00
push-to-intermediate-registry push-to-registry: handle undefined docker_images 2019-02-19 17:49:21 -08: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
run-buildset-registry run-buildset-registry: run a dual registry 2019-02-21 13:49:49 -08: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 Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
stage-output Fix ownership change in stage-output 2019-02-05 09:32:02 -08:00
start-zuul-console Update ANSIBLE_LIBRARY to use envsitepackagesdir 2018-10-18 09:23:25 -05:00
test-mirror-workspace-git-repos Update test-mirror-workspace-git-repos, add test 2018-12-12 16:02:59 +11:00
test-setup Parameterize the test-setup role 2017-12-07 09:48:38 -05:00
tox Revert "Extract pep8 messages for inline comments" 2018-10-18 09:11:38 +00:00
trigger-readthedocs Revert "Debugging for readthedoc web ping" 2018-08-02 19:18:40 +10:00
upload-afs Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00
upload-docker-image docker: add ability to restrict repository names 2019-01-18 09:43:11 -08:00
upload-forge Rework upload-forge role to use module 2019-02-09 10:32:34 +01:00
upload-logs Document upload-logs reliance on add-fileserver 2019-01-22 14:41:11 -08:00
upload-logs-swift upload-logs-swift: Make indexer more generic 2018-11-28 15:47:48 +11:00
upload-npm Change to the executor workdir during npm upload 2017-12-09 17:27:56 +00:00
upload-pypi upload-pypi: add option to register packages 2019-01-08 07:49:43 +00:00
use-buildset-registry Add role to use buildset registry 2019-02-01 13:26:03 -08:00
validate-dco-license Add validate-dco-license role 2019-01-09 11:39:02 -05:00
validate-host Revert "validate-host: retry network tests and include unbound logs" 2018-11-19 21:43:40 +00:00
version-from-git Fix condition in version-from-git 2018-03-07 08:25:18 +00:00
write-inventory write-inventory: Add groups to created inventory 2018-08-28 19:54:21 +10:00
yarn Remove "--verbose" from yarn commands 2019-02-08 14:23:01 -08:00
__init__.py Enable Python 2.7 unit tests 2018-08-17 10:23:20 +10:00