Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
169229ad6d | ||
|
|
8082471845 | ||
|
|
8b00be88dc | ||
|
|
8b7b8b49ab | ||
|
|
21564b7e7f | ||
|
|
33c6bb7a5f | ||
|
|
e51ba9bef0 | ||
|
|
c20af2d0d3 |
||
|
|
15e00d4f10 | ||
|
|
adad56f1a3 | ||
|
|
baf6637d89 | ||
|
|
e043243eaa |
9 changed files with 14 additions and 68 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -240,6 +240,3 @@
|
|||
/v2.240.0.tar.gz
|
||||
/v2.241.0.tar.gz
|
||||
/v2.242.0.tar.gz
|
||||
/v2.243.0.tar.gz
|
||||
/v2.244.0.tar.gz
|
||||
/v2.245.0.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
This repository is maintained by packit.
|
||||
https://packit.dev/
|
||||
The file was generated using packit 1.13.0.
|
||||
The file was generated using packit 1.11.0.post1.dev7+gfdcdf3a32.
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ Epoch: 4
|
|||
# Keep Version in upstream specfile at 0. It will be automatically set
|
||||
# to the correct value by Packit for copr and koji builds.
|
||||
# IGNORE this comment if you're looking at it in dist-git.
|
||||
Version: 2.245.0
|
||||
Version: 2.242.0
|
||||
Release: %autorelease
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/containers/%{name}
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ discover:
|
|||
execute:
|
||||
how: tmt
|
||||
prepare:
|
||||
- how: feature
|
||||
epel: enabled
|
||||
# TODO: Revisit this once https://github.com/teemtee/tmt/issues/3990 is in place.
|
||||
# FIXME: For whatever reason, CentOS Stream envs end up upgrading container-selinux
|
||||
# from podman-next instead of using the one installed by Packit. This apparently should
|
||||
# be easier to handle once tmt#3990 is done. Things work as expected on Fedora already.
|
||||
- when: distro == centos-stream or distro == rhel
|
||||
how: shell
|
||||
script: |
|
||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
|
||||
dnf -y config-manager --set-enabled epel
|
||||
order: 10
|
||||
- when: initiator == packit
|
||||
how: shell
|
||||
script: |
|
||||
|
|
@ -16,15 +16,5 @@ prepare:
|
|||
if compgen -G $COPR_REPO_FILE > /dev/null; then
|
||||
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
|
||||
fi
|
||||
|
||||
/basic_check:
|
||||
discover+:
|
||||
test: /test/basic_check
|
||||
|
||||
/podman_rootful_system:
|
||||
discover+:
|
||||
test: /test/podman_rootful_system
|
||||
|
||||
/podman_rootless_system:
|
||||
discover+:
|
||||
test: /test/podman_rootless_system
|
||||
dnf -y upgrade --allowerasing
|
||||
order: 20
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
/:
|
||||
inherit: false
|
||||
|
||||
summary: Run tmt's integration tests
|
||||
plan:
|
||||
import:
|
||||
url: https://github.com/teemtee/tmt
|
||||
path: /plans/friends
|
||||
name: /podman
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (v2.245.0.tar.gz) = 0bc85980780631ceccb38f2fde64ff7f3792be18d4501806532f097deedde70f446e2389c543dd78e9087b45cd1a6916c0e096e6ea42dd77ac377ad4111b7db2
|
||||
SHA512 (v2.242.0.tar.gz) = 48ed0644081cd1f52d2e842c46af9c7dd64685aab121a9a275da2ea75eb8b48b7b24ffc45658b6bc78b41a9bad116c3352e1bd540cfba298276519cd6ddea47c
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
require:
|
||||
- attr
|
||||
- bats
|
||||
- container-selinux
|
||||
- podman-tests
|
||||
- policycoreutils
|
||||
recommend:
|
||||
- bats
|
||||
|
||||
/basic_check:
|
||||
summary: Run basic checks
|
||||
|
|
@ -13,22 +12,6 @@ recommend:
|
|||
semodule -B
|
||||
rpm -Vqf /var/lib/selinux/*/active/modules/200/container
|
||||
|
||||
/podman_rootful_system:
|
||||
/podman_system_test:
|
||||
summary: Run SELinux specific Podman system tests
|
||||
test: bash ./podman-rootful-tests.sh
|
||||
|
||||
/podman_rootless_system:
|
||||
summary: Run rootless Podman system tests
|
||||
test: bash ./podman-rootless-tests.sh
|
||||
require+:
|
||||
- passt
|
||||
- passt-selinux
|
||||
environment:
|
||||
ROOTLESS_USER: "fedora"
|
||||
adjust:
|
||||
- when: distro == centos-stream
|
||||
environment+:
|
||||
ROOTLESS_USER: "ec2-user"
|
||||
- when: distro == rhel
|
||||
environment+:
|
||||
ROOTLESS_USER: "cloud-user"
|
||||
test: bash ./podman-tests.sh
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -exo pipefail
|
||||
|
||||
cat /etc/redhat-release
|
||||
|
||||
# Print versions of distro and installed packages
|
||||
rpm -q bats container-selinux passt passt-selinux podman podman-tests policycoreutils selinux-policy
|
||||
|
||||
loginctl enable-linger "$ROOTLESS_USER"
|
||||
|
||||
# Run podman system tests
|
||||
su - "$ROOTLESS_USER" -c "bats /usr/share/podman/test/system/410-selinux.bats"
|
||||
su - "$ROOTLESS_USER" -c "bats /usr/share/podman/test/system/500-networking.bats"
|
||||
su - "$ROOTLESS_USER" -c "bats /usr/share/podman/test/system/505-networking-pasta.bats"
|
||||
Loading…
Add table
Add a link
Reference in a new issue