Jhon Honce
ca7376bb11
Exit with 0 when receiving SIGTERM
...
* systemctl stop podman.service will now return exit code 0
* Update test framework to support JSON boolean and numeric values
Signed-off-by: Jhon Honce <jhonce@redhat.com>
2022-03-15 14:45:11 -07:00
OpenShift Merge Robot
fa0d3c564a
Merge pull request #13514 from Luap99/bindings
...
fix breaking change in pkg/bindings
2022-03-15 15:41:52 -04:00
Paul Holzinger
33aa2f2d1c
Fix windows win-sshproxy build
...
Github no longer supports the unauthenticated git protocol, so switch
to using https instead.
https://github.blog/2021-09-01-improving-git-protocol-security-github/
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-03-15 17:33:34 +01:00
OpenShift Merge Robot
4e2334c149
Merge pull request #13512 from containers/dependabot/go_modules/github.com/docker/docker-20.10.13incompatible
...
Bump github.com/docker/docker from 20.10.12+incompatible to 20.10.13+incompatible
2022-03-15 12:19:57 -04:00
OpenShift Merge Robot
ac6ef74937
Merge pull request #13513 from containers/dependabot/go_modules/github.com/spf13/cobra-1.4.0
...
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
2022-03-15 11:52:05 -04:00
Paul Holzinger
0db184fb08
fix breaking change in pkg/bindings
...
pkg/bindings is considered stable. We cannot make changes that would
break any users. If someone uses this field their code would fail to
compile. Since the fix is obviously correct we will keep it but also
add the old field back in to keep compatibility with old code.
When both fields are set ImportArchive is preferred over ImportAchive.
Fixes changes from commit 217197340c
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-03-15 15:06:42 +01:00
dependabot[bot]
3d82d17f8c
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 12:09:17 +00:00
dependabot[bot]
439323cd2e
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.12+incompatible to 20.10.13+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.12...v20.10.13 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-15 12:09:10 +00:00
OpenShift Merge Robot
68ce83fe91
Merge pull request #13238 from lsm5/e2e-aardvark
...
test/e2e: add aardvark specific tests
2022-03-15 06:34:07 -04:00
OpenShift Merge Robot
758f2c7a09
Merge pull request #13498 from flouthoc/podman-vendor-buildah
...
vendor: update `c/buildah`, `c/image` and `c/storage`
2022-03-15 06:32:07 -04:00
OpenShift Merge Robot
ae7997ab50
Merge pull request #13485 from Luap99/ipv6-slirp
...
slirp: fix setup on ipv6 disabled systems
2022-03-14 16:06:04 -04:00
Aditya R
daebf50b89
apply-podman-deltas: skip modified test case for --add-host which adds anomaly
...
All podman tests in CI expects exit code 125, which might not be true since exit code from runtime
is relayed as it is without any modification both in `buildah` and `podman`. Following behviour is seen when PR https://github.com/containers/buildah/pull/3809
added a test here https://github.com/containers/buildah/blob/main/tests/bud.bats#L3183 which relays exit code from runtime as it
is, in case of both `podman` and `buildah`. However apart from this test case no other test case was able to trigger this behviour hence
marking this test as an anomaly. Since its debatable if we should override this returned error number or not hence adding a note here.
Signed-off-by: Aditya R <arajan@redhat.com>
2022-03-14 20:41:38 +05:30
OpenShift Merge Robot
33d808108f
Merge pull request #13499 from rst0git/fix-typo
...
Fix typo
2022-03-14 10:28:33 -04:00
Paul Holzinger
3bb046a5e3
slirp: fix setup on ipv6 disabled systems
...
When enable_ipv6=true is set for slirp4netns (default since podman v4),
we will try to set the accept sysctl. This sysctl will not exist on
systems that have ipv6 disabled. In this case we should not error and
just ignore the extra ipv6 setup.
Also the current logic to wait for the slirp4 setup was kinda broken, it
did not actually wait until the sysctl was set before starting slirp.
This should now be fixed by using two `sync.WaitGroup`s.
[NO NEW TESTS NEEDED]
Fixes #13388
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-03-14 15:19:54 +01:00
OpenShift Merge Robot
219f116240
Merge pull request #13221 from LStandman/main
...
Add support for --chrootdirs
2022-03-14 07:50:15 -04:00
Radostin Stoyanov
217197340c
Fix typo
...
[NO NEW TESTS NEEDED]
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2022-03-14 10:53:31 +00:00
LStandman
e8968c867f
Add support for --chrootdirs
...
Signed-off-by: LStandman <65296484+LStandman@users.noreply.github.com>
2022-03-14 10:31:58 +02:00
Aditya R
c845216fdd
docs: podman-build add --no-hosts
...
Add newly added `--no-hosts` to build docs and document its conflicting
nature with `--add-host`
Signed-off-by: Aditya R <arajan@redhat.com>
2022-03-14 12:26:18 +05:30
Aditya R
780d4b2d65
vendor: bump buildah, c/image and c/storage
...
Bumps
c/buildah to -> `v1.24.3-0.20220310160415-5ec70bf01ea5`
c/storage to -> `v1.38.3-0.20220308085612-93ce26691863`
c/image to -> `v5.20.1-0.20220310094651-0d8056ee346f`
Signed-off-by: Aditya R <arajan@redhat.com>
2022-03-14 12:26:12 +05:30
OpenShift Merge Robot
0144cabc41
Merge pull request #13481 from PascalBourdier/golang-1.17
...
Bump golang to 1.17
2022-03-13 11:22:12 -04:00
OpenShift Merge Robot
f0039bf281
Merge pull request #13494 from n1hility/fix-tty
...
Fixes TTY & resizing on Mac and Windows
2022-03-13 11:02:13 -04:00
OpenShift Merge Robot
ece2fd29cd
Merge pull request #13486 from lsm5/copr-auto-build-rhel-8
...
podman.spec.rpkg: enable rhel8 builds on copr
2022-03-13 11:00:15 -04:00
Jason T. Greene
edc62b5294
Fixes TTY & resizing on Mac and Windows
...
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2022-03-12 12:00:38 -06:00
OpenShift Merge Robot
8934c5cfc3
Merge pull request #13483 from containers/dependabot/go_modules/github.com/spf13/cobra-1.4.0
...
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
2022-03-11 12:18:38 -05:00
Lokesh Mandvekar
6e41d1f441
podman.spec.rpkg: enable rhel8 builds on copr
...
fix conditionals and buildtags to enable rhel8 builds
[NO NEW TESTS NEEDED]
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2022-03-11 11:02:07 -05:00
OpenShift Merge Robot
7ab85b322b
Merge pull request #13484 from containers/dependabot/go_modules/github.com/docker/docker-20.10.13incompatible
...
Bump github.com/docker/docker from 20.10.12+incompatible to 20.10.13+incompatible
2022-03-11 09:26:37 -05:00
Pascal Bourdier
c06460bea3
Bump golang to 1.17 in `vendor-in-container`
...
Go 1.17 compiler got faster
Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com>
2022-03-11 13:45:25 +01:00
dependabot[bot]
4ab24a0681
Bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 20.10.12+incompatible to 20.10.13+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Changelog](https://github.com/moby/moby/blob/master/CHANGELOG.md )
- [Commits](https://github.com/docker/docker/compare/v20.10.12...v20.10.13 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 12:07:45 +00:00
dependabot[bot]
9314774614
Bump github.com/spf13/cobra from 1.3.0 to 1.4.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md )
- [Commits](https://github.com/spf13/cobra/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-11 12:07:32 +00:00
OpenShift Merge Robot
7ba81ead38
Merge pull request #13445 from rhatdan/annotation
...
Add podman play kube --annotation
2022-03-10 14:36:53 -05:00
OpenShift Merge Robot
a5e3279414
Merge pull request #13440 from eriksjolund/remove_web_tab_number
...
[CI:DOCS] Remove "(1)" from web tab text
2022-03-10 12:18:41 -05:00
OpenShift Merge Robot
32fd5d885a
Merge pull request #13475 from PascalBourdier/golangci-lint-install-fix
...
CI: fix golangci-lint installation
2022-03-10 09:14:09 -05:00
OpenShift Merge Robot
db08bc096e
Merge pull request #13477 from containers/dependabot/go_modules/github.com/containernetworking/plugins-1.1.1
...
Bump github.com/containernetworking/plugins from 1.1.0 to 1.1.1
2022-03-10 09:04:06 -05:00
OpenShift Merge Robot
e10394da7e
Merge pull request #13476 from containers/dependabot/go_modules/github.com/vbauerster/mpb/v7-7.4.1
...
Bump github.com/vbauerster/mpb/v7 from 7.3.2 to 7.4.1
2022-03-10 09:02:06 -05:00
dependabot[bot]
e6b64703fe
Bump github.com/containernetworking/plugins from 1.1.0 to 1.1.1
...
Bumps [github.com/containernetworking/plugins](https://github.com/containernetworking/plugins ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/containernetworking/plugins/releases )
- [Commits](https://github.com/containernetworking/plugins/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/containernetworking/plugins
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 12:10:53 +00:00
dependabot[bot]
a5353207c7
Bump github.com/vbauerster/mpb/v7 from 7.3.2 to 7.4.1
...
Bumps [github.com/vbauerster/mpb/v7](https://github.com/vbauerster/mpb ) from 7.3.2 to 7.4.1.
- [Release notes](https://github.com/vbauerster/mpb/releases )
- [Commits](https://github.com/vbauerster/mpb/compare/v7.3.2...v7.4.1 )
---
updated-dependencies:
- dependency-name: github.com/vbauerster/mpb/v7
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-10 12:10:45 +00:00
Pascal Bourdier
e5a86d293f
CI: fix golangci-lint installation
...
avoid this warn:
```
golangci/golangci-lint info installed ./bin/golangci-lint
golangci/golangci-lint err this script is deprecated, please do not use it anymore. check https://github.com/goreleaser/godownloader/issues/207
```
Signed-off-by: Pascal Bourdier <pascal.bourdier@gmail.com>
2022-03-10 08:41:23 +01:00
Daniel J Walsh
feaa1a134a
Add podman play kube --annotation
...
Allow users to add annotions in the podman play kube command.
This PR Also fixes the fact that annotations in the pod spec were
not being passed down to containers.
Fixes: https://github.com/containers/podman/issues/12968
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-03-09 17:30:01 -05:00
OpenShift Merge Robot
acfcecf2ae
Merge pull request #12913 from rhatdan/kube
...
Add --context-dir option to podman play kube
2022-03-09 16:19:59 -05:00
OpenShift Merge Robot
4e21acd7b8
Merge pull request #13455 from rhatdan/docker
...
Fix handling of tmpfs-mode for tmpfs creation in compat mode
2022-03-09 15:53:58 -05:00
OpenShift Merge Robot
d3e6c2a7ab
Merge pull request #13471 from Luap99/bump-mpbv7
...
Use github.com/vbauerster/mpb/v7 in pkg/machine
2022-03-09 15:51:57 -05:00
Paul Holzinger
30bf065c3f
Use github.com/vbauerster/mpb/v7 in pkg/machine
...
We already use v7 in c/image so podman should use the same version to
prevent duplication.
This saves 170 KB binary size.
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-03-09 20:02:10 +01:00
OpenShift Merge Robot
f960ac7ec3
Merge pull request #13470 from Luap99/yamlv2
...
use gopkg.in/yaml.v2 instead of v3
2022-03-09 12:50:01 -05:00
OpenShift Merge Robot
418ab2e5e1
Merge pull request #13421 from hshiina/device-rule
...
Set default rule at the head of device configuration
2022-03-09 10:28:24 -05:00
OpenShift Merge Robot
ea4248dc26
Merge pull request #13469 from containers/dependabot/go_modules/github.com/docker/distribution-2.8.1incompatible
...
Bump github.com/docker/distribution from 2.8.0+incompatible to 2.8.1+incompatible
2022-03-09 09:53:57 -05:00
Paul Holzinger
8f2f8d4cad
use gopkg.in/yaml.v2 instead of v3
...
Many dependencies already import gopkg.in/yaml.v2, podman is the only
user of the v3 version except github.com/stretchr/testify but this is
only a testing dependency so it will not end up in the binary.
This change reduces the podman binary size from 54740 to 54260 KB on my
system.
[NO NEW TESTS NEEDED]
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-03-09 15:44:05 +01:00
OpenShift Merge Robot
41e2c9943e
Merge pull request #13465 from n1hility/improve-install-msg
...
Improve agent install message to add restart instructions
2022-03-09 09:25:57 -05:00
Daniel J Walsh
166edf00a1
Fix handling of tmpfs-mode for tmpfs creation in compat mode
...
The permissions on disk were wrong since we were not converting to
octal.
Fixes: https://github.com/containers/podman/issues/13108
[NO NEW TESTS NEEDED] Since we don't currently test using the docker
client
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2022-03-09 08:03:42 -05:00
dependabot[bot]
e56150264c
Bump github.com/docker/distribution
...
Bumps [github.com/docker/distribution](https://github.com/docker/distribution ) from 2.8.0+incompatible to 2.8.1+incompatible.
- [Release notes](https://github.com/docker/distribution/releases )
- [Commits](https://github.com/docker/distribution/compare/v2.8.0...v2.8.1 )
---
updated-dependencies:
- dependency-name: github.com/docker/distribution
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-09 12:07:43 +00:00
OpenShift Merge Robot
3e870f8c8e
Merge pull request #13466 from baude/machinermf
...
machine rm -f stops and removes machine
2022-03-09 03:51:55 -05:00