Compare commits

..

56 commits

Author SHA1 Message Date
Daniel J Walsh
64df6e4c2c
Resolves: #1619411 - python3-podman should require python3-psutil
podman-docker should conflict with moby-engine
require nftables
recommend slirp4netns and fuse-overlayfs (latter only for kernel >= 4.18)
2018-08-26 07:26:04 -04:00
baude
ae57335223 small changes to spec to deal with systemd and varlink conf files
Signed-off-by: baude <bbaude@redhat.com>
2018-08-17 20:59:58 -05:00
baude
24aebce18e upstream 0.8.3 release
Signed-off-by: baude <bbaude@redhat.com>
2018-08-17 19:51:25 -05:00
Daniel J Walsh
1c489e8814
Fix podman running as non root to use cgroupfs 2018-08-13 14:47:16 -04:00
Daniel J Walsh
3b59b9167d
Upstream 0.8.2.1 release 2018-08-12 06:20:41 -04:00
baude
35bc45e44c Reverting the conmon commit version
Signed-off-by: baude <bbaude@redhat.com>
2018-08-06 15:14:05 -05:00
Daniel J Walsh
c5f597d25a
Bump to v0.8.1 2018-08-04 06:01:49 -04:00
Daniel J Walsh
0945c3be00
Bump to v0.8.1 2018-08-04 04:23:35 -04:00
Daniel J Walsh
9190c9536b
Fix commit version so we get the right code 2018-07-29 07:02:49 -04:00
Daniel J Walsh
fb25054e9a
Upstream 0.7.4 2018-07-28 09:37:56 -04:00
Daniel J Walsh
8b3a765a8a
Upstream 0.7.4 2018-07-28 09:23:06 -04:00
Daniel J Walsh
2566a30e68
Upstream 0.7.4 2018-07-28 07:22:00 -04:00
Daniel J Walsh
8ad163c53d
Upstream 0.7.4 2018-07-27 13:35:12 -04:00
Daniel J Walsh
78c58edeab
Merge branch 'f27' of ssh://pkgs.fedoraproject.org/rpms/podman into f27 2018-07-27 12:34:11 -04:00
Daniel J Walsh
f3089680a3
Upstream 0.7.4 2018-07-27 12:32:40 -04:00
baude
94cfecb1bb Upstream 0.7.3 2018-07-20 15:30:30 -05:00
Daniel J Walsh
355d1057b9
Fix conmon version 2018-07-19 17:34:45 -04:00
Daniel J Walsh
d251af6f3f
Bump to v0.7.2 2018-07-14 08:22:40 -04:00
baude
2026ec1d9c Upstream 0.7.1 release
Signed-off-by: baude <bbaude@redhat.com>
2018-07-09 09:13:35 -05:00
baude
93487ae1e6 upstream 0.7.1
Signed-off-by: baude <bbaude@redhat.com>
2018-07-06 17:42:53 -05:00
baude
f8824c56ed Upstream 0.6.5 2018-06-29 16:07:13 -05:00
baude
131862c9a8 Upstream 0.6.4 2018-06-22 15:33:48 -05:00
baude
67d7b5c046 Upstream 0.6.3 2018-06-15 12:20:02 -05:00
Daniel J Walsh
e80c22b964
Bump to v0.6.2 2018-06-11 14:41:46 -04:00
Daniel J Walsh
c40129f0a5
Bump to v0.6.2 2018-06-11 14:38:27 -04:00
Daniel J Walsh
55a12353b6
requires skopeo-containers, since containers-common is not yet in f27 2018-06-10 18:59:36 -04:00
Daniel J Walsh
37c2c1e934
Bump to v0.6.2 2018-06-08 15:16:41 -04:00
baude
e126b214a7 Upstream 0.6.1 release 2018-06-01 17:46:39 -05:00
baude
cdddfb59ed generate the varlink go file prior to build
Signed-off-by: baude <bbaude@redhat.com>
2018-05-29 15:37:49 -05:00
baude
00af0584ae Upstream 0.5.4 2018-05-25 13:21:33 -05:00
baude
4f555eaa9c Patching to correct paths and security permissions 2018-05-19 11:06:18 -05:00
baude
f142f8d504 Upstream 0.5.3 2018-05-18 14:09:23 -05:00
baude
103a1635e4 Upstream 0.5.2 2018-05-11 13:27:09 -05:00
baude
57e6b7ca23 Upstream 0.5.1 release 2018-05-04 11:03:30 -05:00
baude
a79325135f Release 0.4.4-2 ... fixes to commit and systemd files 2018-05-01 08:00:27 -05:00
baude
ea40d9effe Upstream release 0.4.4 2018-04-27 19:24:36 -05:00
baude
44528bb774 Upstream 0.4.3 2018-04-20 13:00:56 -05:00
baude
f60e8c6c12 Add runtime dep for oci-systemd-hook
Signed-off-by: baude <bbaude@redhat.com>
2018-04-16 13:23:07 -05:00
baude
cb8cb423d9 New Upstream 0.4.2 release and updated conmon 2018-04-13 14:17:18 -05:00
baude
d5897a3b49 Upstream release 0.4.1 2018-04-05 12:37:57 -05:00
Daniel J Walsh
d9d7979fbd Add proper version of conmon 2018-04-03 08:45:06 -04:00
Daniel J Walsh
cea7490e28 Add proper version of conmon 2018-04-03 08:20:29 -04:00
baude
af2c842d0b Upstream 0.3.5 2018-03-29 13:41:26 -05:00
baude
4a4cdc766a Upstream release 0.3.4 2018-03-23 13:30:34 -05:00
baude
224038594f upstream 0.3.3 2018-03-16 10:43:27 -05:00
Lokesh Mandvekar
62d028eb85 podman-0.3.3-1.dev.gitbc358eb
- built podman commit bc358eb
- built conmon from cri-o commit 712f3b8

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2018-03-14 14:38:14 -04:00
baude
e63712aee2 Version 0.3.2-1 2018-03-09 09:40:50 -06:00
baude
c4991274bb version correction 2018-03-04 11:23:44 -06:00
baude
63bea215f3 0.3.1-1 2018-03-02 15:38:14 -06:00
baude
622079f99a release 0.3.1-1
Signed-off-by: baude <bbaude@redhat.com>
2018-03-02 15:29:01 -06:00
baude
e0df41811b v0.2.2 2018-02-23 13:28:47 -06:00
baude
b40d77906e 0.2.1 2018-02-16 13:50:19 -06:00
baude
6a48eb6852 missing dep found during tests 2018-02-14 09:49:37 -06:00
baude
5b3bc51eae add iptables and cni, add 64bit arches 2018-02-13 13:35:47 -06:00
baude
dec1fd2f40 Correct versioning error 2018-02-12 13:14:13 -06:00
baude
8b72355617 Release 0.2.1 2018-02-12 13:14:06 -06:00
15 changed files with 922 additions and 2542 deletions

