-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skip-ci] [IGNORE] tmt for downstream gating sync
Signed-off-by: Lokesh Mandvekar <[email protected]>
- Loading branch information
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
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,25 @@ | ||
summary: Check basic functionality | ||
discover: | ||
how: fmf | ||
execute: | ||
how: tmt | ||
prepare: | ||
how: feature | ||
epel: enabled | ||
|
||
|
||
/fedora: | ||
summary: Run only on Fedora environments | ||
discover+: | ||
filter: tag:fedora | ||
adjust+: | ||
enabled: false | ||
when: distro == centos-stream or distro == rhel | ||
|
||
/centos: | ||
summary: Run only on CentOS environments | ||
discover+: | ||
filter: tag:centos | ||
adjust+: | ||
enabled: false | ||
when: distro == fedora |
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,2 @@ | ||
require: | ||
- podman |
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,4 @@ | ||
/basic: | ||
tag: [ centos, fedora ] | ||
summary: Execute a simple command | ||
test: podman run -t --rm fedora cat /etc/os-release | grep 'Fedora Linux' |
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,10 @@ | ||
/tmt-on-centos: | ||
tag: [centos] | ||
summary: Make sure that container provision works | ||
require: | ||
- tmt+provision-container | ||
test: | ||
tmt run --verbose --remove | ||
provision --how container --image fedora | ||
login --command 'cat /etc/os-release' | ||
finish |