Switch legacy Zuul jobs to native Zuul v3 jobs
See [1] for more details. [1] https://governance.openstack.org/tc/goals/selected/victoria/native-zuulv3-jobs.html Signed-off-by: Gael Chamoulaud (Strider) <gchamoul@redhat.com> Change-Id: I387d0dbf1956250d43652c59b4748611439acff5
This commit is contained in:
parent
c12dfdbbb2
commit
30c3733a56
|
@ -1,51 +1,96 @@
|
|||
---
|
||||
- job:
|
||||
description: Base tripleo-validations job
|
||||
name: tripleo-validations-centos-8-base
|
||||
nodeset: centos-8
|
||||
parent: base
|
||||
success-url: "reports.html"
|
||||
failure-url: "reports.html"
|
||||
pre-run:
|
||||
- tests/prepare-test-host.yml
|
||||
- ci/playbooks/pre.yml
|
||||
run:
|
||||
- ci/playbooks/run.yml
|
||||
timeout: 1800
|
||||
voting: true
|
||||
|
||||
- project:
|
||||
templates:
|
||||
- tripleo-multinode-container-minimal
|
||||
- openstack-python3-victoria-jobs
|
||||
- tripleo-validations-molecule-jobs
|
||||
- check-requirements
|
||||
- openstack-lower-constraints-jobs
|
||||
- release-notes-jobs-python3
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters: &tripleo-linters
|
||||
nodeset: centos-8
|
||||
- openstack-tox-docs: &tripleo-docs
|
||||
files:
|
||||
- ^doc/.*
|
||||
- ^molecule-requirements.txt
|
||||
- ^requirements.txt
|
||||
- ^README.rst
|
||||
- tripleo-ci-centos-8-scenario004-standalone: &standalone0004
|
||||
dependencies: &deps
|
||||
- openstack-tox-linters
|
||||
files:
|
||||
- ^roles/ceph.*$
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-docs: *tripleo-docs
|
||||
- tripleo-ci-centos-8-scenario004-standalone: *standalone0004
|
||||
promote:
|
||||
jobs:
|
||||
- promote-openstack-tox-docs: *tripleo-docs
|
||||
|
||||
- project-template:
|
||||
check:
|
||||
jobs:
|
||||
- tripleo-validations-centos-8-molecule-ceph
|
||||
- tripleo-validations-centos-8-molecule-check_network_gateway
|
||||
- tripleo-validations-centos-8-molecule-controller_token
|
||||
- tripleo-validations-centos-8-molecule-controller_ulimits
|
||||
- tripleo-validations-centos-8-molecule-ctlplane_ip_range
|
||||
- tripleo-validations-centos-8-molecule-image_serve
|
||||
- tripleo-validations-centos-8-molecule-nova_status
|
||||
- tripleo-validations-centos-8-molecule-nova_svirt
|
||||
- tripleo-validations-centos-8-molecule-package_version
|
||||
- tripleo-validations-centos-8-molecule-rabbitmq_limits
|
||||
- tripleo-validations-centos-8-molecule-repos
|
||||
- tripleo-validations-centos-8-molecule-stonith_exists
|
||||
- tripleo-validations-centos-8-molecule-system_encoding
|
||||
- tripleo-validations-centos-8-molecule-tls_everywhere
|
||||
- tripleo-validations-centos-8-molecule-undercloud_cpu
|
||||
- tripleo-validations-centos-8-molecule-undercloud_debug
|
||||
- tripleo-validations-centos-8-molecule-undercloud_heat_purge_deleted
|
||||
- tripleo-validations-centos-8-molecule-undercloud_tokenflush
|
||||
- tripleo-validations-centos-8-molecule-check_kernel_version
|
||||
- tripleo-validations-centos-8-molecule-ceph
|
||||
- tripleo-validations-centos-8-molecule-check_network_gateway
|
||||
- tripleo-validations-centos-8-molecule-controller_token
|
||||
- tripleo-validations-centos-8-molecule-controller_ulimits
|
||||
- tripleo-validations-centos-8-molecule-ctlplane_ip_range
|
||||
- tripleo-validations-centos-8-molecule-image_serve
|
||||
- tripleo-validations-centos-8-molecule-nova_status
|
||||
- tripleo-validations-centos-8-molecule-nova_svirt
|
||||
- tripleo-validations-centos-8-molecule-package_version
|
||||
- tripleo-validations-centos-8-molecule-rabbitmq_limits
|
||||
- tripleo-validations-centos-8-molecule-repos
|
||||
- tripleo-validations-centos-8-molecule-stonith_exists
|
||||
- tripleo-validations-centos-8-molecule-system_encoding
|
||||
- tripleo-validations-centos-8-molecule-tls_everywhere
|
||||
- tripleo-validations-centos-8-molecule-undercloud_debug
|
||||
- tripleo-validations-centos-8-molecule-undercloud_heat_purge_deleted
|
||||
- tripleo-validations-centos-8-molecule-undercloud_tokenflush
|
||||
- tripleo-validations-centos-8-molecule-check_kernel_version
|
||||
gate:
|
||||
jobs:
|
||||
- tripleo-validations-centos-8-molecule-ceph
|
||||
- tripleo-validations-centos-8-molecule-check_network_gateway
|
||||
- tripleo-validations-centos-8-molecule-controller_token
|
||||
- tripleo-validations-centos-8-molecule-controller_ulimits
|
||||
- tripleo-validations-centos-8-molecule-ctlplane_ip_range
|
||||
- tripleo-validations-centos-8-molecule-image_serve
|
||||
- tripleo-validations-centos-8-molecule-nova_status
|
||||
- tripleo-validations-centos-8-molecule-nova_svirt
|
||||
- tripleo-validations-centos-8-molecule-package_version
|
||||
- tripleo-validations-centos-8-molecule-rabbitmq_limits
|
||||
- tripleo-validations-centos-8-molecule-repos
|
||||
- tripleo-validations-centos-8-molecule-stonith_exists
|
||||
- tripleo-validations-centos-8-molecule-system_encoding
|
||||
- tripleo-validations-centos-8-molecule-tls_everywhere
|
||||
- tripleo-validations-centos-8-molecule-undercloud_cpu
|
||||
- tripleo-validations-centos-8-molecule-undercloud_debug
|
||||
- tripleo-validations-centos-8-molecule-undercloud_heat_purge_deleted
|
||||
- tripleo-validations-centos-8-molecule-undercloud_tokenflush
|
||||
- tripleo-validations-centos-8-molecule-check_kernel_version
|
||||
- tripleo-validations-centos-8-molecule-ceph
|
||||
- tripleo-validations-centos-8-molecule-check_network_gateway
|
||||
- tripleo-validations-centos-8-molecule-controller_token
|
||||
- tripleo-validations-centos-8-molecule-controller_ulimits
|
||||
- tripleo-validations-centos-8-molecule-ctlplane_ip_range
|
||||
- tripleo-validations-centos-8-molecule-image_serve
|
||||
- tripleo-validations-centos-8-molecule-nova_status
|
||||
- tripleo-validations-centos-8-molecule-nova_svirt
|
||||
- tripleo-validations-centos-8-molecule-package_version
|
||||
- tripleo-validations-centos-8-molecule-rabbitmq_limits
|
||||
- tripleo-validations-centos-8-molecule-repos
|
||||
- tripleo-validations-centos-8-molecule-stonith_exists
|
||||
- tripleo-validations-centos-8-molecule-system_encoding
|
||||
- tripleo-validations-centos-8-molecule-tls_everywhere
|
||||
- tripleo-validations-centos-8-molecule-undercloud_debug
|
||||
- tripleo-validations-centos-8-molecule-undercloud_heat_purge_deleted
|
||||
- tripleo-validations-centos-8-molecule-undercloud_tokenflush
|
||||
- tripleo-validations-centos-8-molecule-check_kernel_version
|
||||
name: tripleo-validations-molecule-jobs
|
||||
- job:
|
||||
files:
|
||||
- ^roles/collect_flavors_and_verify_profiles/.*
|
||||
- ^roles/collect_flavors_and_verify_profiles/.*
|
||||
name: tripleo-validations-centos-8-molecule-collect_flavors_and_verify_profiles
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -53,7 +98,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/ceilometerdb_size/.*
|
||||
- ^roles/ceilometerdb_size/.*
|
||||
name: tripleo-validations-centos-8-molecule-ceilometerdb_size
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -61,7 +106,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/neutron_sanity_check/.*
|
||||
- ^roles/neutron_sanity_check/.*
|
||||
name: tripleo-validations-centos-8-molecule-neutron_sanity_check
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -69,7 +114,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/node_health/.*
|
||||
- ^roles/node_health/.*
|
||||
name: tripleo-validations-centos-8-molecule-node_health
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -77,7 +122,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/nova_event_callback/.*
|
||||
- ^roles/nova_event_callback/.*
|
||||
name: tripleo-validations-centos-8-molecule-nova_event_callback
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -85,7 +130,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/ovs_dpdk_pmd/.*
|
||||
- ^roles/ovs_dpdk_pmd/.*
|
||||
name: tripleo-validations-centos-8-molecule-ovs_dpdk_pmd
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -93,7 +138,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/pacemaker_status/.*
|
||||
- ^roles/pacemaker_status/.*
|
||||
name: tripleo-validations-centos-8-molecule-pacemaker_status
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -101,7 +146,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/stack_health/.*
|
||||
- ^roles/stack_health/.*
|
||||
name: tripleo-validations-centos-8-molecule-stack_health
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -109,7 +154,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/switch_vlans/.*
|
||||
- ^roles/switch_vlans/.*
|
||||
name: tripleo-validations-centos-8-molecule-switch_vlans
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -117,7 +162,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/tls_everywhere/.*
|
||||
- ^roles/tls_everywhere/.*
|
||||
name: tripleo-validations-centos-8-molecule-tls_everywhere
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -125,7 +170,7 @@
|
|||
voting: true
|
||||
- job:
|
||||
files:
|
||||
- ^roles/undercloud_process_count/.*
|
||||
- ^roles/undercloud_process_count/.*
|
||||
name: tripleo-validations-centos-8-molecule-undercloud_process_count
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -133,7 +178,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/openstack_endpoints/.*
|
||||
- ^roles/openstack_endpoints/.*
|
||||
name: tripleo-validations-centos-8-molecule-openstack_endpoints
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -141,7 +186,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/openshift_on_openstack/.*
|
||||
- ^roles/openshift_on_openstack/.*
|
||||
name: tripleo-validations-centos-8-molecule-openshift_on_openstack
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -149,7 +194,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/node_disks/.*
|
||||
- ^roles/node_disks/.*
|
||||
name: tripleo-validations-centos-8-molecule-node_disks
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -157,7 +202,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/container_status/.*
|
||||
- ^roles/container_status/.*
|
||||
name: tripleo-validations-centos-8-molecule-container_status
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -165,7 +210,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/healthcheck_service_status/.*
|
||||
- ^roles/healthcheck_service_status/.*
|
||||
name: tripleo-validations-centos-8-molecule-healthcheck_service_status
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -173,7 +218,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/ironic_boot_configuration/.*
|
||||
- ^roles/ironic_boot_configuration/.*
|
||||
name: tripleo-validations-centos-8-molecule-ironic_boot_configuration
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -181,7 +226,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/mysql_open_files_limit/.*
|
||||
- ^roles/mysql_open_files_limit/.*
|
||||
name: tripleo-validations-centos-8-molecule-mysql_open_files_limit
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -189,7 +234,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/network_environment/.*
|
||||
- ^roles/network_environment/.*
|
||||
name: tripleo-validations-centos-8-molecule-network_environment
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -197,7 +242,7 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/dhcp_validations/.*
|
||||
- ^roles/dhcp_validations/.*
|
||||
name: tripleo-validations-centos-8-molecule-dhcp_validations
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -205,56 +250,56 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/controller_token/.*
|
||||
- ^roles/controller_token/.*
|
||||
name: tripleo-validations-centos-8-molecule-controller_token
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: controller_token
|
||||
- job:
|
||||
files:
|
||||
- ^roles/controller_ulimits/.*
|
||||
- ^roles/controller_ulimits/.*
|
||||
name: tripleo-validations-centos-8-molecule-controller_ulimits
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: controller_ulimits
|
||||
- job:
|
||||
files:
|
||||
- ^roles/ctlplane_ip_range/.*
|
||||
- ^roles/ctlplane_ip_range/.*
|
||||
name: tripleo-validations-centos-8-molecule-ctlplane_ip_range
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: ctlplane_ip_range
|
||||
- job:
|
||||
files:
|
||||
- ^roles/repos/.*
|
||||
- ^roles/repos/.*
|
||||
name: tripleo-validations-centos-8-molecule-repos
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: repos
|
||||
- job:
|
||||
files:
|
||||
- ^roles/undercloud_debug/.*
|
||||
- ^roles/undercloud_debug/.*
|
||||
name: tripleo-validations-centos-8-molecule-undercloud_debug
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: undercloud_debug
|
||||
- job:
|
||||
files:
|
||||
- ^roles/nova_status/.*
|
||||
- ^roles/nova_status/.*
|
||||
name: tripleo-validations-centos-8-molecule-nova_status
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: nova_status
|
||||
- job:
|
||||
files:
|
||||
- ^roles/image_serve/.*
|
||||
- ^roles/image_serve/.*
|
||||
name: tripleo-validations-centos-8-molecule-image_serve
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: image_serve
|
||||
- job:
|
||||
files:
|
||||
- ^roles/check_network_gateway/.*
|
||||
- ^roles/check_network_gateway/.*
|
||||
name: tripleo-validations-centos-8-molecule-check_network_gateway
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
|
@ -262,63 +307,63 @@
|
|||
voting: false
|
||||
- job:
|
||||
files:
|
||||
- ^roles/undercloud_heat_purge_deleted/.*
|
||||
- ^roles/undercloud_heat_purge_deleted/.*
|
||||
name: tripleo-validations-centos-8-molecule-undercloud_heat_purge_deleted
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: undercloud_heat_purge_deleted
|
||||
- job:
|
||||
files:
|
||||
- ^roles/undercloud_tokenflush/.*
|
||||
- ^roles/undercloud_tokenflush/.*
|
||||
name: tripleo-validations-centos-8-molecule-undercloud_tokenflush
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: undercloud_tokenflush
|
||||
- job:
|
||||
files:
|
||||
- ^roles/rabbitmq_limits/.*
|
||||
- ^roles/rabbitmq_limits/.*
|
||||
name: tripleo-validations-centos-8-molecule-rabbitmq_limits
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: rabbitmq_limits
|
||||
- job:
|
||||
files:
|
||||
- ^roles/stonith_exists/.*
|
||||
- ^roles/stonith_exists/.*
|
||||
name: tripleo-validations-centos-8-molecule-stonith_exists
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: stonith_exists
|
||||
- job:
|
||||
files:
|
||||
- ^roles/ceph/.*
|
||||
- ^roles/ceph/.*
|
||||
name: tripleo-validations-centos-8-molecule-ceph
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: ceph
|
||||
- job:
|
||||
files:
|
||||
- ^roles/system_encoding/.*
|
||||
- ^roles/system_encoding/.*
|
||||
name: tripleo-validations-centos-8-molecule-system_encoding
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: system_encoding
|
||||
- job:
|
||||
files:
|
||||
- ^roles/nova_svirt/.*
|
||||
- ^roles/nova_svirt/.*
|
||||
name: tripleo-validations-centos-8-molecule-nova_svirt
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: nova_svirt
|
||||
- job:
|
||||
files:
|
||||
- ^roles/package_version/.*
|
||||
- ^roles/package_version/.*
|
||||
name: tripleo-validations-centos-8-molecule-package_version
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
||||
tripleo_validations_role_name: package_version
|
||||
- job:
|
||||
files:
|
||||
- ^roles/check_kernel_version/.*
|
||||
- ^roles/check_kernel_version/.*
|
||||
name: tripleo-validations-centos-8-molecule-check_kernel_version
|
||||
parent: tripleo-validations-centos-8-base
|
||||
vars:
|
|
@ -33,7 +33,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
---
|
||||
# Copyright 2019 Red Hat, Inc.
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
- name: tripleo-ansible
|
||||
scm: git
|
||||
src: https://opendev.org/openstack/tripleo-ansible
|
||||
version: master
|
||||
trackbranch: master
|
|
@ -30,13 +30,15 @@
|
|||
virtualenv_site_packages: true
|
||||
|
||||
tasks:
|
||||
- name: Get Ansible Galaxy roles
|
||||
command: >-
|
||||
{{ ansible_user_dir }}/test-python/bin/ansible-galaxy install
|
||||
-fr
|
||||
{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/ansible-role-requirements.yml
|
||||
environment:
|
||||
ANSIBLE_ROLES_PATH: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/roles/roles.galaxy"
|
||||
- name: Get necessary git repos
|
||||
git:
|
||||
repo: https://opendev.org/openstack/{{ item }}
|
||||
dest: "{{ ansible_user_dir}}/{{ zuul.project.src_dir }}/roles/roles.galaxy/{{ item }}"
|
||||
version: master
|
||||
force: true
|
||||
with_items:
|
||||
- tripleo-ansible
|
||||
- validations-common
|
||||
|
||||
roles:
|
||||
- role: ensure-docker
|
|
@ -9,14 +9,21 @@
|
|||
set_fact:
|
||||
tripleo_validations_project_path: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/tripleo-validations'].src_dir }}"
|
||||
|
||||
- name: Set role path fact
|
||||
- name: Set roles path fact
|
||||
set_fact:
|
||||
tripleo_validations_roles_paths:
|
||||
- "{{ tripleo_validations_project_path }}/roles/roles.galaxy/tripleo-ansible/tripleo_ansible/roles"
|
||||
- "{{ tripleo_validations_project_path }}/roles/roles.galaxy/tripleo-ansible/tripleo-ansible/tripleo_ansible/roles"
|
||||
- "{{ tripleo_validations_project_path }}/roles/roles.galaxy/validations-common/validations_common/roles"
|
||||
- "{{ tripleo_validations_project_path }}/roles"
|
||||
- "/usr/share/ansible/roles"
|
||||
|
||||
- name: Set library path fact
|
||||
set_fact:
|
||||
tripleo_validations_library_paths:
|
||||
- "{{ tripleo_validations_project_path }}/roles/roles.galaxy/validations-common/validations_common/library"
|
||||
- "{{ tripleo_validations_project_path }}/library"
|
||||
- "/usr/share/ansible/library"
|
||||
|
||||
tasks:
|
||||
- name: Run role test job
|
||||
shell: |-
|
||||
|
@ -31,4 +38,5 @@
|
|||
chdir: "{{ tripleo_validations_project_path }}/roles/{{ tripleo_validations_role_name }}"
|
||||
executable: /bin/bash
|
||||
environment:
|
||||
ANSIBLE_ROLE_PATH: "{{ tripleo_validations_roles_paths | join(':') }}"
|
||||
ANSIBLE_ROLES_PATH: "{{ tripleo_validations_roles_paths | join(':') }}"
|
||||
ANSIBLE_LIBRARY: "{{ tripleo_validations_library_paths | join(':') }}"
|
|
@ -33,7 +33,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
name: ceph-ansible-installed
|
||||
|
|
|
@ -27,7 +27,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -34,6 +34,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -41,8 +41,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: ../../../../library
|
||||
ANSIBLE_ROLES_PATH: ../../../../roles/roles.galaxy/tripleo-ansible/tripleo-ansible/tripleo_ansible/roles
|
||||
ANSIBLE_ROLES_PATH: ../../../../roles/roles.galaxy/tripleo-ansible/tripleo_ansible/roles
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -35,7 +35,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -31,7 +31,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -35,7 +35,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -35,7 +35,7 @@ provisioner:
|
|||
log: true
|
||||
env:
|
||||
ANSIBLE_STDOUT_CALLBACK: yaml
|
||||
ANSIBLE_LIBRARY: "../../../../library"
|
||||
ANSIBLE_LIBRARY: "../../../../library:../../../../roles/roles.galaxy/validations-common/validations_common/library"
|
||||
|
||||
scenario:
|
||||
test_sequence:
|
||||
|
|
|
@ -67,4 +67,4 @@ ansible-playbook -i "${PROJECT_DIR}/tests/hosts.ini" \
|
|||
-e "ansible_user=${USER}" \
|
||||
-e "ansible_user_dir=${HOME}" \
|
||||
"${PROJECT_DIR}/tests/prepare-test-host.yml" \
|
||||
"${PROJECT_DIR}/zuul.d/playbooks/run-local.yml"
|
||||
"${PROJECT_DIR}/ci/playbooks/run-local.yml"
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
---
|
||||
- job:
|
||||
description: Base tripleo-validations job
|
||||
name: tripleo-validations-centos-8-base
|
||||
nodeset: centos-8
|
||||
parent: base
|
||||
success-url: "reports.html"
|
||||
failure-url: "reports.html"
|
||||
pre-run:
|
||||
- tests/prepare-test-host.yml
|
||||
- zuul.d/playbooks/pre.yml
|
||||
run:
|
||||
- zuul.d/playbooks/run.yml
|
||||
timeout: 1800
|
||||
voting: true
|
|
@ -1,31 +0,0 @@
|
|||
- project:
|
||||
templates:
|
||||
- tripleo-multinode-container-minimal
|
||||
- openstack-python3-victoria-jobs
|
||||
- tripleo-validations-molecule-jobs
|
||||
- check-requirements
|
||||
- release-notes-jobs-python3
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-docs: &tripleo-docs
|
||||
files:
|
||||
- ^doc/.*
|
||||
- ^README.rst
|
||||
- openstack-tox-lower-constraints
|
||||
- tripleo-ci-centos-8-scenario004-standalone:
|
||||
dependencies: &deps
|
||||
- openstack-tox-linters
|
||||
files:
|
||||
- ^roles/ceph.*$
|
||||
gate:
|
||||
jobs:
|
||||
- openstack-tox-linters
|
||||
- openstack-tox-docs: *tripleo-docs
|
||||
- openstack-tox-lower-constraints
|
||||
- tripleo-ci-centos-8-scenario004-standalone:
|
||||
files:
|
||||
- ^roles/ceph.*$
|
||||
promote:
|
||||
jobs:
|
||||
- promote-openstack-tox-docs: *tripleo-docs
|
Loading…
Reference in New Issue