-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: Run e2e test on Packit #638
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f5025dc
test: e2e test update
henrywang 39e2403
test: update packit to run e2e test on it
henrywang b797a36
test: download bootc rpm from copr
henrywang f2de4ce
test: add create-archive and fix-spec-file in packit.yaml
henrywang 8d51287
test: add cargo xtask spec to configure bootc.spec
henrywang 5811897
test: use copr build repo to upgrade bootc in container image
henrywang f970942
test: set TEST_OS with $ID and $VERSION_ID
henrywang 45304e3
test: delete unused files
henrywang 98b62ff
test: run all podman in root mode with sudo
henrywang d3d33dd
test: add fedora rawhide e2e test
henrywang 92731d1
test: add ppc64le rpm build test
henrywang 2993ffc
test: fix fedora-rawhide TEST_OS issue and arch issue in
henrywang 309beb1
test: run cs9 and fedora 40 est on x86_64 runner due to tf runner
henrywang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This syntax is YAML sorcery to me...is there any description of what the
/
and+
do in particular?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When configure tmt plan or test, it supports regular expression, starting with
/
to avoid regular expression, but just a string match. The/
comes from plan or test name, for example:The
+
means adding addition configuration based ontop level
configuration. In this case, The top level hasadjust
configured already.