Skip to content

Commit 3a26af9

Browse files
committed
tests: Update tests_all_options.yml to do bootc end-to-end validation
Move the generated file to /etc, as files in /tmp don't get included in a bootc deployment. See https://issues.redhat.com/browse/RHEL-78157
1 parent 30669f8 commit 3a26af9

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/tests_all_options.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,20 @@
9494
name: linux-system-roles.ssh
9595
vars:
9696
__ssh_supports_validate: false
97-
ssh_config_file: /tmp/ssh_config
97+
ssh_config_file: /etc/test_ssh_config
9898
ssh:
9999
"{{ ssh_c }}"
100+
when: not __bootc_validation | d(false)
101+
102+
- name: Create QEMU deployment during bootc end-to-end test
103+
delegate_to: localhost
104+
command: "{{ lsr_scriptdir }}/bootc-buildah-qcow.sh {{ ansible_host }}"
105+
changed_when: true
106+
when: ansible_connection == "buildah"
100107

101108
- name: Download the configuration file
102109
slurp:
103-
src: /tmp/ssh_config
110+
src: /etc/test_ssh_config
104111
register: config
105112

106113
- name: Verify the options are in the file

0 commit comments

Comments
 (0)