Compare commits

..

28 commits

Author SHA1 Message Date
Packit
615e4619a4 Update to 2.245.0 upstream release
Upstream tag: v2.245.0
Upstream commit: 3f7c37e9

Commit authored by Packit automation (https://packit.dev/)
2025-12-15 15:49:15 +00:00
Packit
3f88bda292 Update to 2.244.0 upstream release
Upstream tag: v2.244.0
Upstream commit: 9017e1f8

Commit authored by Packit automation (https://packit.dev/)
2025-12-01 15:51:17 +00:00
Packit
99f38c064f Update to 2.243.0 upstream release
Upstream tag: v2.243.0
Upstream commit: efdee4df

Commit authored by Packit automation (https://packit.dev/)
2025-11-07 19:05:10 +00:00
Packit
ac7e099b8e Update to 2.242.0 upstream release
Upstream tag: v2.242.0
Upstream commit: edfbda46

Commit authored by Packit automation (https://packit.dev/)
2025-09-05 14:44:40 +00:00
Packit
f5e56373a3 Update to 2.241.0 upstream release
Upstream tag: v2.241.0
Upstream commit: 5997aa52

Commit authored by Packit automation (https://packit.dev/)
2025-08-19 16:05:32 +00:00
Packit
33a94c0fec Update to 2.240.0 upstream release
Upstream tag: v2.240.0
Upstream commit: 10cc7eca

Commit authored by Packit automation (https://packit.dev/)
2025-08-07 12:54:13 +00:00
Fedora Release Engineering
ae2bda3b19 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:38:20 +00:00
Packit
b938868d0d Update to 2.239.0 upstream release
Upstream tag: v2.239.0
Upstream commit: 229e8d8b

Commit authored by Packit automation (https://packit.dev/)
2025-07-07 16:09:13 +00:00
Packit
556c1de554 Update to 2.238.0 upstream release
Upstream tag: v2.238.0
Upstream commit: 36e8f213

Commit authored by Packit automation (https://packit.dev/)
2025-05-30 18:02:24 +00:00
Packit
1b9c808c73 Update to 2.237.0 upstream release
Upstream tag: v2.237.0
Upstream commit: d7e420a1

Commit authored by Packit automation (https://packit.dev/)
2025-04-28 19:06:43 +00:00
Packit
5c4e72179b Update to 2.236.0 upstream release
Upstream tag: v2.236.0
Upstream commit: 4244f856

Commit authored by Packit automation (https://packit.dev/)
2025-03-13 20:26:37 +00:00
Lokesh Mandvekar
a15b46699b
fix gating.yaml 2025-02-24 17:01:52 +05:30
Packit
58f6209191 Update to 2.235.0 upstream release
Upstream tag: v2.235.0
Upstream commit: c9b3eca0

Commit authored by Packit automation (https://packit.dev/)
2025-02-24 10:42:38 +00:00
Fedora Release Engineering
67ab29b766 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 14:27:37 +00:00
Lokesh Mandvekar
c2d42deedf
TMT: sync tests with upstream
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2024-12-26 15:35:58 +05:30
Packit
038f1b6063 Update to 2.234.2 upstream release
Upstream tag: v2.234.2
Upstream commit: cd0a1758

Commit authored by Packit automation (https://packit.dev/)
2024-11-11 14:12:33 +00:00
Packit
edda101018 Update to 2.234.1 upstream release
Upstream tag: v2.234.1
Upstream commit: 8ba68ee9

Commit authored by Packit automation (https://packit.dev/)
2024-11-11 12:09:59 +00:00
Packit
b4ebc80e86 Update to 2.233.0 upstream release
Upstream tag: v2.233.0
Upstream commit: cc5da8a9

Commit authored by Packit automation (https://packit.dev/)
2024-09-11 14:00:39 +00:00
Fedora Release Engineering
1d88ecfc56 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 19:56:23 +00:00
Packit
8377dcb72b Update to 2.232.1 upstream release
Upstream tag: v2.232.1
Upstream commit: 4ff1a398

Commit authored by Packit automation (https://packit.dev/)
2024-06-10 17:32:34 +00:00
Lokesh Mandvekar
66b85a8781
sync test plans from upstream 2024-05-27 11:31:29 -04:00
Lokesh Mandvekar
1012b5368e
fix gating.yaml
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 16:13:42 -04:00
Lokesh Mandvekar
6548fb56c2
TMT: use fmf to discover tests
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 15:52:00 -04:00
Lokesh Mandvekar
114bba5ebc
Reuse TMT tests: remove old STI tests
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 15:25:18 -04:00
Lokesh Mandvekar
7c08fffb11
Attempt to use TMT plans
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-05-20 15:00:44 -04:00
Packit
2d328af1cd Update to 2.231.0 upstream release
- Resolves: rhbz#2276827

Upstream tag: v2.231.0
Upstream commit: 5d983412

Commit authored by Packit automation (https://packit.dev/)
2024-04-24 14:30:43 +00:00
Packit
f7ef46bd6b [packit] 2.230.0 upstream release
Upstream tag: v2.230.0
Upstream commit: 5cec8532
2024-03-02 18:44:04 +00:00
Packit
a24e6afd78 [packit] 2.229.1 upstream release
Upstream tag: v2.229.1
Upstream commit: a023e9ee
2024-02-28 15:07:51 +00:00
11 changed files with 96 additions and 36 deletions

10
.gitignore vendored
View file

@ -227,9 +227,19 @@
/v2.229.1.tar.gz
/v2.230.0.tar.gz
/v2.231.0.tar.gz
/packit-tmt-bodhi-reuse.zip
/v2.232.1.tar.gz
/v2.233.0.tar.gz
/v2.234.1.tar.gz
/v2.234.2.tar.gz
/v2.235.0.tar.gz
/v2.236.0.tar.gz
/v2.237.0.tar.gz
/v2.238.0.tar.gz
/v2.239.0.tar.gz
/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

View file

@ -54,7 +54,7 @@ jobs:
packages: [container-selinux-eln]
notifications: *copr_build_failure_notification
enable_net: true
targets:
targets: &eln_copr_targets
- fedora-eln-x86_64
- fedora-eln-aarch64
@ -97,6 +97,18 @@ jobs:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-$releasever/rhcontainerbot-podman-next-fedora-$releasever.repo
# Tests for Fedora
- job: tests
trigger: pull_request
packages: [container-selinux-eln]
notifications: *test_failure_notification
targets: *eln_copr_targets
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-eln/rhcontainerbot-podman-next-fedora-eln.repo
# Tests for CentOS Stream
- job: tests
trigger: pull_request

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.2.0.post1.dev13+g55ed4527.
The file was generated using packit 1.13.0.

View file

@ -20,14 +20,14 @@
%define no_user_namespace 1
%endif
# copr_build is more intuitive than copr_username
%if %{defined copr_username}
%define copr_build 1
# set copr_build is more intuitive than copr_username
%if %{defined copr_username} && "%{copr_username}" == "rhcontainerbot" && "%{copr_projectname}" == "podman-next"
%define next_build 1
%endif
Name: container-selinux
# Set different Epochs for copr and koji
%if %{defined copr_build}
# Set different Epoch for rhcontainerbot/podman-next copr build
%if %{defined next_build}
Epoch: 102
%else
Epoch: 4
@ -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.236.0
Version: 2.245.0
Release: %autorelease
License: GPL-2.0-only
URL: https://github.com/containers/%{name}
@ -111,6 +111,9 @@ fi
%posttrans
%selinux_relabel_post
# Empty placeholder check to silence rpmlint
%check
#define license tag if not already defined
%{!?_licensedir:%global license %doc}

View file

@ -3,12 +3,12 @@ discover:
execute:
how: tmt
prepare:
- 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
- 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: initiator == packit
how: shell
script: |
@ -16,5 +16,15 @@ prepare:
if compgen -G $COPR_REPO_FILE > /dev/null; then
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
fi
dnf -y upgrade --allowerasing
order: 20
/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

9
plans/tmt.fmf Normal file
View file

@ -0,0 +1,9 @@
/:
inherit: false
summary: Run tmt's integration tests
plan:
import:
url: https://github.com/teemtee/tmt
path: /plans/friends
name: /podman

View file

@ -1 +1 @@
SHA512 (v2.236.0.tar.gz) = 02f4cf1549bbe8c647fc2d2af9f239a23b47e67964d2ee66a45578b6494a9257185f210a61a3e666470489698760b6dd336db3e6a867002fdac68f64689d3841
SHA512 (v2.245.0.tar.gz) = 0bc85980780631ceccb38f2fde64ff7f3792be18d4501806532f097deedde70f446e2389c543dd78e9087b45cd1a6916c0e096e6ea42dd77ac377ad4111b7db2

View file

@ -1,9 +1,10 @@
require:
- attr
- bats
- container-selinux
- podman-tests
- policycoreutils
recommend:
- bats
/basic_check:
summary: Run basic checks
@ -12,6 +13,22 @@ require:
semodule -B
rpm -Vqf /var/lib/selinux/*/active/modules/200/container
/podman_system_test:
/podman_rootful_system:
summary: Run SELinux specific Podman system tests
test: bash ./podman-tests.sh
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"

View file

@ -0,0 +1,15 @@
#!/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"

View file

@ -1,16 +0,0 @@
- hosts: localhost
tags:
- classic
roles:
- role: standard-test-basic
required_packages:
- policycoreutils
- container-selinux
- podman
tests:
- is-module-installed:
run: semodule --list=full | grep container
- can-rebuild-policy:
run: semodule -B
- can-run-podman:
run: podman run --rm quay.io/libpod/testimage:20210610 cat -v /proc/self/attr/current