-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #638 from henrywang/new_e2e
Test: Run e2e test on Packit
- Loading branch information
Showing
31 changed files
with
643 additions
and
1,277 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
discover: | ||
how: fmf | ||
test: e2e | ||
adjust: | ||
- when: arch == x86_64 or arch == aarch64 | ||
provision: | ||
hardware: | ||
cpu: | ||
processors: ">= 2" | ||
memory: ">= 6 GB" | ||
virtualization: | ||
is-supported: true | ||
prepare: | ||
- how: shell | ||
script: | | ||
source /etc/os-release | ||
if [[ "$ID" == "centos" ]]; then | ||
# EPEL for genisoimage | ||
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm | ||
fi | ||
- how: install | ||
package: | ||
- ansible-core | ||
- firewalld | ||
- podman | ||
- skopeo | ||
- jq | ||
- openssl | ||
- qemu-img | ||
- qemu-kvm | ||
- libvirt | ||
- virt-install | ||
- genisoimage | ||
- how: shell | ||
script: ansible-galaxy collection install https://ansible-collection.s3.amazonaws.com/ansible-posix-1.5.4.tar.gz https://ansible-collection.s3.amazonaws.com/community-general-8.5.0.tar.gz | ||
execute: | ||
how: tmt | ||
|
||
/to-existing-root: | ||
summary: Run bootc install to-existing-root and bootc switch test locally (nested) | ||
environment+: | ||
TEST_CASE: to-existing-root | ||
discover+: | ||
test: | ||
- /to-existing-root | ||
adjust+: | ||
- when: arch == ppc64le | ||
enabled: false | ||
|
||
/to-disk: | ||
summary: Run bootc install to-disk and bootc upgrade test locally (nested) | ||
environment+: | ||
TEST_CASE: to-disk | ||
discover+: | ||
test: | ||
- /to-disk | ||
adjust+: | ||
- when: arch == ppc64le | ||
enabled: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
## End to end (e2e) Test | ||
|
||
### Scenarios | ||
|
||
End to end (e2e) test includes `bootc install to-existing-root`, `bootc install to-disk`, `bootc upgrade`, and `bootc switch` tests | ||
|
||
* bootc install/upgrade/switch scenario will install, upgrade, and switch bootc image and have some system checking, such as check mount point/permission, run podman with root and rootless, check persistent log, etc. | ||
|
||
### Run end to end Test | ||
|
||
Test run is drived by [Packit](https://packit.dev/) and running on [Testing-farm](https://docs.testing-farm.io/). |
Oops, something went wrong.