Fix schema[meta] linter warnings

Order platforms by name, and update to versions we test against in zuul

categories has probably been replaced with galaxy_tags in the schema[1]

Quote numbers, so they're interpreted as strings.

[1] https://galaxy.ansible.com/docs/contributing/creating_role.html#role-metadata

Change-Id: I2e7d0310a0be961bb9ac5b133676f235fb1f0f5c
This commit is contained in:
Erik Berg 2023-02-22 12:00:48 +01:00
parent 0c1b2ac42c
commit 815a0bf683
No known key found for this signature in database
GPG Key ID: 1182D19B0E5ED030
17 changed files with 130 additions and 323 deletions

View File

@ -12,7 +12,6 @@ skip_list:
- name[template] # Jinja templates should only be at the end of 'name'
- no-changed-when # Commands should not change things if nothing needs doing
- risky-file-permissions # File permissions unset or incorrect
- schema[meta] # Additional properties are not allowed
- var-naming # violates variable naming standards
- yaml[comments] # Missing starting space in comment
- yaml[empty-lines] # Too many blank lines

View File

@ -4,18 +4,19 @@ galaxy_info:
description: Creates a basic configdrive for Bifrost
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 8
- name: Ubuntu
versions:
- bionic
- name: Debian
versions:
- buster
categories:
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,18 +4,19 @@ galaxy_info:
description: Create image with diskimage-builder for Bifrost
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 8
- name: Debian
versions:
- buster
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- bionic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,18 +4,19 @@ galaxy_info:
description: Create VM nodes for local Bifrost testing.
company: OpenStack
license: Apache
min_ansible_version: 1.9
min_ansible_version: "1.9"
platforms:
- name: EL
versions:
- 8
- name: Debian
versions:
- buster
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- bionic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,18 +4,19 @@ galaxy_info:
description: Deploys the image on to nodes in Ironic
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 8
- name: Debian
versions:
- buster
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- bionic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Install Ironic for Bifrost
company: OpenStack
license: Apache
min_ansible_version: 1.9
min_ansible_version: "1.9"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Creates simple clouds.yaml file for Bifrost usage
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,18 +4,19 @@ galaxy_info:
description: Install keystone for Bifrost
company: OpenStack
license: Apache
min_ansible_version: 2.1
min_ansible_version: "2.1"
platforms:
- name: EL
versions:
- 8
- name: Ubuntu
versions:
- bionic
- name: Debian
versions:
- buster
categories:
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Install Ironic for Bifrost
company: OpenStack
license: Apache
min_ansible_version: 1.9
min_ansible_version: "1.9"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Prepare for basic bifrost testing.
company: OpenStack
license: Apache
min_ansible_version: 1.9
min_ansible_version: "1.9"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,12 +4,13 @@ galaxy_info:
description: Basic dnsmasq checks created by Bifrost.
company: OpenStack
license: Apache
min_ansible_version: 1.9
min_ansible_version: "1.9"
platforms:
- name: Ubuntu
versions:
- trusty
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,113 +4,13 @@ galaxy_info:
description: Tests inspection of nodes created by Bifrost.
company: OpenStack
license: Apache
min_ansible_version: 1.9
#
# Below are all platforms currently available. Just uncomment
# the ones that apply to your role. If you don't see your
# platform on this list, let us know and we'll get it added!
#
min_ansible_version: "1.9"
platforms:
#- name: EL
# versions:
# - all
# - 5
# - 6
# - 7
#- name: GenericUNIX
# versions:
# - all
# - any
#- name: Fedora
# versions:
# - all
# - 16
# - 17
# - 18
# - 19
# - 20
#- name: SmartOS
# versions:
# - all
# - any
#- name: opensuse
# versions:
# - all
# - 12.1
# - 12.2
# - 12.3
# - 13.1
# - 13.2
#- name: Amazon
# versions:
# - all
# - 2013.03
# - 2013.09
#- name: GenericBSD
# versions:
# - all
# - any
#- name: FreeBSD
# versions:
# - all
# - 8.0
# - 8.1
# - 8.2
# - 8.3
# - 8.4
# - 9.0
# - 9.1
# - 9.1
# - 9.2
#- name: Ubuntu
# versions:
# - all
# - lucid
# - maverick
# - natty
# - oneiric
# - precise
# - quantal
# - raring
# - saucy
- trusty
#- name: SLES
# versions:
# - all
# - 10SP3
# - 10SP4
# - 11
# - 11SP1
# - 11SP2
# - 11SP3
#- name: GenericLinux
# versions:
# - all
# - any
#- name: Debian
# versions:
# - all
# - etch
# - lenny
# - squeeze
# - wheezy
#
# Below are all categories currently available. Just as with
# the platforms above, uncomment those that apply to your role.
#
categories:
- name: Ubuntu
versions:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
#- cloud:gce
#- cloud:rax
#- clustering
#- database
#- database:nosql
#- database:sql
#- development
#- monitoring
#- networking
#- packaging
#- system
#- web
dependencies: []

