From ef2f2eacb1b456d280acacdbc30a6623cdddafc4 Mon Sep 17 00:00:00 2001 From: vass Date: Sun, 12 Apr 2020 10:12:00 +0200 Subject: [PATCH] Remove install-* roles The install-* roles has been renamed to ensure-* but have been kept to give users time to update their repositories. Tuesday the 26th of may is four weeks after we announced the deprecation of the install-* roles and the date we should remove them completely. Depends-On: https://review.opendev.org/719323 Depends-On: https://review.opendev.org/719324 Depends-On: https://review.opendev.org/719325 Depends-On: https://review.opendev.org/719326 Depends-On: https://review.opendev.org/719333 Depends-On: https://review.opendev.org/719334 Depends-On: https://review.opendev.org/719401 Depends-On: https://review.opendev.org/719402 Depends-On: https://review.opendev.org/719404 Change-Id: I1bc87cf9ef544c06e2f1daf3177bba9d577e332e --- doc/source/cloud-roles.rst | 1 - doc/source/container-roles.rst | 4 ---- doc/source/go-roles.rst | 1 - doc/source/js-roles.rst | 3 --- doc/source/puppet-roles.rst | 1 - doc/source/python-roles.rst | 1 - roles/install-devstack/README.rst | 12 ------------ roles/install-devstack/tasks/main.yaml | 3 --- roles/install-docker/README.rst | 1 - roles/install-docker/tasks/main.yaml | 3 --- roles/install-go/README.rst | 1 - roles/install-go/tasks/main.yaml | 3 --- roles/install-if-python/README.rst | 1 - roles/install-if-python/tasks/main.yaml | 3 --- roles/install-javascript-packages/README.rst | 14 -------------- roles/install-javascript-packages/tasks/main.yaml | 3 --- roles/install-kubernetes/README.rst | 1 - roles/install-kubernetes/tasks/main.yaml | 3 --- roles/install-nodejs/README.rst | 1 - roles/install-nodejs/tasks/main.yaml | 3 --- roles/install-openshift/README.rst | 1 - roles/install-openshift/tasks/main.yaml | 3 --- roles/install-pdk-dependencies/README.rst | 1 - roles/install-pdk-dependencies/tasks/main.yaml | 3 --- roles/install-podman/README.rst | 1 - roles/install-podman/tasks/main.yaml | 3 --- roles/install-yarn/README.rst | 1 - roles/install-yarn/tasks/main.yaml | 3 --- 28 files changed, 79 deletions(-) delete mode 100644 roles/install-devstack/README.rst delete mode 100644 roles/install-devstack/tasks/main.yaml delete mode 100644 roles/install-docker/README.rst delete mode 100644 roles/install-docker/tasks/main.yaml delete mode 100644 roles/install-go/README.rst delete mode 100644 roles/install-go/tasks/main.yaml delete mode 100644 roles/install-if-python/README.rst delete mode 100644 roles/install-if-python/tasks/main.yaml delete mode 100644 roles/install-javascript-packages/README.rst delete mode 100644 roles/install-javascript-packages/tasks/main.yaml delete mode 100644 roles/install-kubernetes/README.rst delete mode 100644 roles/install-kubernetes/tasks/main.yaml delete mode 100644 roles/install-nodejs/README.rst delete mode 100644 roles/install-nodejs/tasks/main.yaml delete mode 100644 roles/install-openshift/README.rst delete mode 100644 roles/install-openshift/tasks/main.yaml delete mode 100644 roles/install-pdk-dependencies/README.rst delete mode 100644 roles/install-pdk-dependencies/tasks/main.yaml delete mode 100644 roles/install-podman/README.rst delete mode 100644 roles/install-podman/tasks/main.yaml delete mode 100644 roles/install-yarn/README.rst delete mode 100644 roles/install-yarn/tasks/main.yaml diff --git a/doc/source/cloud-roles.rst b/doc/source/cloud-roles.rst index 108580b4c..b32b6879f 100644 --- a/doc/source/cloud-roles.rst +++ b/doc/source/cloud-roles.rst @@ -2,4 +2,3 @@ Cloud Computing Roles ===================== .. zuul:autorole:: ensure-devstack -.. zuul:autorole:: install-devstack diff --git a/doc/source/container-roles.rst b/doc/source/container-roles.rst index 6d0f92442..2da315798 100644 --- a/doc/source/container-roles.rst +++ b/doc/source/container-roles.rst @@ -9,10 +9,6 @@ Container Roles .. zuul:autorole:: ensure-kubernetes .. zuul:autorole:: ensure-openshift .. zuul:autorole:: ensure-podman -.. zuul:autorole:: install-docker -.. zuul:autorole:: install-kubernetes -.. zuul:autorole:: install-openshift -.. zuul:autorole:: install-podman .. zuul:autorole:: pause-buildset-registry .. zuul:autorole:: promote-docker-image .. zuul:autorole:: pull-from-intermediate-registry diff --git a/doc/source/go-roles.rst b/doc/source/go-roles.rst index 33cda4036..321f8f2a4 100644 --- a/doc/source/go-roles.rst +++ b/doc/source/go-roles.rst @@ -3,6 +3,5 @@ Go Roles .. zuul:autorole:: ensure-go .. zuul:autorole:: ensure-golangci-lint -.. zuul:autorole:: install-go .. zuul:autorole:: go .. zuul:autorole:: golangci-lint diff --git a/doc/source/js-roles.rst b/doc/source/js-roles.rst index f9fba0813..ace0ac9ac 100644 --- a/doc/source/js-roles.rst +++ b/doc/source/js-roles.rst @@ -8,9 +8,6 @@ Javascript Roles .. zuul:autorole:: fetch-javascript-content-tarball .. zuul:autorole:: fetch-javascript-output .. zuul:autorole:: fetch-javascript-tarball -.. zuul:autorole:: install-javascript-packages -.. zuul:autorole:: install-nodejs -.. zuul:autorole:: install-yarn .. zuul:autorole:: js-package-manager .. zuul:autorole:: nodejs-test-dependencies .. zuul:autorole:: npm diff --git a/doc/source/puppet-roles.rst b/doc/source/puppet-roles.rst index 740c6da0e..0fb1e7678 100644 --- a/doc/source/puppet-roles.rst +++ b/doc/source/puppet-roles.rst @@ -4,5 +4,4 @@ Puppet Roles .. zuul:autorole:: build-puppet-module .. zuul:autorole:: ensure-pdk-dependencies .. zuul:autorole:: fetch-puppet-module-output -.. zuul:autorole:: install-pdk-dependencies .. zuul:autorole:: upload-forge diff --git a/doc/source/python-roles.rst b/doc/source/python-roles.rst index 8089c2b2d..58cc4d11b 100644 --- a/doc/source/python-roles.rst +++ b/doc/source/python-roles.rst @@ -18,7 +18,6 @@ Python Roles .. zuul:autorole:: fetch-subunit-output .. zuul:autorole:: fetch-tox-output .. zuul:autorole:: find-constraints -.. zuul:autorole:: install-if-python .. zuul:autorole:: sphinx .. zuul:autorole:: tox .. zuul:autorole:: upload-pypi diff --git a/roles/install-devstack/README.rst b/roles/install-devstack/README.rst deleted file mode 100644 index 98a68b5be..000000000 --- a/roles/install-devstack/README.rst +++ /dev/null @@ -1,12 +0,0 @@ -Install OpenStack using devstack. - -There are currently no configuration options available. This role -uses the devstack default settings, except that it does not install -horizon, tempest, cinder, or swift, and it supplies a restricted -network configuration designed to work in the maximum number of -environments. - -.. warning:: Do not use this role for testing changes to OpenStack or - OpenStack related projects. Use the ``devstack`` job - defined in the https://opendev.org/openstack/devstack - project instead. diff --git a/roles/install-devstack/tasks/main.yaml b/roles/install-devstack/tasks/main.yaml deleted file mode 100644 index ca8e37641..000000000 --- a/roles/install-devstack/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-devstack instead. diff --git a/roles/install-docker/README.rst b/roles/install-docker/README.rst deleted file mode 100644 index 8286de485..000000000 --- a/roles/install-docker/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-docker instead. diff --git a/roles/install-docker/tasks/main.yaml b/roles/install-docker/tasks/main.yaml deleted file mode 100644 index 62bbd6499..000000000 --- a/roles/install-docker/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-docker instead. diff --git a/roles/install-go/README.rst b/roles/install-go/README.rst deleted file mode 100644 index 1c7bded68..000000000 --- a/roles/install-go/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-go instead. diff --git a/roles/install-go/tasks/main.yaml b/roles/install-go/tasks/main.yaml deleted file mode 100644 index 7a65566f3..000000000 --- a/roles/install-go/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-go instead. diff --git a/roles/install-if-python/README.rst b/roles/install-if-python/README.rst deleted file mode 100644 index 93db1ffe4..000000000 --- a/roles/install-if-python/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-if-python instead. diff --git a/roles/install-if-python/tasks/main.yaml b/roles/install-if-python/tasks/main.yaml deleted file mode 100644 index 4f9e86c08..000000000 --- a/roles/install-if-python/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-if-python instead. diff --git a/roles/install-javascript-packages/README.rst b/roles/install-javascript-packages/README.rst deleted file mode 100644 index 529c9dfcb..000000000 --- a/roles/install-javascript-packages/README.rst +++ /dev/null @@ -1,14 +0,0 @@ -Install javascript dependencies needed for a project - -**Role Variables** - -.. zuul:rolevar:: zuul_work_dir - :default: {{ zuul.project.src_dir }} - - The directory to work in. - -.. zuul:rolevar:: tox_constraints_file - - Path to a pip constraints file. Will set the - ``UPPER_CONSTRAINTS_FILE`` environment variable. Useful if npm - ``postinstall`` runs tox. diff --git a/roles/install-javascript-packages/tasks/main.yaml b/roles/install-javascript-packages/tasks/main.yaml deleted file mode 100644 index e72096c7a..000000000 --- a/roles/install-javascript-packages/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-javascript-packages instead. diff --git a/roles/install-kubernetes/README.rst b/roles/install-kubernetes/README.rst deleted file mode 100644 index 731606309..000000000 --- a/roles/install-kubernetes/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-kubernetes instead. diff --git a/roles/install-kubernetes/tasks/main.yaml b/roles/install-kubernetes/tasks/main.yaml deleted file mode 100644 index e8eaa2f26..000000000 --- a/roles/install-kubernetes/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-kubernetes instead. diff --git a/roles/install-nodejs/README.rst b/roles/install-nodejs/README.rst deleted file mode 100644 index 402880d62..000000000 --- a/roles/install-nodejs/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-nodejs instead. diff --git a/roles/install-nodejs/tasks/main.yaml b/roles/install-nodejs/tasks/main.yaml deleted file mode 100644 index 15a556089..000000000 --- a/roles/install-nodejs/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-nodejs instead. diff --git a/roles/install-openshift/README.rst b/roles/install-openshift/README.rst deleted file mode 100644 index 7c35fec27..000000000 --- a/roles/install-openshift/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-openshift instead. diff --git a/roles/install-openshift/tasks/main.yaml b/roles/install-openshift/tasks/main.yaml deleted file mode 100644 index e1e77789b..000000000 --- a/roles/install-openshift/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-openshift instead. diff --git a/roles/install-pdk-dependencies/README.rst b/roles/install-pdk-dependencies/README.rst deleted file mode 100644 index 0d0143dec..000000000 --- a/roles/install-pdk-dependencies/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-pdk-dependencies instead. diff --git a/roles/install-pdk-dependencies/tasks/main.yaml b/roles/install-pdk-dependencies/tasks/main.yaml deleted file mode 100644 index 445ceca5f..000000000 --- a/roles/install-pdk-dependencies/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-pdk-dependencies instead. diff --git a/roles/install-podman/README.rst b/roles/install-podman/README.rst deleted file mode 100644 index fea21f24e..000000000 --- a/roles/install-podman/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-podman instead. diff --git a/roles/install-podman/tasks/main.yaml b/roles/install-podman/tasks/main.yaml deleted file mode 100644 index 7be2324aa..000000000 --- a/roles/install-podman/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-podman instead. diff --git a/roles/install-yarn/README.rst b/roles/install-yarn/README.rst deleted file mode 100644 index f767ec092..000000000 --- a/roles/install-yarn/README.rst +++ /dev/null @@ -1 +0,0 @@ -.. warning:: Deprecated, use ensure-yarn instead. diff --git a/roles/install-yarn/tasks/main.yaml b/roles/install-yarn/tasks/main.yaml deleted file mode 100644 index 1187f9f27..000000000 --- a/roles/install-yarn/tasks/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Error if used - fail: - msg: This role has been renamed. Please use ensure-yarn instead.