zuul-jobs/roles
Kevin Carter f1f609e09c
Add multi-distro support to install-docker
This change adds the ability for the zuul provided role for docker
installation to support multiple distros automatically. With this
change the role will dynamically load variables based on the
target operating system.

While the default to install from upstream reamains unchanged, the
role will now fall back to installing using the distro packages
in the event there's is a fault with the upstream tasks or if an
upstream task file has not been implemented.

> stubbs for upstream implementation task files have been created.

With this change the role will now support, debian (and family),
opensuse, and red hat (and family). The upstream installation process
is using the documented steps from upstream docker, as found here
[0].

The default "ubuntu_gpg_key" as renamed to "docker_gpg_key" as its
now used for more than one distro.

The daemon.json.j2 template has been removed. This template was
stored here but unused by this role.

[0] https://docs.docker.com/install/linux/docker-ce/fedora/

Change-Id: Ie52444f8c62d6e2f86ce9ba1c17795dd9a6471d2
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-06-11 10:04:28 -05:00
..
add-authorized-keys role: Inject public keys in case of failure 2018-02-28 10:39:07 +00:00
add-build-sshkey add-build-sshkey: remove previously authorized build-sshkey 2019-05-20 13:23:02 +00: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 Update URL for OpenDev 2019-04-20 14:18:36 +02:00
bindep Don't create bindep venv if bindep_file is not found 2019-03-30 12:27:36 -04:00
build-docker-image Add missing conditionals to build-docker-image 2019-04-28 13:39:02 -06: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
download-artifact Remove extra task from download-artifacts 2019-06-10 09:11:22 -07:00
emit-job-header Add trailing slash for log url 2019-03-30 16:14:49 -04: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 Revert "Add environment debugging to ensure-twine role" 2019-04-26 10:35:22 -05:00
fetch-coverage-output Fix coverage post_failure stat 2018-07-22 09:46:01 -04:00
fetch-javascript-content-tarball Correct artifact return url for python/js 2019-06-10 13:41:52 -07:00
fetch-javascript-output Return npm site location as artifact 2019-03-01 11:43:45 -08: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-sphinx-tarball Add fetch-sphinx-tarball role 2019-03-21 14:04:11 -07: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 Update more urls for opendev 2019-04-21 14:01:15 +00:00
install-docker Add multi-distro support to install-docker 2019-06-11 10:04:28 -05: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 Merge "Pin nodejs package to upstream repo" 2019-03-26 16:31:22 +00: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 Optionally silence git in mirror-workspace-git-repos 2019-02-14 08:52:38 +01: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 Assure iptables is installed inside multi-node-firewall role 2019-02-21 13:08:25 +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 Delete files in dest that don't exist 2019-04-01 09:18:26 -04:00
prepare-workspace-git Add prepare-workspace-git role 2018-10-31 06:11:41 +01:00
promote-docker-image Add retries to promote-docker-image 2019-03-20 09:02:18 -07:00
publish-artifacts-to-fileserver Document and update fileserver roles 2017-08-18 18:21:50 -05:00
pull-from-intermediate-registry Add a registry test job 2019-06-03 09:03:35 -07:00
push-to-intermediate-registry Add a registry test job 2019-06-03 09:03:35 -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 Use new sphinx roles in docs 2017-08-11 15:10:40 -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 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 Only alias docker registries on test nodes 2019-04-22 10:37:33 -07: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 stage-output: fix the archiving of all files 2019-03-22 16:05:43 +01: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 Switch to TOX_CONSTRAINTS_FILE 2019-05-22 22:30:14 +02: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 Fix typo in docker push role 2019-03-01 13:06:39 -08:00
upload-forge Rework upload-forge role to use module 2019-02-09 10:32:34 +01:00
upload-git-mirror Add parameter to upload-git-mirror to specify ssh host key 2019-04-01 16:34:59 -04: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 Exclude linux_x86_64 wheels from upload to PyPI 2019-04-02 14:32:14 -07:00
use-buildset-registry Don't use underscore in buildset_registry_alias 2019-04-22 11:39:42 -07:00
use-docker-mirror Split docker mirror config into its own role 2019-02-21 14:07:43 -08:00
validate-dco-license Add validate-dco-license role 2019-01-09 11:39:02 -05:00
validate-host Don't run zuul_debug_info_enabled under python2.6 2019-04-11 19:11:33 -04:00
validate-zone-db validate-zone-db : add job and make more generic 2019-05-24 10:00:49 +10: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