Skip to content

Commit

Permalink
Merge "CI: Refactor base jobs"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Jan 27, 2020
2 parents b072673 + beed12f commit 4d0c442
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 118 deletions.
72 changes: 69 additions & 3 deletions zuul.d/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- ^specs/
- ^kolla_ansible/tests/
vars:
previous_release: train
scenario: core
is_upgrade: no
api_network_prefix: "192.0.2."
Expand All @@ -34,11 +35,18 @@
- zuul: zuul/zuul-jobs

- job:
name: kolla-ansible-upgrade-base
name: kolla-ansible-ceph-base
parent: kolla-ansible-base
voting: false
vars:
previous_release: train
is_upgrade: yes
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore

- job:
name: kolla-ansible-ipv6-base
Expand All @@ -53,6 +61,10 @@
- job:
name: kolla-ansible-bifrost-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/bifrost/
- ^tests/test-bifrost.sh
vars:
scenario: bifrost
install_type: source
Expand Down Expand Up @@ -98,9 +110,63 @@
name: kolla-ansible-ceph-ansible-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/(cinder|glance|gnocchi|nova-cell)/
- ^tests/deploy-ceph-ansible.sh
vars:
scenario: ceph-ansible
ceph_osd_storetype: ceph-lvm
required-projects:
- name: github.com/ceph/ceph-ansible
override-checkout: v4.0.7

- job:
name: kolla-ansible-cinder-lvm-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/(cinder|iscsi)/
- ^tests/setup_disks.sh
- ^tests/test-core-openstack.sh
- ^tests/test-dashboard.sh
vars:
scenario: cinder-lvm

- job:
name: kolla-ansible-masakari-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/masakari/
- ^tests/test-masakari.sh
- ^tests/test-dashboard.sh
vars:
scenario: masakari

- job:
name: kolla-ansible-mariadb-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/mariadb/
- ^tests/test-mariadb.sh
vars:
scenario: mariadb

- job:
name: kolla-ansible-scenario-nfv-base
parent: kolla-ansible-base
voting: false
files:
- ^ansible/roles/(barbican|heat|mistral|redis|tacker)/
- ^tests/test-scenario-nfv.sh
- ^tests/test-dashboard.sh
vars:
scenario: scenario_nfv

- job:
name: kolla-ansible-cells-base
parent: kolla-ansible-base
voting: false
vars:
scenario: cells
86 changes: 18 additions & 68 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,39 +61,21 @@

- job:
name: kolla-ansible-ubuntu-source-ceph
parent: kolla-ansible-base
parent: kolla-ansible-ceph-base
nodeset: kolla-ansible-bionic-multi
timeout: 9000
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore

- job:
name: kolla-ansible-centos-source-ceph
parent: kolla-ansible-base
parent: kolla-ansible-ceph-base
nodeset: kolla-ansible-centos-multi
timeout: 9000
voting: false
vars:
base_distro: centos
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore

- job:
name: kolla-ansible-centos-source-ceph-ansible
Expand All @@ -115,103 +97,80 @@

- job:
name: kolla-ansible-ubuntu-source-cinder-lvm
parent: kolla-ansible-base
parent: kolla-ansible-cinder-lvm-base
nodeset: kolla-ansible-bionic-multi
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: cinder-lvm

- job:
name: kolla-ansible-centos-source-cinder-lvm
parent: kolla-ansible-base
parent: kolla-ansible-cinder-lvm-base
nodeset: kolla-ansible-centos-multi
voting: false
vars:
base_distro: centos
install_type: source
scenario: cinder-lvm

- job:
name: kolla-ansible-centos-source-mariadb
parent: kolla-ansible-base
parent: kolla-ansible-mariadb-base
nodeset: kolla-ansible-centos-multi
voting: false
vars:
base_distro: centos
install_type: source
scenario: mariadb

- job:
name: kolla-ansible-ubuntu-source-mariadb
parent: kolla-ansible-base
parent: kolla-ansible-mariadb-base
nodeset: kolla-ansible-bionic-multi
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: mariadb

- job:
name: kolla-ansible-centos-source-upgrade
parent: kolla-ansible-upgrade-base
parent: kolla-ansible-base
nodeset: kolla-ansible-centos
timeout: 9000
vars:
base_distro: centos
install_type: source
is_upgrade: yes

- job:
name: kolla-ansible-ubuntu-source-upgrade
parent: kolla-ansible-upgrade-base
parent: kolla-ansible-base
nodeset: kolla-ansible-bionic
timeout: 9000
vars:
base_distro: ubuntu
install_type: source
is_upgrade: yes

- job:
name: kolla-ansible-ubuntu-source-upgrade-ceph
parent: kolla-ansible-upgrade-base
parent: kolla-ansible-ceph-base
nodeset: kolla-ansible-bionic-multi
timeout: 9000
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore
is_upgrade: yes