View file

@ -1 +0,0 @@
1

1798
.gitignore vendored

File diff suppressed because it is too large Load diff

View file

@ -1,166 +0,0 @@
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
downstream_package_name: podman
upstream_tag_template: v{version}
# These files get synced from upstream to downstream (Fedora / CentOS Stream) on every
# propose-downstream job. This is done so tests maintained upstream can be run
# downstream in Zuul CI and Bodhi.
# Ref: https://packit.dev/docs/configuration#files_to_sync
files_to_sync:
- src: rpm/gating.yaml
dest: gating.yaml
delete: true
- src: plans/
dest: plans/
delete: true
mkpath: true
- src: test/tmt/
dest: test/tmt/
delete: true
mkpath: true
- src: .fmf/
dest: .fmf/
delete: true
- .packit.yaml
packages:
podman-fedora:
pkg_tool: fedpkg
specfile_path: rpm/podman.spec
podman-centos:
pkg_tool: centpkg
specfile_path: rpm/podman.spec
podman-eln:
specfile_path: rpm/podman.spec
# Disable automatic merging for Copr builds (and subsequent Testing Farm)
merge_pr_in_ci: false
srpm_build_deps:
- git-archive-all
- make
actions:
fix-spec-file: "bash .packit-copr-rpm.sh"
pre-sync: "bash .packit-rpm-git-commit.sh"
jobs:
- job: copr_build
trigger: pull_request
packages: [podman-fedora]
notifications: &packit_generic_failure_notification
failure_comment:
message: "[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore."
enable_net: true
targets:
- fedora-all-x86_64
- fedora-all-aarch64
# Re-enable these scans if OpenScanHub starts scanning go packages
# https://packit.dev/posts/openscanhub-prototype
osh_diff_scan_after_copr_build: false
# Ignore until golang is updated in distro buildroot to go 1.23.3+
- job: copr_build
trigger: ignore
packages: [podman-eln]
notifications: *packit_generic_failure_notification
enable_net: true
targets:
fedora-eln-x86_64:
additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/x86_64/"
fedora-eln-aarch64:
additional_repos:
- "https://kojipkgs.fedoraproject.org/repos/eln-build/latest/aarch64/"
# Ignore until golang is updated in distro buildroot to go 1.23.3+
- job: copr_build
trigger: ignore
packages: [podman-centos]
notifications: *packit_generic_failure_notification
enable_net: true
targets:
- centos-stream-9-x86_64
- centos-stream-9-aarch64
- centos-stream-10-x86_64
- centos-stream-10-aarch64
# Run on commit to main branch
- job: copr_build
trigger: commit
packages: [podman-fedora]
branch: main
owner: rhcontainerbot
project: podman-next
enable_net: true
# Tests on Fedora
- job: tests
trigger: pull_request
packages: [podman-fedora]
notifications: *packit_generic_failure_notification
targets:
- fedora-all
tmt_plan: "/plans/system/*"
- job: tests
identifier: cockpit-revdeps
trigger: pull_request
packages: [podman-fedora]
notifications:
failure_comment:
message: "Cockpit tests failed for commit {commit_sha}. @martinpitt, @jelly, @mvollmer please check."
targets:
- fedora-latest-stable
- fedora-development
tf_extra_params:
environments:
- artifacts:
- type: repository-file
id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo
tmt:
context:
revdeps: "yes"
- job: tests
identifier: tmt-revdeps
trigger: pull_request
packages: [podman-fedora]
notifications:
failure_comment:
message: "tmt tests failed for commit {commit_sha}. @lsm5, @psss, @thrix please check."
targets:
- fedora-latest
fmf_url: https://github.com/teemtee/tmt
fmf_path: /plans/friends
fmf_ref: main
tmt_plan: "/podman"
- job: propose_downstream
trigger: release
update_release: false
packages: [podman-fedora]
dist_git_branches: &fedora_targets
- fedora-all
- job: koji_build
trigger: commit
packages: [podman-fedora]
sidetag_group: podman-releases
dist_git_branches: *fedora_targets
- job: bodhi_update
trigger: koji_build
packages: [podman-fedora]
sidetag_group: podman-releases
# Dependencies are not rpm dependencies, but packages that should go in the
# same bodhi update
# Ref: https://packit.dev/docs/fedora-releases-guide/releasing-multiple-packages
dependencies:
- buildah
- containers-common
- skopeo
dist_git_branches: *fedora_targets

