tmt tests have been updated in upstream, downstream needs update Signed-off-by: Xiaofeng Wang <xiaofwan@redhat.com>
99 lines
2.6 KiB
Plaintext
99 lines
2.6 KiB
Plaintext
discover:
|
|
how: fmf
|
|
dist-git-source: true
|
|
dist-git-install-builddeps: true
|
|
execute:
|
|
how: tmt
|
|
environment:
|
|
NIGHTLY_COMPOSE_SITE: download.devel.redhat.com
|
|
prepare:
|
|
# Install image mode system on package mode system
|
|
- how: install
|
|
order: 97
|
|
package:
|
|
- podman
|
|
- skopeo
|
|
- jq
|
|
- bootc
|
|
- system-reinstall-bootc
|
|
- expect
|
|
- ansible-core
|
|
- zstd
|
|
- how: shell
|
|
order: 98
|
|
script:
|
|
- pwd && ls -al && ls -al /var/share/test-artifacts && mkdir -p bootc && cp /var/share/test-artifacts/*.src.rpm bootc
|
|
- cd bootc && ls -al && rpm2cpio *.src.rpm | cpio -idmv && rm -f *-vendor.tar.zstd && zstd -d *.tar.zstd && tar -xvf *.tar -C . --strip-components=1 && ls -al
|
|
- cd bootc/hack && ./provision-packit.sh
|
|
# tmt-reboot and reboot do not work in this case
|
|
# reboot in ansible is the only way to reboot in tmt prepare
|
|
- how: ansible
|
|
order: 99
|
|
playbook:
|
|
- https://github.com/bootc-dev/bootc/raw/refs/heads/main/hack/packit-reboot.yml
|
|
|
|
/plan-01-readonly:
|
|
summary: Execute booted readonly/nondestructive tests
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-01-readonly
|
|
extra-try_bind_storage: true
|
|
|
|
/plan-20-image-pushpull-upgrade:
|
|
summary: Execute local upgrade tests
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-20-image-pushpull-upgrade
|
|
|
|
/plan-21-logically-bound-switch:
|
|
summary: Execute logically bound images tests for switching images
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-21-logically-bound-switch
|
|
|
|
/plan-22-logically-bound-install:
|
|
summary: Execute logically bound images tests for installing image
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-22-logically-bound-install
|
|
|
|
/plan-23-install-outside-container:
|
|
summary: Execute tests for installing outside of a container
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-23-install-outside-container
|
|
|
|
/plan-23-usroverlay:
|
|
summary: Execute tests for bootc usrover
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-23-usroverlay
|
|
|
|
/plan-24-image-upgrade-reboot:
|
|
summary: Execute local upgrade tests
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-24-image-upgrade-reboot
|
|
extra-try_bind_storage: true
|
|
|
|
/plan-25-soft-reboot:
|
|
summary: Execute soft reboot test
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-25-soft-reboot
|
|
|
|
/plan-29-soft-reboot-selinux-policy:
|
|
summary: Test soft reboot with SELinux policy changes
|
|
discover+:
|
|
how: fmf
|
|
test:
|
|
- /tmt/tests/tests/test-29-soft-reboot-selinux-policy
|