- job:
name: kolla-ansible-centos-source-upgrade-ceph
parent: kolla-ansible-upgrade-base
parent: kolla-ansible-ceph-base
nodeset: kolla-ansible-centos-multi
timeout: 9000
voting: false
vars:
base_distro: centos
install_type: source
scenario: ceph
host-vars:
primary:
ceph_osd_storetype: filestore
secondary1:
ceph_osd_storetype: bluestore
secondary2:
ceph_osd_storetype: bluestore
is_upgrade: yes

- job:
name: kolla-ansible-bifrost-centos-source
parent: kolla-ansible-bifrost-base
nodeset: kolla-ansible-centos
voting: false
vars:
base_distro: centos

Expand Down Expand Up @@ -249,14 +208,11 @@

- job:
name: kolla-ansible-centos-source-scenario-nfv
parent: kolla-ansible-base
parent: kolla-ansible-scenario-nfv-base
nodeset: kolla-ansible-centos-multi
description: CI scenario to test NFV orchestration
voting: false
vars:
base_distro: centos
install_type: source
scenario: scenario_nfv

- job:
name: kolla-ansible-centos-source-ironic
Expand Down Expand Up @@ -294,30 +250,24 @@

- job:
name: kolla-ansible-ubuntu-source-masakari
parent: kolla-ansible-base
parent: kolla-ansible-masakari-base
nodeset: kolla-ansible-bionic
voting: false
vars:
base_distro: ubuntu
install_type: source
scenario: masakari

- job:
name: kolla-ansible-centos-source-masakari
parent: kolla-ansible-base
parent: kolla-ansible-masakari-base
nodeset: kolla-ansible-centos
voting: false
vars:
base_distro: centos
install_type: source
scenario: masakari

- job:
name: kolla-ansible-centos-source-cells
parent: kolla-ansible-base
parent: kolla-ansible-cells-base
nodeset: kolla-ansible-centos-multi
voting: false
vars:
base_distro: centos
install_type: source
scenario: cells
57 changes: 10 additions & 47 deletions zuul.d/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,16 @@
- kolla-ansible-ubuntu-source-multinode-ipv6
- kolla-ansible-ubuntu-source-ceph
- kolla-ansible-centos-source-ceph
- kolla-ansible-ubuntu-source-cinder-lvm:
files:
- ^ansible/roles/(cinder|iscsi)/
- ^tests/setup_disks.sh
- ^tests/test-core-openstack.sh
- ^tests/test-dashboard.sh
- kolla-ansible-centos-source-cinder-lvm:
files:
- ^ansible/roles/(cinder|iscsi)/
- ^tests/setup_disks.sh
- ^tests/test-core-openstack.sh
- ^tests/test-dashboard.sh
- kolla-ansible-bifrost-centos-source:
files:
- ^ansible/roles/bifrost/
- ^tests/test-bifrost.sh
- kolla-ansible-ubuntu-source-cinder-lvm
- kolla-ansible-centos-source-cinder-lvm
- kolla-ansible-bifrost-centos-source
- kolla-ansible-centos-source-zun
- kolla-ansible-ubuntu-source-zun
- kolla-ansible-centos-source-swift
- kolla-ansible-ubuntu-source-swift
- kolla-ansible-centos-source-scenario-nfv:
files:
- ^ansible/roles/(barbican|heat|mistral|redis|tacker)/
- ^tests/test-scenario-nfv.sh
- ^tests/test-dashboard.sh
- kolla-ansible-ubuntu-source-masakari:
files:
- ^ansible/roles/masakari/
- ^tests/test-masakari.sh
- ^tests/test-dashboard.sh
- kolla-ansible-centos-source-masakari:
files:
- ^ansible/roles/masakari/
- ^tests/test-masakari.sh
- ^tests/test-dashboard.sh
- kolla-ansible-centos-source-scenario-nfv
- kolla-ansible-ubuntu-source-masakari
- kolla-ansible-centos-source-masakari
- kolla-ansible-centos-source-ironic
- kolla-ansible-centos-binary-ironic
- kolla-ansible-ubuntu-source-ironic
Expand All @@ -62,22 +37,10 @@
- kolla-ansible-centos-binary
- kolla-ansible-ubuntu-binary
- kolla-ansible-centos-source-cells
- kolla-ansible-centos-source-mariadb:
files:
- ^ansible/roles/mariadb/
- ^tests/test-mariadb.sh
- kolla-ansible-ubuntu-source-mariadb:
files:
- ^ansible/roles/mariadb/
- ^tests/test-mariadb.sh
- kolla-ansible-centos-source-ceph-ansible:
files:
- ^ansible/roles/(cinder|glance|gnocchi|nova-cell)/
- ^tests/deploy-ceph-ansible.sh
- kolla-ansible-ubuntu-source-ceph-ansible:
files:
- ^ansible/roles/(cinder|glance|gnocchi|nova-cell)/
- ^tests/deploy-ceph-ansible.sh
- kolla-ansible-centos-source-mariadb
- kolla-ansible-ubuntu-source-mariadb
- kolla-ansible-centos-source-ceph-ansible
- kolla-ansible-ubuntu-source-ceph-ansible
check-arm64:
jobs:
- kolla-ansible-debian-source-aarch64
Expand Down

0 comments on commit 4d0c442

Please sign in to comment.