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:
parent
bac2bf6c45
commit
c96f4f5a16
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -1,3 +0,0 @@
|
||||
npm_environment:
|
||||
DISPLAY: ':99'
|
||||
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -1,2 +0,0 @@
|
||||
---
|
||||
node_version: 6
|
@ -1,3 +0,0 @@
|
||||
Package: nodejs
|
||||
Pin: origin deb.nodesource.com
|
||||
Pin-Priority: 900
|
@ -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.
|
||||
|
@ -1,3 +0,0 @@
|
||||
Package: nodejs
|
||||
Pin: origin deb.nodesource.com
|
||||
Pin-Priority: 900
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user