CI: add Ubuntu seed VM job
* Need to specify bash for &> syntax Story: 2004960 Task: 41806 Change-Id: Ic33d3e31096f7b0cec2e4e9284f5c1078a4ff04c
This commit is contained in:
parent
9f41cefc15
commit
7a99b88ebc
@ -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/"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -193,3 +193,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
|
||||
|
@ -18,6 +18,7 @@
|
||||
- kayobe-seed-centos8
|
||||
- kayobe-seed-upgrade-centos8
|
||||
- kayobe-seed-vm-centos8
|
||||
- kayobe-seed-vm-ubuntu-focal
|
||||
|
||||
gate:
|
||||
queue: kayobe
|
||||
@ -33,3 +34,4 @@
|
||||
- kayobe-seed-centos8
|
||||
- kayobe-seed-upgrade-centos8
|
||||
- kayobe-seed-vm-centos8
|
||||
- kayobe-seed-vm-ubuntu-focal
|
||||
|
Loading…
x
Reference in New Issue
Block a user