-
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
144 additions
and
13 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
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,31 @@ | ||
discover: | ||
how: fmf | ||
execute: | ||
how: tmt | ||
prepare: | ||
- how: feature | ||
epel: enabled | ||
- how: shell | ||
script: | ||
useradd rootlessu | ||
loginctl enable-linger rootlessu | ||
chown -R rootlessu:rootlessu /var | ||
|
||
/upstream: | ||
summary: Run tests on upstream PRs | ||
discover+: | ||
filter: tag:upstream | ||
adjust+: | ||
enabled: false | ||
when: initiator is not defined or initiator != packit | ||
|
||
/downstream: | ||
summary: Run tests on bodhi / errata and dist-git PRs | ||
discover+: | ||
filter: tag:downstream | ||
dist-git-install-builddeps: true | ||
dist-git-source: true | ||
dist-git-remove-fmf-root: true | ||
adjust+: | ||
enabled: false | ||
when: initiator == packit |
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,37 @@ | ||
require: | ||
- bats | ||
- golang | ||
- httpd-tools | ||
- make | ||
- slirp4netns | ||
- socat | ||
|
||
environment: | ||
PODMAN: /usr/bin/podman | ||
PODMAN_REMOTE: /usr/bin/podman-remote | ||
PODMAN_TESTING: /usr/bin/podman-testing | ||
QUADLET: /usr/libexec/podman/quadlet | ||
|
||
/local-root: | ||
tag: [ downstream, upstream, centos, fedora, local, rootful ] | ||
summary: rootful test | ||
test: make -C ../.. localsystem | ||
duration: 60m | ||
|
||
/local-rootless: | ||
tag: [ downstream, upstream, centos, fedora, local, rootless ] | ||
summary: rootless test | ||
test: runuser fedora -c 'make -C ../.. localsystem' | ||
duration: 60m | ||
|
||
/remote-root: | ||
tag: [ downstream, upstream, centos, fedora, remote, rootful ] | ||
summary: remote rootful test | ||
test: make -C ../.. remotesystem | ||
duration: 60m | ||
|
||
/remote-rootless: | ||
tag: [ downstream, upstream, centos, fedora, remote, rootless ] | ||
summary: remote rootless test | ||
test: runuser fedora -c 'make -C ../.. remotesystem' | ||
duration: 60m |
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,6 @@ | ||
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 |