From 73e0dbbb7e23f55afa0ebacd577982c7d1c4c714 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 1 Oct 2026 15:06:17 -0600 Subject: [PATCH] docs: test ubuntu 26.04 Signed-off-by: Rich Megginson --- README.md | 2 +- tests/tests_bootc_e2e.yml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 tests/tests_bootc_e2e.yml diff --git a/README.md b/README.md index fdd0bad..1d3c19f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A template for an ansible role that configures some GNU/Linux subsystem or service. A brief description of the role goes here. -test change 17 +test ubuntu 26.04 ## Requirements diff --git a/tests/tests_bootc_e2e.yml b/tests/tests_bootc_e2e.yml new file mode 100644 index 0000000..12d8857 --- /dev/null +++ b/tests/tests_bootc_e2e.yml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: MIT +--- +- name: Bootc end-to-end test + hosts: all + tags: + - tests::bootc-e2e + + tasks: + - name: Bootc image build preparation + when: ansible_connection | d("") == "buildah" + block: + - name: Run role + include_tasks: tasks/run_role_with_clear_facts.yml + + - name: Create QEMU deployment + delegate_to: localhost + command: "{{ lsr_scriptdir }}/bootc-buildah-qcow.sh {{ ansible_host }}" + changed_when: true + + - name: Validation of deployed image + when: ansible_connection | d("") != "buildah" + block: + - name: Do something + command: ls + changed_when: false