Skip to content

Commit 6cb7b1a

Browse files
committed
tests: Update tests_combination for bootc end-to-end validation
Pick the first of the four scenarios in this test as bootc end-to-end test, as that covers a lot of settings. See https://issues.redhat.com/browse/RHEL-78157
1 parent 431e422 commit 6cb7b1a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

tests/tests_combination.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,32 @@
7878
include_role:
7979
name: linux-system-roles.logging
8080
public: true
81+
when: not __bootc_validation | d(false)
82+
83+
# role does not run during bootc QEMU validation, thus some variables are undefined
84+
- name: Set __logging_is_booted for bootc validation tests
85+
set_fact:
86+
__logging_is_booted: true
87+
logging_manage_firewall: false
88+
logging_manage_selinux: false
89+
logging_tcp_ports: []
90+
logging_udp_ports: []
91+
logging_tls_tcp_ports: []
92+
logging_tls_udp_ports: []
93+
when: __bootc_validation | d(false)
8194

8295
# notify Restart rsyslogd is executed at the end of this test task.
8396
# thus we have to force to invoke handlers
8497
- name: "Force all notified handlers to run at this point,
8598
not waiting for normal sync points"
8699
meta: flush_handlers
87100

101+
- name: Create QEMU deployment during bootc end-to-end test
102+
delegate_to: localhost
103+
command: "{{ lsr_scriptdir }}/bootc-buildah-qcow.sh {{ ansible_host }}"
104+
changed_when: true
105+
when: ansible_connection == "buildah"
106+
88107
- name: Ensure config file size and counts
89108
vars:
90109
__conf_count: 10
@@ -206,6 +225,11 @@
206225
name: linux-system-roles.logging
207226
public: true
208227

228+
# do just one image/verify cycle for the bootc end-to-end test
229+
- name: Skip remaining steps in bootc end-to-end validation
230+
meta: end_play
231+
when: __bootc_validation | d(false)
232+
209233
# notify Restart rsyslogd is executed at the end of this test task.
210234
# thus we have to force to invoke handlers
211235
- name: "Force all notified handlers to run at this point,

0 commit comments

Comments
 (0)