View file

@ -1,3 +0,0 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.12.0.post1.dev22+gfe66fd850.

41
f27.patch Normal file
View file

@ -0,0 +1,41 @@
diff --git a/Makefile b/Makefile
index bbd00e4..477890a 100644
--- a/Makefile
+++ b/Makefile
@@ -236,8 +236,6 @@ install.docker: docker-docs
install ${SELINUXOPT} -m 644 docs/docker*.1 -t $(MANDIR)/man1
install.systemd:
- install ${SELINUXOPT} -m 644 -D contrib/varlink/io.podman.socket ${SYSTEMDDIR}/io.podman.socket
- install ${SELINUXOPT} -m 644 -D contrib/varlink/io.podman.service ${SYSTEMDDIR}/io.podman.service
install ${SELINUXOPT} -m 644 -D contrib/varlink/podman.conf ${TMPFILESDIR}/podman.conf
install.python:
diff --git a/libpod.conf b/libpod.conf
index cef5a12..3a363e2 100644
--- a/libpod.conf
+++ b/libpod.conf
@@ -30,7 +30,7 @@ conmon_env_vars = [
]
# CGroup Manager - valid values are "systemd" and "cgroupfs"
-cgroup_manager = "systemd"
+cgroup_manager = "cgroupfs"
# Directory for persistent libpod files (database, etc)
# By default, this will be configured relative to where containers/storage
diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go
index 9d1347cc..f1f2b963 100644
--- a/cmd/podman/libpodruntime/runtime.go
+++ b/cmd/podman/libpodruntime/runtime.go
@@ -105,6 +105,10 @@ func GetRuntimeWithStorageOpts(c *cli.Context, storageOpts *storage.StoreOptions
if c.GlobalIsSet("cgroup-manager") {
options = append(options, libpod.WithCgroupManager(c.GlobalString("cgroup-manager")))
+ } else {
+ if rootless.IsRootless() {
+ options = append(options, libpod.WithCgroupManager("cgroupfs"))
+ }
}
// TODO flag to set libpod static dir?

View file

@ -1,17 +0,0 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_stable
- bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
# recipients: jnovy, lsm5, santiago
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View file

@ -1,37 +0,0 @@
# reverse dependency test for https://github.com/cockpit-project/cockpit-podman/
# packit should automatically notify the cockpit maintainers on failures.
# For questions, please contact @martinpitt, @jelly, @mvollmer
enabled: false
adjust+:
when: revdeps == yes
enabled: true
discover:
how: fmf
url: https://github.com/cockpit-project/cockpit-podman
ref: "main"
execute:
how: tmt
# not relevant for testing podman
environment:
TEST_AUDIT_NO_SELINUX: 1
TEST_ALLOW_JOURNAL_MESSAGES: ".*"
# This has to duplicate cockpit-podman's plan structure; see https://github.com/teemtee/tmt/issues/1770
/podman-system:
summary: Run cockpit-podman system tests
discover+:
test: /test/browser/system
/podman-user:
summary: Run cockpit-podman user tests
discover+:
test: /test/browser/user
/podman-misc:
summary: Run other cockpit-podman tests
discover+:
test: /test/browser/other

View file

@ -1,50 +0,0 @@
discover:
how: fmf
execute:
how: tmt
prepare:
- how: shell
script: modprobe null_blk nr_devices=1
order: 5
- 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
adjust+:
- enabled: false
when: revdeps == yes
provision:
how: artemis
hardware:
memory: ">= 16 GB"
cpu:
cores: ">= 4"
threads: ">=8"
disk:
- size: ">= 512 GB"
/local-root:
summary: Local rootful tests
discover+:
filter: 'tag:local & tag:root'
/local-rootless:
summary: Local rootless tests
discover+:
filter: 'tag:local & tag:rootless'
/remote-root:
summary: Remote rootful tests
discover+:
filter: 'tag:remote & tag:root'
/remote-rootless:
summary: Remote rootless tests
discover+:
filter: 'tag:remote & tag:rootless'

View file

@ -1,21 +0,0 @@
summary: Run tmt container provision test (downstream only)
enabled: false
adjust+:
- enabled: true
when: initiator != packit and distro != rhel
discover:
how: fmf
filter: 'tag:tmt & tag:downstream'
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

View file

@ -1,29 +0,0 @@
summary: Run toolbox tests (downstream only)
enabled: false
adjust+:
- enabled: true
when: initiator != packit and distro == fedora
provision:
how: artemis
hardware:
memory: ">= 16 GB"
cpu:
cores: ">= 4"
threads: ">=8"
disk:
- size: ">= 512 GB"
prepare:
- name: packages
how: install
package: [toolbox-tests]
discover:
how: fmf
url: https://src.fedoraproject.org/rpms/toolbox
ref: "rawhide"
execute:
how: tmt

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
SHA512 (v5.7.1.tar.gz) = 81fd4c27ff1d16dcb85229d4e4fd2cb06943ddfe966b5324fa8a8a957b2d2ec2aed7c5da05d6c009148f53b76545b27b0cba506622c8861f70bf7cad6c214a08
SHA512 (libpod-3d55721.tar.gz) = 78366d0f6cb63d83bfbd49dc59b9206494eef9aa72d8a8d7e937f875bc05fb245d3ff8ae3ca6b7f6397d8ee094b5e48a37c750dfb9278033d204fda769aa7420

View file

@ -1,51 +0,0 @@
require:
- podman-tests
- psmisc
environment:
# PODMAN_TESTING envvar is set in system.sh
PODMAN: /usr/bin/podman
QUADLET: /usr/libexec/podman/quadlet
ROOTLESS_USER: "fedora"
adjust+:
- when: distro == centos-stream
environment+:
ROOTLESS_USER: "ec2-user"
- when: distro == rhel
environment+:
ROOTLESS_USER: "cloud-user"
- when: initiator != "packit"
environment+:
RELEASE_TESTING: true
/local-root:
tag: [ local, root ]
summary: local rootful test
test: bash ./system.sh
duration: 30m
/local-rootless:
tag: [ local, rootless ]
summary: rootless test
test: bash ./system.sh rootless
duration: 30m
/remote-root:
tag: [ remote, root ]
summary: remote rootful test
test: bash ./system.sh
duration: 30m
environment+:
PODMAN: /usr/bin/podman-remote
require+:
- podman-remote
/remote-rootless:
tag: [ remote, rootless ]
summary: remote rootless test
test: bash ./system.sh rootless
duration: 30m
environment+:
PODMAN: /usr/bin/podman-remote
require+:
- podman-remote

View file

@ -1,44 +0,0 @@
#!/usr/bin/env bash
set -exo pipefail
uname -r
loginctl enable-linger "$ROOTLESS_USER"
rpm -q \
aardvark-dns \
buildah \
conmon \
container-selinux \
containers-common \
criu \
crun \
netavark \
passt \
podman \
podman-tests \
skopeo \
slirp4netns \
systemd
export system_service_cmd="/usr/bin/podman system service --timeout=0 &"
export test_cmd="whoami && cd /usr/share/podman/test/system && PODMAN_TESTING=/usr/bin/podman-testing bats ."
if [[ -z $1 ]]; then
if [[ $PODMAN == "/usr/bin/podman-remote" ]]; then
eval "$system_service_cmd"
fi
eval "$test_cmd"
elif [[ $1 == "rootless" ]]; then
if [[ $PODMAN == "/usr/bin/podman-remote" ]]; then
su - "$ROOTLESS_USER" -c "eval $system_service_cmd"
fi
su - "$ROOTLESS_USER" -c "eval $test_cmd"
fi
# Kill all podman processes for remote tests
if [[ $PODMAN == "/usr/bin/podman-remote" ]]; then
killall -q podman
fi
exit 0

View file

@ -1,13 +0,0 @@
enabled: false
adjust:
enabled: true
when: initiator != packit && distro != rhel
summary: Make sure that TMT container provision works
tag: [downstream]
require:
- tmt+provision-container
test:
tmt run --verbose --remove
provision --how container --image fedora
login --command 'cat /etc/os-release'
finish