diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2019-11-08 15:46:42 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2020-02-06 11:43:50 +0000 |
| commit | 287adab05ebcae4bef16759795ad0907ffb2489c (patch) | |
| tree | 5de2017cec6e9e578f310ae03d2bf9b043562dd5 /tools | |
| parent | 5b0894299ef8fca62f9d8eab7f0e229548da26cb (diff) | |
| download | kolla-ansible-287adab05ebcae4bef16759795ad0907ffb2489c.tar.gz kolla-ansible-287adab05ebcae4bef16759795ad0907ffb2489c.zip | |
CentOS 8: Add deploy jobs in CI
Adds new CI job definitions for CentOS 8:
- kolla-ansible-centos8-source
- kolla-ansible-centos8-binary
- kolla-ansible-centos8-source-ceph-ansible
- kolla-ansible-centos8-source-cinder-lvm
- kolla-ansible-centos8-source-mariadb
- kolla-ansible-centos8-source-bifrost
- kolla-ansible-centos8-source-zun
- kolla-ansible-centos8-source-swift
- kolla-ansible-centos8-source-scenario-nfv
- kolla-ansible-centos8-source-ironic
- kolla-ansible-centos8-binary-ironic
- kolla-ansible-centos8-source-masakari
- kolla-ansible-centos8-source-cells
The following jobs are added to the check pipeline:
- kolla-ansible-centos8-source
- kolla-ansible-centos8-binary
- kolla-ansible-centos8-source-cinder-lvm
- kolla-ansible-centos8-source-mariadb
- kolla-ansible-centos8-source-zun
- kolla-ansible-centos8-source-swift
- kolla-ansible-centos8-source-scenario-nfv
- kolla-ansible-centos8-source-ironic
- kolla-ansible-centos8-binary-ironic
- kolla-ansible-centos8-source-cells
The following jobs are not yet passing so are not added to the check
pipeline:
- kolla-ansible-centos8-source-ceph-ansible
- kolla-ansible-centos8-source-bifrost
- kolla-ansible-centos8-source-masakari
The kolla-ansible-centos8-source job is added to the gate.
Upgrade jobs will be added when CentOS 8 support exists in Train.
Depends-On: https://review.opendev.org/704337
Depends-On: https://review.opendev.org/704848
Depends-On: https://review.opendev.org/704965
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
Change-Id: Ibd806feee71721b122b77d7eff33228ca1cc2853
Partially-Implements: blueprint centos-rhel-8
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/setup_gate.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index 753b7313a..36e768cae 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -99,7 +99,14 @@ function prepare_images { fi sudo docker run -d -p 4000:5000 --restart=always -v /opt/kolla_registry/:/var/lib/registry --name registry registry:2 pushd "${KOLLA_SRC_DIR}" - sudo tox -e "build-${BASE_DISTRO}-${INSTALL_TYPE}" + # TODO(mgoddard): Remove this if block when CentOS 7 is no longer + # supported. + if [[ $BASE_DISTRO == "centos" ]] && [[ $BASE_DISTRO_MAJOR_VERSION -eq 8 ]]; then + kolla_base_distro=centos8 + else + kolla_base_distro=${BASE_DISTRO} + fi + sudo tox -e "build-${kolla_base_distro}-${INSTALL_TYPE}" # NOTE(yoctozepto): due to debian buster we push after images are built # see https://github.com/docker/for-linux/issues/711 if [[ "debian" == $BASE_DISTRO ]]; then |