View File

@ -4,113 +4,13 @@ galaxy_info:
description: Basic connectivity test of nodes created by Bifrost.
company: OpenStack
license: Apache
min_ansible_version: 1.9
#
# Below are all platforms currently available. Just uncomment
# the ones that apply to your role. If you don't see your
# platform on this list, let us know and we'll get it added!
#
min_ansible_version: "1.9"
platforms:
#- name: EL
# versions:
# - all
# - 5
# - 6
# - 7
#- name: GenericUNIX
# versions:
# - all
# - any
#- name: Fedora
# versions:
# - all
# - 16
# - 17
# - 18
# - 19
# - 20
#- name: SmartOS
# versions:
# - all
# - any
#- name: opensuse
# versions:
# - all
# - 12.1
# - 12.2
# - 12.3
# - 13.1
# - 13.2
#- name: Amazon
# versions:
# - all
# - 2013.03
# - 2013.09
#- name: GenericBSD
# versions:
# - all
# - any
#- name: FreeBSD
# versions:
# - all
# - 8.0
# - 8.1
# - 8.2
# - 8.3
# - 8.4
# - 9.0
# - 9.1
# - 9.1
# - 9.2
#- name: Ubuntu
# versions:
# - all
# - lucid
# - maverick
# - natty
# - oneiric
# - precise
# - quantal
# - raring
# - saucy
- trusty
#- name: SLES
# versions:
# - all
# - 10SP3
# - 10SP4
# - 11
# - 11SP1
# - 11SP2
# - 11SP3
#- name: GenericLinux
# versions:
# - all
# - any
#- name: Debian
# versions:
# - all
# - etch
# - lenny
# - squeeze
# - wheezy
#
# Below are all categories currently available. Just as with
# the platforms above, uncomment those that apply to your role.
#
categories:
- name: Ubuntu
versions:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
#- cloud:gce
#- cloud:rax
#- clustering
#- database
#- database:nosql
#- database:sql
#- development
#- monitoring
#- networking
#- packaging
#- system
#- web
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Unprovisions nodes in Ironic
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Removes enrolled nodes from Ironic
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,19 +4,19 @@ galaxy_info:
description: Enrolls nodes into Ironic
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 7
- name: Debian
versions:
- wheezy
- bullseye
- name: EL
versions:
- "9"
- name: Ubuntu
versions:
- trusty
- utopic
categories:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []

View File

@ -4,21 +4,23 @@ galaxy_info:
description: Invoke ironic node hardware introspection.
company: OpenStack
license: Apache
min_ansible_version: 2.0
min_ansible_version: "2.0"
platforms:
- name: EL
versions:
- 7
- name: Fedora
versions:
- 20
- name: Ubuntu
versions:
- trusty
- name: Debian
versions:
- wheezy
categories:
- bullseye
- name: EL
versions:
- "9"
- name: Fedora
versions:
- "36"
- "37"
- name: Ubuntu
versions:
- focal
- jammy
galaxy_tags:
- cloud
- cloud:openstack
dependencies: []