Merge "WIP: add guest image build check"

This commit is contained in:
Zuul 2022-04-15 12:23:09 +00:00 committed by Gerrit Code Review
commit a5ddaddded
5 changed files with 81 additions and 51 deletions

3
.gitignore vendored
View File

@ -24,6 +24,9 @@ trove.iml
.pid
.stestr/
# Files generated by JetBrains
.idea/
# Sphinx
doc/build/*
doc/source/api/*

View File

@ -59,7 +59,7 @@ function build_guest_image() {
elementes="$elementes ubuntu-minimal"
fi
export DIB_CLOUD_INIT_DATASOURCES=${DIB_CLOUD_INIT_DATASOURCES:-"ConfigDrive"}
export DIB_CLOUD_INIT_DATASOURCES=${DIB_CLOUD_INIT_DATASOURCES:-"ConfigDrive, OpenStack"}
elementes="$elementes cloud-init-datasources"
elementes="$elementes pip-cache"

View File

@ -1,53 +1,3 @@
- nodeset:
name: trove-ubuntu-focal
nodes:
- name: controller
label: nested-virt-ubuntu-focal
groups:
- name: tempest
nodes:
- controller
- project:
templates:
- check-requirements
- openstack-cover-jobs
# - openstack-lower-constraints-jobs
- openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-cover:
voting: false
- trove-tox-bandit-baseline:
voting: false
- trove-tempest:
voting: false
- trove-tempest-postgres:
voting: false
- trove-tempest-ipv6-only:
voting: false
- trove-functional-mysql:
voting: false
gate:
queue: trove
jobs:
- trove-tempest:
voting: false
experimental:
jobs:
- trove-functional-mysql
- trove-scenario-mysql-single
- trove-scenario-mysql-multi
- trove-scenario-mariadb-single
- trove-scenario-mariadb-multi
periodic:
jobs:
- publish-trove-guest-image-ubuntu-bionic
- publish-trove-guest-image-ubuntu-bionic-dev
- job:
name: trove-devstack-base
parent: devstack
@ -460,6 +410,26 @@
- openstack/trove
- openstack/tripleo-image-elements
- job:
name: trove-ubuntu-guest-image-build
run: playbooks/image-build/run.yaml
nodeset: trove-ubuntu-focal-single
description: |
Build Ubuntu Bionic based image only on ubuntu distro.
required-projects:
- openstack/diskimage-builder
- openstack/trove
- openstack/tripleo-image-elements
files:
- ^integration/(scripts|tests)/
vars:
guest_os: ubuntu
guest_os_release: bionic
guest_username: ubuntu
branch: master
dev_mode: false
image_suffix: ""
- job:
name: publish-trove-guest-image-ubuntu-bionic
parent: publish-trove-guest-image

15
zuul.d/nodesets.yaml Normal file
View File

@ -0,0 +1,15 @@
- nodeset:
name: trove-ubuntu-focal
nodes:
- name: controller
label: nested-virt-ubuntu-focal
groups:
- name: tempest
nodes:
- controller
- nodeset:
name: trove-ubuntu-focal-single
nodes:
- name: primary
label: ubuntu-focal

42
zuul.d/projects.yaml Normal file
View File

@ -0,0 +1,42 @@
- project:
templates:
- check-requirements
- openstack-cover-jobs
# - openstack-lower-constraints-jobs
- openstack-python3-zed-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-cover:
voting: false
- trove-tox-bandit-baseline:
voting: false
- trove-tempest:
voting: false
- trove-ubuntu-guest-image-build:
voting: true
- trove-tempest-postgres:
voting: false
- trove-tempest-ipv6-only:
voting: false
- trove-functional-mysql:
voting: false
gate:
queue: trove
jobs:
- trove-tempest:
voting: false
experimental:
jobs:
- trove-functional-mysql
- trove-scenario-mysql-single
- trove-scenario-mysql-multi
- trove-scenario-mariadb-single
- trove-scenario-mariadb-multi
periodic:
jobs:
- publish-trove-guest-image-ubuntu-bionic
- publish-trove-guest-image-ubuntu-bionic-dev