Test: reformat parts of ostree-ng.sh
Reformat calls of `ansible-playbook` by splitting them into multiple lines. This makes it easier to read. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
6cd7892c47
commit
3cf77187d6
1 changed files with 15 additions and 3 deletions
|
|
@ -549,7 +549,11 @@ EOF
|
|||
|
||||
# Test IoT/Edge OS
|
||||
greenprint "📼 Run Edge tests on BIOS VM"
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory -e image_type="$OSTREE_OSNAME" -e ostree_commit="${INSTALL_HASH}" -e embeded_container="${EMBEDED_CONTAINER}" /usr/share/tests/osbuild-composer/ansible/check_ostree.yaml || RESULTS=0
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory \
|
||||
-e image_type="$OSTREE_OSNAME" \
|
||||
-e ostree_commit="${INSTALL_HASH}" \
|
||||
-e embeded_container="${EMBEDED_CONTAINER}" \
|
||||
/usr/share/tests/osbuild-composer/ansible/check_ostree.yaml || RESULTS=0
|
||||
check_result
|
||||
|
||||
# Clean up BIOS VM
|
||||
|
|
@ -617,7 +621,11 @@ EOF
|
|||
|
||||
# Test IoT/Edge OS
|
||||
greenprint "📼 Run Edge tests on UEFI VM"
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory -e image_type="$OSTREE_OSNAME" -e ostree_commit="${INSTALL_HASH}" -e embeded_container="${EMBEDED_CONTAINER}" /usr/share/tests/osbuild-composer/ansible/check_ostree.yaml || RESULTS=0
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory \
|
||||
-e image_type="$OSTREE_OSNAME" \
|
||||
-e ostree_commit="${INSTALL_HASH}" \
|
||||
-e embeded_container="${EMBEDED_CONTAINER}" \
|
||||
/usr/share/tests/osbuild-composer/ansible/check_ostree.yaml || RESULTS=0
|
||||
|
||||
# Check image installation result
|
||||
check_result
|
||||
|
|
@ -760,7 +768,11 @@ ansible_ssh_common_args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/
|
|||
EOF
|
||||
|
||||
# Test IoT/Edge OS
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory -e image_type="$OSTREE_OSNAME" -e ostree_commit="${UPGRADE_HASH}" -e embeded_container="${EMBEDED_CONTAINER}" /usr/share/tests/osbuild-composer/ansible/check_ostree.yaml || RESULTS=0
|
||||
sudo ansible-playbook -v -i "${TEMPDIR}"/inventory \
|
||||
-e image_type="$OSTREE_OSNAME" \
|
||||
-e ostree_commit="${UPGRADE_HASH}" \
|
||||
-e embeded_container="${EMBEDED_CONTAINER}" \
|
||||
/usr/share/tests/osbuild-composer/ansible/check_ostree.yaml || RESULTS=0
|
||||
check_result
|
||||
|
||||
# Final success clean up
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue