Files
ironic/zuul.d/metal3-jobs.yaml
Dmitry Tantsur e57e4c2d7c Run the ironic-standalone-operator tests as non-voting job
Unlike the existing Metal3 job, this one covers a large number of
different Ironic configurations and is also sensitive to performance
regressions on the API layer.

Claude Code was used for the initial pass of converting the existing
Github workflow to Ansible.

Assisted-By: Claude Code
Change-Id: I80490c4ca89ab40d3cdc4ced7964d3dc06cd9a05
Signed-off-by: Dmitry Tantsur <dtantsur@protonmail.com>
2025-09-08 17:01:27 +02:00

58 lines
1.9 KiB
YAML

---
- job:
name: metal3-base
abstract: true
description: Base job for metal3-dev-env based ironic jobs.
nodeset: ironic-single-node-noble
timeout: 5400
required-projects:
- opendev.org/openstack/ironic
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^driver-requirements.txt$
- ^install-guide/.*$
- ^ironic/locale/.*$
- ^ironic/tests/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^test-requirements.txt$
- ^tox.ini$
- job:
name: metal3-integration
description: Run metal3 CI on ironic.
parent: metal3-base
run: playbooks/metal3-ci/run.yaml
post-run: playbooks/metal3-ci/post.yaml
- job:
name: metal3-ironic-standalone-operator-functional
description: |
Ironic Standalone Operator functional tests.
These tests set up a Minikube cluster and create Ironic installations in
various configurations supported by IrSO. The operator itself is only
installed once, its logs are saved in the "controller" directory. Each
test gets its own logs directory based on its name. This directory
contains logs from all created pods, as well as dumps of various helpful
Kubernetes resources.
Upgrade tests are not currently run by this job because it uses a custom
ironic-image container.
parent: metal3-base
pre-run: playbooks/irso-ci/pre.yaml
run: playbooks/irso-ci/run.yaml
post-run: playbooks/irso-ci/post.yaml
timeout: 7200
nodeset: ironic-single-node-noble
required-projects:
- opendev.org/openstack/ironic
# FIXME(dtantsur): add these to zuul config and stop cloning manually
# - github.com/metal3-io/ironic-image
# - github.com/metal3-io/ironic-standalone-operator
vars:
ironic_image_source: "{{ ansible_user_dir }}/ironic-image"
irso_source: "{{ ansible_user_dir }}/ironic-standalone-operator"