# yamllint disable --- - job: name: ansible-collections-openstack-functional-devstack parent: openstacksdk-functional-devstack description: | Run openstack collections functional tests against a master devstack using master of openstacksdk with latest ansible release required-projects: - openstack/ansible-collections-openstack - openstack/designate irrelevant-files: &ignore_files - changelogs/.* - COPYING - docs/.* - .*\.md - .*\.rst - tools/run-ansible-sanity.sh - tests/sanity/.* - contrib/.* vars: zuul_work_dir: src/opendev.org/openstack/ansible-collections-openstack tox_envlist: ansible tox_install_siblings: true fetch_subunit: false devstack_plugins: designate: https://opendev.org/openstack/designate devstack_services: designate: true - job: name: ansible-collections-openstack-functional-devstack-octavia parent: ansible-collections-openstack-functional-devstack description: | Run openstack collections functional tests against a master devstack with Octavia plugin enabled, using releases of openstacksdk and latest ansible release. Run it only on Load Balancer changes. pre-run: ci/playbooks/get_amphora_tarball.yaml required-projects: - openstack/octavia - name: github.com/ansible/ansible override-checkout: stable-2.11 files: - ^ci/roles/loadbalancer/.*$ - ^plugins/modules/lb_health_monitor.py - ^plugins/modules/lb_listener.py - ^plugins/modules/lb_member.py - ^plugins/modules/lb_pool.py - ^plugins/modules/loadbalancer.py vars: tox_envlist: ansible devstack_plugins: designate: https://opendev.org/openstack/designate octavia: https://opendev.org/openstack/octavia devstack_services: designate: true octavia: true o-api: true o-cw: true o-hk: true o-hm: true devstack_localrc: OCTAVIA_AMP_IMAGE_FILE: "/tmp/test-only-amphora-x64-haproxy-ubuntu-bionic.qcow2" OCTAVIA_AMP_IMAGE_SIZE: 3 OCTAVIA_AMP_IMAGE_NAME: "test-only-amphora-x64-haproxy-ubuntu-bionic" - job: name: ansible-collections-openstack-functional-devstack-releases parent: ansible-collections-openstack-functional-devstack description: | Run openstack collections functional tests against a master devstack using releases of openstacksdk and latest ansible release vars: tox_envlist: ansible tox_install_siblings: false # Job with Ansible 2.9 for checking backward compatibility - job: name: ansible-collections-openstack-functional-devstack-ansible-2.9 parent: ansible-collections-openstack-functional-devstack description: | Run openstack collections functional tests against a master devstack using master of openstacksdk and stable 2.9 branch of ansible required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.9 vars: tox_envlist: ansible-2.9 - job: name: ansible-collections-openstack-functional-devstack-ansible-2.11 parent: ansible-collections-openstack-functional-devstack description: | Run openstack collections functional tests against a master devstack using master of openstacksdk and stable 2.11 branch of ansible required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-ansible-devel parent: ansible-collections-openstack-functional-devstack description: | Run openstack collections functional tests against a master devstack using master of openstacksdk and devel branch of ansible voting: false required-projects: - name: github.com/ansible/ansible override-checkout: devel vars: tox_envlist: ansible-2.11 # Stable branches tests - job: name: ansible-collections-openstack-functional-devstack-wallaby-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a wallaby devstack using wallaby brach of openstacksdk and stable 2.11 branch of ansible voting: true override-checkout: stable/wallaby required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk override-checkout: stable/wallaby vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-victoria-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a victoria devstack using victoria brach of openstacksdk and stable 2.11 branch of ansible voting: true override-checkout: stable/victoria required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk override-checkout: stable/victoria vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-ussuri-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a ussuri devstack using ussuri brach of openstacksdk and stable 2.11 branch of ansible voting: true override-checkout: stable/ussuri required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk override-checkout: stable/ussuri - name: openstack/os-client-config override-checkout: stable/ussuri vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-train-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a train devstack using train brach of openstacksdk and stable 2.11 branch of ansible override-checkout: stable/train required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk override-checkout: stable/train - name: openstack/os-client-config override-checkout: stable/train vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-queens-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a queens devstack using master branch of openstacksdk and stable 2.11 branch of ansible voting: true override-checkout: stable/queens required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk # Run queens with highest possible py2 version of SDK override-checkout: stable/train vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-queens-ansible-devel parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a queens devstack using master branch of openstacksdk and devel branch of ansible voting: false override-checkout: stable/queens required-projects: - name: github.com/ansible/ansible override-checkout: devel - name: openstack/openstacksdk # Run queens with highest possible py2 version of SDK override-checkout: stable/train vars: tox_envlist: ansible-2.11 # Experimental pipeline jobs - job: name: ansible-collections-openstack-functional-devstack-stein-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a stein devstack using stein brach of openstacksdk and stable 2.11 branch of ansible voting: true override-checkout: stable/stein required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk override-checkout: stable/stein - name: openstack/os-client-config override-checkout: stable/stein vars: tox_envlist: ansible - job: name: ansible-collections-openstack-functional-devstack-rocky-ansible-2.11 parent: ansible-collections-openstack-functional-devstack-ansible-devel description: | Run openstack collections functional tests against a rocky devstack using rocky brach of openstacksdk and stable 2.11 branch of ansible voting: true override-checkout: stable/rocky required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - name: openstack/openstacksdk override-checkout: stable/rocky - name: openstack/os-client-config override-checkout: stable/rocky - name: openstack/shade override-checkout: stable/rocky vars: tox_envlist: ansible # Linters - job: name: openstack-tox-linters-ansible-devel parent: openstack-tox-linters nodeset: ubuntu-bionic description: | Run openstack collections linter tests using the devel branch of ansible # non-voting because we can't prevent ansible devel from breaking us voting: false required-projects: - name: github.com/ansible/ansible override-checkout: devel vars: tox_envlist: linters-2.11 - job: name: openstack-tox-linters-ansible-2.11 parent: openstack-tox-linters nodeset: ubuntu-bionic description: | Run openstack collections linter tests using the 2.11 branch of ansible voting: false required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.11 - job: name: openstack-tox-linters-ansible-2.9 parent: openstack-tox-linters nodeset: ubuntu-bionic description: | Run openstack collections linter tests using the 2.9 branch of ansible voting: true required-projects: - name: github.com/ansible/ansible override-checkout: stable-2.9 vars: tox_envlist: linters-2.9 # Cross-checks with other projects - job: name: bifrost-collections-src parent: bifrost-integration-tinyipa-ubuntu-focal required-projects: - openstack/ansible-collections-openstack - job: name: bifrost-keystone-collections-src parent: bifrost-integration-tinyipa-keystone-ubuntu-focal required-projects: - openstack/ansible-collections-openstack # TripleO jobs - job: name: tripleo-ci-centos-8-standalone-osa parent: tripleo-ci-centos-8-standalone vars: consumer_job: false build_container_images: true # Run only on files used in TripleO files: &ooo_files - ^plugins/modules/catalog_service.*$ - ^plugins/modules/endpoint.*$ - ^plugins/modules/identity_domain.*$ - ^plugins/modules/identity_domain_info.*$ - ^plugins/modules/identity_role.*$ - ^plugins/modules/identity_user.*$ - ^plugins/modules/keypair.*$ - ^plugins/modules/project.*$ - ^plugins/modules/role_assignment.*$ - ^plugins/modules/stack.*$ - ^plugins/module_utils/openstack.*$ - job: name: tripleo-ci-centos-8-standalone-train-osa parent: tripleo-ci-centos-8-standalone-osa voting: false override-checkout: stable/train vars: branch_override: stable/train - job: name: ansible-collections-openstack-release parent: base run: ci/publish/publish_collection.yml secrets: - ansible_galaxy_info - secret: name: ansible_galaxy_info data: url: https://galaxy.ansible.com token: !encrypted/pkcs1-oaep - lZFzfoCbuwqV1k6qRfl/VS7E+knUW7+zpg7BptrenK4n0g7UY0HtdVkYq0pV0Tj/LbhzG jHD0mehcV1iS6B7ORKg4criJkdDfEx09BD8z8yv0EleiIMmhlrCoMcY593OZMBtVbGi0D CwQtNO98QIsfZogChfLfvRNiBmUV98mEb/p6p3EtGx8J7qcAsqfWxc/CzB8GCleLAHHHT FuikMM03ZnV0ew7E+TPkHbzzPhBZOqS5HYF0HtgttHwIXdfIWp/XdTuEEk7uRRgYZ2Iao ifWRzoKaOQmhM++e1ydCqw9D4y9dZEFNMQLwSqcrvtb8cNwT1kl7SCFqYNE2lbutj4ne6 PTBQRsKegMB4Y3ena14fNF6tCynvJLPhF/cjPH2Jhs+B19XQhWkL3TgiOY02W24YHwRcP +LdkM8inAvyVi3DEbEqdjBPO9OFJcBOKPlCdkGvuwdNCuEpEwctWs0gV3voflG2CDKzmJ wu9JJOAWnq/0l1WpuDqWreKeQ/BUGZC2Gb4xRAqofulgvhs4WuYoEccjH4EJFIZ90S1EP R/ZLadqZaEhmjwGM5sMWbBbjT23XsRgg0Tzt9m8DENYMuYDqkMdRbt2jYZa+32p4hyxVe Y6H/pqYq5b9uOzumnShaK4WlmkQyXcNPkoSlMC1h4OGvqX/WUixpI38jyMA5Tc= - project: check: jobs: - tox-pep8 - openstack-tox-linters-ansible-devel - openstack-tox-linters-ansible-2.11 - openstack-tox-linters-ansible-2.9 - ansible-collections-openstack-functional-devstack: dependencies: &deps_unit_lint - tox-pep8 - openstack-tox-linters-ansible-2.9 # - openstack-tox-linters-ansible-2.11 - ansible-collections-openstack-functional-devstack-releases: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-ansible-2.9: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-ansible-2.11: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-ansible-devel: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-wallaby-ansible-2.11: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-victoria-ansible-2.11: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-ussuri-ansible-2.11: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-train-ansible-2.11: dependencies: *deps_unit_lint - ansible-collections-openstack-functional-devstack-queens-ansible-2.11: dependencies: *deps_unit_lint voting: false - ansible-collections-openstack-functional-devstack-octavia: dependencies: *deps_unit_lint - bifrost-collections-src: voting: false dependencies: *deps_unit_lint irrelevant-files: *ignore_files - bifrost-keystone-collections-src: voting: false dependencies: *deps_unit_lint irrelevant-files: *ignore_files - tripleo-ci-centos-8-standalone-osa: dependencies: *deps_unit_lint - tripleo-ci-centos-8-standalone-train-osa: voting: false dependencies: *deps_unit_lint gate: jobs: - tox-pep8 # - openstack-tox-linters-ansible-2.11 - openstack-tox-linters-ansible-2.9 - ansible-collections-openstack-functional-devstack - ansible-collections-openstack-functional-devstack-releases - ansible-collections-openstack-functional-devstack-ansible-2.9 - ansible-collections-openstack-functional-devstack-ansible-2.11 - ansible-collections-openstack-functional-devstack-wallaby-ansible-2.11 - ansible-collections-openstack-functional-devstack-victoria-ansible-2.11 - ansible-collections-openstack-functional-devstack-ussuri-ansible-2.11 - ansible-collections-openstack-functional-devstack-train-ansible-2.11 # - ansible-collections-openstack-functional-devstack-queens-ansible-2.11 - ansible-collections-openstack-functional-devstack-octavia - tripleo-ci-centos-8-standalone-osa periodic: jobs: - openstack-tox-linters-ansible-devel - openstack-tox-linters-ansible-2.11 - openstack-tox-linters-ansible-2.9 - ansible-collections-openstack-functional-devstack - ansible-collections-openstack-functional-devstack-releases - ansible-collections-openstack-functional-devstack-ansible-2.9 - ansible-collections-openstack-functional-devstack-ansible-2.11 - ansible-collections-openstack-functional-devstack-ansible-devel - ansible-collections-openstack-functional-devstack-wallaby-ansible-2.11 - ansible-collections-openstack-functional-devstack-victoria-ansible-2.11 - ansible-collections-openstack-functional-devstack-ussuri-ansible-2.11 - ansible-collections-openstack-functional-devstack-train-ansible-2.11 - ansible-collections-openstack-functional-devstack-queens-ansible-2.11 - ansible-collections-openstack-functional-devstack-queens-ansible-devel - bifrost-collections-src - bifrost-keystone-collections-src - ansible-collections-openstack-functional-devstack-octavia experimental: jobs: - ansible-collections-openstack-functional-devstack-stein-ansible-2.11 - ansible-collections-openstack-functional-devstack-rocky-ansible-2.11 - ansible-collections-openstack-functional-devstack-queens-ansible-devel tag: jobs: - ansible-collections-openstack-release