CI: Add Ubuntu seed job

This commit adds Zuul job for deploying seed services against
Ubuntu 20.04 LTS (Focal Fossa).

Co-Authored-By: Mark Goddard <mark@stackhpc.com>

Story: 2004960
Task: 41807
Depends-On: https://review.opendev.org/c/openstack/kayobe/+/772929
Change-Id: I839cd1b9d63c9bbf3e0c75def76b8bff68637c75
This commit is contained in:
Piotr Parczewski 2021-02-11 20:39:24 +01:00 committed by Mark Goddard
parent 9f41cefc15
commit 534465797b
5 changed files with 14 additions and 0 deletions

View File

@ -11,12 +11,17 @@ kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/opensta
kolla_source_version: "{{ zuul.projects['opendev.org/openstack/kolla'].checkout }}"
kolla_ansible_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla-ansible'].src_dir }}"
kolla_ansible_source_version: "{{ zuul.projects['opendev.org/openstack/kolla-ansible'].checkout }}"
{% if ansible_os_family == 'Debian' %}
kolla_base_distro: ubuntu
{% endif %}
kolla_openstack_logging_debug: True
pip_upper_constraints_file: "/tmp/upper-constraints.txt"
# Use the CI infra's PyPI mirror.
pip_local_mirror: true
pip_index_url: "http://{{ zuul_site_mirror_fqdn }}/pypi/simple"
pip_trusted_hosts:
- "{{ zuul_site_mirror_fqdn }}"
# NOTE(mgoddard): CentOS 8 removes interfaces from their bridge during ifdown,
# and removes the bridge if there are no interfaces left. When Kayobe bounces

View File

@ -34,3 +34,4 @@
shell:
cmd: dev/install.sh &> {{ logs_dir }}/ansible/install
chdir: "{{ kayobe_src_dir }}"
executable: /bin/bash

View File

@ -8,3 +8,4 @@
- name: Ensure seed is deployed
shell:
cmd: "{{ kayobe_src_dir }}/dev/seed-deploy.sh &> {{ logs_dir }}/ansible/seed-deploy"
executable: /bin/bash

View File

@ -144,6 +144,11 @@
parent: kayobe-seed-base
nodeset: kayobe-centos8
- job:
name: kayobe-seed-ubuntu-focal
parent: kayobe-seed-base
nodeset: kayobe-ubuntu-focal
- job:
name: kayobe-overcloud-host-configure-base
parent: kayobe-overcloud-base

View File

@ -16,6 +16,7 @@
- kayobe-overcloud-host-configure-centos8
- kayobe-overcloud-upgrade-centos8
- kayobe-seed-centos8
- kayobe-seed-ubuntu-focal
- kayobe-seed-upgrade-centos8
- kayobe-seed-vm-centos8
@ -31,5 +32,6 @@
- kayobe-overcloud-host-configure-centos8
- kayobe-overcloud-upgrade-centos8
- kayobe-seed-centos8
- kayobe-seed-ubuntu-focal
- kayobe-seed-upgrade-centos8
- kayobe-seed-vm-centos8