ecb9f99b88
Add new windows installer and build
...
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2022-09-06 16:12:09 -05:00
f4c39df25e
Add win-sshproxy.exe to windows client zips
...
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2022-09-06 09:26:28 -05:00
41e1642f56
Merge pull request #15645 from containers/dependabot/go_modules/github.com/container-orchestrated-devices/container-device-interface-0.5.1
...
build(deps): bump github.com/container-orchestrated-devices/container-device-interface from 0.5.0 to 0.5.1
2022-09-06 16:22:55 +02:00
cd09e3b6d0
Merge pull request #15644 from Luap99/event-format
...
fix podman events with custom format
2022-09-06 15:56:20 +02:00
46e9178ef6
Merge pull request #15639 from fj-tsubasa/system-test-proxy
...
system tests: fix some tests in proxy environment
2022-09-06 15:53:45 +02:00
4e06aa3771
Merge pull request #15584 from sstosh/generate-systemd-env
...
Add generate systemd -e/--env option
2022-09-06 15:40:55 +02:00
34b0be6cff
Merge pull request #15638 from n1hility/stale-config-fix
...
(Windows) Drop stale config value resulting in asymmetric config
2022-09-06 15:13:04 +02:00
0926902976
build(deps): bump github.com/container-orchestrated-devices/container-device-interface
...
Bumps [github.com/container-orchestrated-devices/container-device-interface](https://github.com/container-orchestrated-devices/container-device-interface ) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/container-orchestrated-devices/container-device-interface/releases )
- [Commits](https://github.com/container-orchestrated-devices/container-device-interface/compare/v0.5.0...v0.5.1 )
---
updated-dependencies:
- dependency-name: github.com/container-orchestrated-devices/container-device-interface
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 12:25:06 +00:00
77ab6125f2
remove SkipIfNotFedora() from events test
...
They should work on all distros.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-09-06 13:57:06 +02:00
d22aeeec28
fix podman events with custom format
...
podman events --format {{.ID}} was not working since the template was
converted to a range but we only render each event individually.
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-09-06 13:56:26 +02:00
a9a411f8a8
Add generate systemd -e/--env option
...
-e/--env option sets environment variables to the systemd unit files.
Fixes : #15523
Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
2022-09-06 20:17:11 +09:00
6b3bb9e75e
Merge pull request #15632 from dfr/freebsd-container
...
Add support for FreeBSD containers
2022-09-06 12:43:55 +02:00
a61a9525e3
Merge pull request #15637 from edsantiago/argh
...
CI: Cirrus setup: retry failed curls
2022-09-06 10:09:12 +02:00
43baf49bb8
Merge pull request #15636 from edsantiago/docs_dedup_memory
...
[CI:DOCS] Man pages: refactor common options: --memory*
2022-09-06 09:09:50 +02:00
04f0ac2aab
system tests: fix some tests in proxy environment
...
Some system tests in `255-auto-update.bats` and `500-networking.bats`
fail under proxy environment.
This PR fixes this problem.
Signed-off-by: Tsubasa Watanabe <w.tsubasa@fujitsu.com>
2022-09-06 14:22:31 +09:00
6a3c28968e
Drop stale config value resulting in asymmetric config
...
Fixes log follow operations since corresponding k8s-file backend was previously dropped
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2022-09-06 00:01:30 -05:00
c2c910736c
CI: Cirrus setup: retry failed curls
...
We're seeing a huge number of "unknown failure" flakes,
and all seem to be in the 'clone' step, failing with:
echo "$ARTCURL..."
curl ... https://api.cirrus-ci.com/.../repo.tbz
(lots of pretty curl output lines)
curl: (22) The requested URL returned error: 502
Solution: use --retry, which will backoff-retry transient
failures. Start with a backoff of 8s, not the default 1.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-09-05 18:06:18 -06:00
fb38838fea
Man pages: refactor common options: --memory*
...
(memory-star, i.e., several memory options) that didn't get
included in #15276 . Most of them are shoo-ins; the two in
container-clone and pod-clone deserve special attention
because of the "If unspecified" wording.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-09-05 17:59:13 -06:00
8882b7664d
Merge pull request #15630 from rhatdan/capabilities
...
[CI:DOCS] Fix list of default capabilities
2022-09-05 16:07:42 +02:00
cbaa78cd8a
Fix list of default capabilities
...
Fixes: https://github.com/containers/podman/issues/15626
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-09-05 07:25:38 -04:00
a3aecf0f26
libpod: Factor out setting volume atime to container_internal_linux.go
...
It turns out that field names in syscall.Stat_t are platform-specific.
An alternative to this could change fixVolumePermissions to use
unix.Lstat since unix.Stat_t uses the same mmember name for Atim on both
Linux and FreeBSD.
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:20:50 +01:00
7a1abd03c5
libpod: Move miscellaneous file handlling to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:20:50 +01:00
d162285f34
libpod: Don't mount /dev/shm in containers on FreeBSD
...
This mount has never been standard on FreeBSD, preferring to use /tmp or
/var/tmp optionally with tmpfs to ensure data is lost on a reboot.
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:20:50 +01:00
212b11c34c
libpod: Factor out handling of slirp4netns and net=none
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:20:50 +01:00
eab4291d99
libpod: Move functions related to /etc bind mounts to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:20:50 +01:00
b3989be768
libpod: Move getRootNetNsDepCtr to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:50 +01:00
a148c16225
libpod: Use (*Container).addNetworkNamespace to restore checkpoint network
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
7518a9136a
libpod: Move functions related to checkpoints to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
be5d1261b4
libpod: Move mountNotifySocket to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
71e2074e83
libpod: Move getUserOverrides, lookupHostUser to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
232eea5a00
libpod: Move isWorkDirSymlink, resolveWorkDir to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
a5ee3cb790
pkg/util: Add no-op implementation of AddPrivilegedDevices on FreeBSD
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
0889215d83
libpod: Use platform-specific mount type for volume mounts
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
c1a86a8c4c
libpod: Factor out platform-specific sections from generateSpec
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
e101f4350b
libpod: Move getOverlayUpperAndWorkDir and generateSpec to container_internal_common.go
...
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:17:49 +01:00
6e4b5b0075
libpod: Add FreeBSD implementation of container internals
...
This contains a lot of code in common with container_internal_linux.go.
Subsequent commits will move the shared code to
container_internal_common.go to reduce the duplication.
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:12:12 +01:00
8ade76e79b
libpod: Move networkDisable to container_linux.go
...
This moves platform-specific details of the network implementation out
of the generic file so that we can add the FreeBSD equivalent.
[NO NEW TESTS NEEDED]
Signed-off-by: Doug Rabson <dfr@rabson.org>
2022-09-05 10:12:12 +01:00
098c0714e5
Merge pull request #15619 from lsm5/fix-copr-rhel-builds
...
[CI:BUILD] Copr: Define _user_tmpfilesdir for rhel
2022-09-05 00:19:19 +02:00
5c7f283361
Merge pull request #15618 from mheon/add_group_to_addtlgroups
...
Add container GID to additional groups
2022-09-05 00:16:51 +02:00
b506f6ebb7
Merge pull request #15625 from edsantiago/docs_dedup_label
...
[CI:DOCS] Man pages: refactor common options: --label
2022-09-05 00:14:10 +02:00
7cc2543433
Merge pull request #15605 from TomSweeneyRedHat/dev/tsweeney/adjusttest
...
Update test per comment in #15555
2022-09-04 14:24:00 +02:00
8942a60bb0
Merge pull request #15582 from dfr/freebsd-bind
...
Add support for FreeBSD volume mounts in specgen
2022-09-04 13:34:41 +02:00
b9df3a6a9f
Man pages: refactor common options: --label
...
Went with the podman-run version, where the "example" is
in the option template as per our guidelines.
I could not include the network- or volume-create
man pages, nor podman build.
Signed-off-by: Ed Santiago <santiago@redhat.com>
2022-09-03 05:49:52 -06:00
e136bcc7c9
Merge pull request #15606 from edsantiago/docs_dedup_digestfile
...
[CI:DOCS] Man pages: refactor common options: --digestfile
2022-09-03 13:27:25 +02:00
d82a41687e
Add container GID to additional groups
...
Mitigates a potential permissions issue. Mirrors Buildah PR #4200
and CRI-O PR #6159 .
Signed-off-by: Matthew Heon <mheon@redhat.com>
2022-09-02 15:51:36 -04:00
2a7a6bd9a4
Merge pull request #15581 from dfr/random-names
...
libpod: Ensure that generated container names are random
2022-09-02 21:00:35 +02:00
9476b78316
Merge pull request #15614 from sstosh/fix-swagger
...
Fix swagger documentation
2022-09-02 20:15:03 +02:00
c5da5e459a
Merge pull request #15599 from umohnani8/gen-kube
...
Fix bind-mount-option annotation in gen/play kube
2022-09-02 20:12:25 +02:00
3e1dde10b8
[CI:BUILD] Copr: Define _user_tmpfilesdir for rhel
...
[NO NEW TESTS NEEDED]
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-09-02 13:47:30 -04:00
0e66f75f2a
Merge pull request #15604 from edsantiago/docs_dedup_deviceXY
...
[CI:DOCS] Man pages: refactor common options: --device-X-Y
2022-09-02 12:57:45 +02:00