Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ files_to_sync:
- src: plans/
dest: plans/
delete: true
mkpath: true
- src: test/
dest: test/
delete: true
mkpath: true
- src: .fmf/
dest: .fmf/
delete: true
Expand Down Expand Up @@ -44,10 +46,7 @@ jobs:
enable_net: true
# container-selinux is noarch so we only need to test on one arch
targets: &fedora_copr_targets
- fedora-development
- fedora-latest
- fedora-ltest-stable
- fedora-40
- fedora-all

- job: copr_build
trigger: pull_request
Expand Down
3 changes: 3 additions & 0 deletions plans/all.fmf → plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ discover:
how: fmf
execute:
how: tmt
prepare:
how: feature
epel: enabled

/upstream:
summary: Run SELinux specific Podman tests on upstream PRs
Expand Down
2 changes: 2 additions & 0 deletions test/main.fmf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Only common dependencies that are NOT required to run podman-tests.sh are
# specified here. Everything else is in podman-tests.sh.
require:
- bats
- cpio
- golang
- make
- policycoreutils

Expand Down
4 changes: 0 additions & 4 deletions test/podman-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ tar zxf *.tar.gz

popd

# Install dependencies for running tests
# NOTE: bats will be fetched from Fedora repos on public testing-farm envs if EPEL repo is absent or disabled.
dnf -y install bats golang

# Print versions of distro and installed packages
rpm -q bats container-selinux golang podman podman-tests selinux-policy

Expand Down