Merge "CI: add Ubuntu seed VM job"

This commit is contained in:
Zuul 2021-03-04 18:45:49 +00:00 committed by Gerrit Code Review
commit 6014af96c0
5 changed files with 17 additions and 0 deletions

View File

@ -3,6 +3,12 @@
# Ansible is run directly on the controller.
disable_selinux_do_reboot: false
{% if ansible_os_family == 'Debian' %}
# On Ubuntu, use 5 seconds delay to allow for interfaces to come up after ifup
# exits.
interfaces_pause_time: 5
{% endif %}
# Use the OpenStack infra's Dockerhub mirror.
docker_registry_mirrors:
- "http://{{ zuul_site_mirror_fqdn }}:8082/"

View File

@ -36,6 +36,7 @@
selinux:
state: disabled
become: True
when: ansible_os_family == 'RedHat'
# NOTE(mgoddard): Use the name zz-overrides.yml to ensure this takes
# precedence over the standard config files.
@ -53,3 +54,4 @@
shell:
cmd: dev/install.sh &> {{ logs_dir }}/ansible/install
chdir: "{{ kayobe_src_dir }}"
executable: /bin/bash

View File

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

View File

@ -198,3 +198,8 @@
name: kayobe-seed-vm-centos8
parent: kayobe-seed-vm-base
nodeset: kayobe-centos8
- job:
name: kayobe-seed-vm-ubuntu-focal
parent: kayobe-seed-vm-base
nodeset: kayobe-ubuntu-focal

View File

@ -19,6 +19,7 @@
- kayobe-seed-centos8
- kayobe-seed-upgrade-centos8
- kayobe-seed-vm-centos8
- kayobe-seed-vm-ubuntu-focal
gate:
queue: kayobe
@ -35,3 +36,4 @@
- kayobe-seed-centos8
- kayobe-seed-upgrade-centos8
- kayobe-seed-vm-centos8
- kayobe-seed-vm-ubuntu-focal