Fail and direct user to use ensure-* version of roles

Tuesday the 12th May is two weeks after announcing deprecation of the
install-* roles [1] and the date we should starting throwing an error
message to direct the user to use the renamed ensure-* role instead.

[1]
http://lists.zuul-ci.org/pipermail/zuul-announce/2020-April/000071.html

Change-Id: Ie2474c5c0704aa44f51bdd5d7afddb8c7e4e578b
This commit is contained in:
Albin Vass 2020-05-08 19:13:28 +02:00 committed by Andreas Jaeger
parent bac2bf6c45
commit c96f4f5a16
15 changed files with 33 additions and 46 deletions

View File

@ -1,3 +1,3 @@
- name: Include ensure-devstack
include_role:
name: ensure-devstack
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-devstack instead.

View File

@ -1,5 +1,3 @@
---
- name: Import ensure-docker
include_role:
name: ensure-docker
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-docker instead.

View File

@ -1,3 +1,3 @@
- name: Include ensure-go
include_role:
name: ensure-go
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-go instead.

View File

@ -1,3 +1,3 @@
- name: Include ensure-if-python.
include_role:
name: ensure-if-python
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-if-python instead.

View File

@ -1,3 +0,0 @@
npm_environment:
DISPLAY: ':99'
zuul_work_dir: "{{ zuul.project.src_dir }}"

View File

@ -1,3 +1,3 @@
- name: Include ensure-javascript-packages
include_role:
name: ensure-javascript-packages
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-javascript-packages instead.

View File

@ -1,3 +1,3 @@
- name: Include ensure-kubernetes
include_role:
name: ensure-kubernetes
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-kubernetes instead.

View File

@ -1,2 +0,0 @@
---
node_version: 6

View File

@ -1,3 +0,0 @@
Package: nodejs
Pin: origin deb.nodesource.com
Pin-Priority: 900

View File

@ -1,3 +1,3 @@
- name: Include ensure-nodejs.
include_role:
name: ensure-nodejs
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-nodejs instead.

View File

@ -1,3 +0,0 @@
Package: nodejs
Pin: origin deb.nodesource.com
Pin-Priority: 900

View File

@ -1,3 +1,3 @@
- name: Include ensure-openshift
include_role:
name: ensure-openshift
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-openshift instead.

View File

@ -1,3 +1,3 @@
- name: Include ensure-pdk-dependencies.
include_role:
name: ensure-pdk-dependencies
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-pdk-dependencies instead.

View File

@ -1,3 +1,3 @@
- name: Include ensure-podman
include_role:
name: ensure-podman
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-podman instead.

View File

@ -1,3 +1,3 @@
- name: Include ensure-yarn.
include_role:
name: ensure-yarn
- name: Error if used
fail:
msg: This role has been renamed. Please use ensure-yarn instead.