Files
ironic/playbooks/irso-ci/run.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

26 lines
828 B
YAML

---
- name: IrSO Functional Tests
hosts: all
vars:
local_install_path: /usr/local
logdir: "{{ ansible_user_dir }}/metal3-logs"
environment:
CLUSTER_TYPE: minikube
CONTAINER_RUNTIME: docker
IRONIC_CUSTOM_IMAGE: localhost/ironic:test
IRONIC_CUSTOM_VERSION: latest
IRONIC_SOURCE: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/ironic'].src_dir }}"
LOGDIR: "{{ logdir }}"
PATH: "{{ local_install_path }}/go/bin:{{ local_install_path }}/bin:{{ ansible_env.PATH }}"
JUNIT_OUTPUT: "{{ logdir }}/report.xml"
tasks:
- name: Prepare tests
command: "{{ irso_source }}/test/prepare.sh"
- name: Build and load the image
command: "{{ ironic_image_source }}/hack/prepare-irso-tests.sh"
- name: Run tests
command: "{{ irso_source }}/test/run.sh"