bifrost/zuul.d/bifrost-jobs.yaml
Julia Kreger 1075ee9a28 Add a benchmark job for ironic
Adds a new job which can be invoked by Ironic to allow it to easily
benchmark in CI on a minimalist deployment.

Depends-On: https://review.opendev.org/c/openstack/ironic/+/788335
Change-Id: Ib32f4f05133f68f4c79cd0861597bbf81a736a97
2021-05-26 07:33:04 -07:00

215 lines
5.4 KiB
YAML

- job:
name: bifrost-base
parent: base
irrelevant-files:
- ^.*\.rst$
- ^bifrost/tests/.*$
- ^api-ref/.*$
- ^doc/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^test-requirements.txt$
- ^tools/.*$
- ^tox.ini$
pre-run: playbooks/ci/pre.yaml
run: playbooks/ci/run.yaml
post-run: playbooks/ci/post.yaml
required-projects:
- openstack/bifrost
- openstack/diskimage-builder
- openstack/ironic
- openstack/ironic-inspector
- openstack/ironic-python-agent
- openstack/ironic-python-agent-builder
- openstack/requirements
- x/ironic-staging-drivers
- job:
name: bifrost-integration
parent: bifrost-base
- job:
name: bifrost-integration-dhcp
parent: bifrost-integration
timeout: 7200
vars:
use_dhcp: true
noauth_mode: true
- job:
name: bifrost-integration-dhcp-ubuntu-focal
parent: bifrost-integration-dhcp
nodeset: ubuntu-focal
- job:
name: bifrost-integration-dhcp-centos-8
parent: bifrost-integration-dhcp
nodeset: centos-8-stream
- job:
name: bifrost-integration-dibipa-debian
parent: bifrost-integration
timeout: 7200
vars:
build_image: true
- job:
name: bifrost-integration-dibipa-debian-ubuntu-focal
parent: bifrost-integration-dibipa-debian
nodeset: ubuntu-focal
- job:
name: bifrost-integration-dibipa-debian-centos-8
parent: bifrost-integration-dibipa-debian
nodeset: centos-8-stream
- job:
name: bifrost-integration-tinyipa
parent: bifrost-base
timeout: 3600
vars:
noauth_mode: false
# used by ansible-collections-openstack, openstacksdk, ironic, ironic-inspector
- job:
name: bifrost-integration-tinyipa-ubuntu-bionic
parent: bifrost-integration-tinyipa
nodeset: ubuntu-bionic
# TODO(dtantsur): remove when no other projects are using this job
# used by ansible-collections-openstack
- job:
name: bifrost-integration-tinyipa-keystone-ubuntu-bionic
parent: bifrost-integration-tinyipa
nodeset: ubuntu-bionic
required-projects:
- openstack/keystone
- openstack/ironic-prometheus-exporter
vars:
enable_keystone: true
enable_tls: true
test_driver: redfish
enable_prometheus_exporter: true
- job:
name: bifrost-integration-tinyipa-ubuntu-focal
parent: bifrost-integration-tinyipa
nodeset: ubuntu-focal
- job:
name: bifrost-integration-tinyipa-keystone-ubuntu-focal
parent: bifrost-integration-tinyipa
nodeset: ubuntu-focal
required-projects:
- openstack/keystone
- openstack/ironic-prometheus-exporter
vars:
enable_keystone: true
enable_tls: true
test_driver: redfish
enable_prometheus_exporter: true
- job:
name: bifrost-integration-redfish-vmedia-uefi-ubuntu-focal
parent: bifrost-integration-tinyipa-ubuntu-focal
vars:
boot_mode: uefi
test_driver: redfish
use_vmedia: true
- job:
name: bifrost-cli-ubuntu-focal
parent: bifrost-integration-tinyipa-ubuntu-focal
vars:
cli_test: true
- job:
name: bifrost-integration-tinyipa-centos-8
parent: bifrost-integration-tinyipa
nodeset: centos-8-stream
- job:
name: bifrost-integration-tinyipa-keystone-centos-8
parent: bifrost-integration-tinyipa
nodeset: centos-8-stream
required-projects:
- openstack/keystone
- openstack/ironic-prometheus-exporter
vars:
enable_keystone: true
enable_tls: true
test_driver: redfish
enable_prometheus_exporter: true
- job:
name: bifrost-integration-redfish-vmedia-uefi-centos-8
parent: bifrost-integration-tinyipa-centos-8
vars:
boot_mode: uefi
test_driver: redfish
use_vmedia: true
- job:
name: bifrost-integration-tinyipa-debian-buster
parent: bifrost-integration-tinyipa
nodeset: debian-buster
- job:
name: bifrost-integration-tinyipa-opensuse-15
parent: bifrost-integration-tinyipa
nodeset: opensuse-15
- job:
name: bifrost-integration-tinyipa-fedora-latest
parent: bifrost-integration-tinyipa
nodeset: fedora-latest
- job:
name: bifrost-integration-redfish-uefi-fedora-latest
parent: bifrost-integration-tinyipa-fedora-latest
vars:
boot_mode: uefi
test_driver: redfish
- job:
name: bifrost-tox-linters
parent: openstack-tox-linters
required-projects:
- openstack/ansible-collections-openstack
- job:
name: bifrost-upgrade
parent: bifrost-base
run: playbooks/ci/upgrade.yaml
timeout: 9600
vars:
upgrade_from: stable/victoria
skip_upgrade:
- openstack/diskimage-builder
- openstack/ironic-python-agent-builder
- job:
name: bifrost-upgrade-ubuntu-focal
parent: bifrost-upgrade
nodeset: ubuntu-focal
- job:
name: bifrost-upgrade-keystone-centos8
parent: bifrost-upgrade
nodeset: centos-8-stream
required-projects:
- openstack/keystone
vars:
enable_keystone: true
noauth_mode: false
# NOTE(TheJulia): This job is for use on the ironic repository,
# to provide a minimal platform where we can execute a job where
# basic performance numbers will be referenced/collected.
# Notes are being kept on https://etherpad.opendev.org/p/ironic-performance
- job:
name: bifrost-benchmark-ironic
parent: bifrost-base
timeout: 7200
run: playbooks/ci/benchmark-ironic.yaml