20079 Commits

Author SHA1 Message Date
1004f53d04 Merge pull request #19864 from containers/renovate/golang.org-x-tools-0.x
fix(deps): update module golang.org/x/tools to v0.13.0
2023-09-06 10:05:44 +02:00
14735f1724 Merge pull request #19862 from containers/renovate/golang.org-x-net-0.x
fix(deps): update module golang.org/x/net to v0.15.0
2023-09-06 10:02:55 +02:00
2aec77f1fe Merge pull request #19861 from edsantiago/manifest_test_cleanup
systests: manifest zstd test: lots of tiny cleanups
2023-09-06 01:04:35 +02:00
f9fd402210 fix(deps): update module golang.org/x/tools to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 20:48:58 +00:00
52e1acf86c Merge pull request #19850 from containers/renovate/actions-checkout-4.x
[skip-ci] Update actions/checkout action to v4
2023-09-05 22:48:08 +02:00
e5bf0f96d7 fix(deps): update module golang.org/x/net to v0.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-05 18:05:34 +00:00
fdf694fcff systests: manifest zstd test: lots of tiny cleanups
Primarily, build test images FROM scratch, not alpine, to
avoid image pulls and network flakes and potential pull-
the-rug-out errors if the base alpine image changes.

This was much more complicated than it should've been,
because creating unique arch-specific FROM-scratch images
triggered a weird manifest bug, filed as #19860.

Also:
- add a teardown() to clean up manifests
- remove test for skopeo (skopeo is required for sys tests)
- remove unnecessary intermediate tmpdir
- deduplicate, by looping over amd+arm
- fix indentation
- and, finally, clean up dangling images (this was the initial
  reason behind my diving in here. Such a simple thing, I thought.)

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-09-05 11:36:29 -06:00
0e3b492faa Merge pull request #19849 from giuseppe/increase-inotify-watchers
machine: increase max number of inotify instances
2023-09-05 05:24:11 +02:00
8914caf476 Merge pull request #19843 from giuseppe/clamp-oom-score-adj
linux, rootless: clamp oom_score_adj if it is too low
2023-09-05 01:27:22 +02:00
203c2b815a Merge pull request #19854 from giuseppe/bump-runc-to-main
vendor: update github.com/opencontainers/runc to main
2023-09-05 01:24:41 +02:00
9730c03735 vendor: update github.com/opencontainers/runc to main
it is not possible yet to drop the override since the latest released
version has an indirect dependency on github.com/cilium/ebpf that
causes the binary to grow by ~1MB.  Once there is a new runc version,
we can drop the override.

For now just bump to the latest version on main, since we are using a
year old version at this point.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-04 15:58:23 +02:00
e825bd5d5e [skip-ci] Update actions/checkout action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-04 12:51:33 +00:00
8b4a79a744 linux, rootless: clamp oom_score_adj if it is too low
when running rootless, if the specified oom_score_adj for the
container process is lower than the current value, clamp it to the
current value and print a warning.

Closes: https://github.com/containers/podman/issues/19829

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-04 14:44:14 +02:00
681b6db3f3 machine: increase max number of inotify instances
increase the number of inotify instances to 524288 instead of using
the default value of 128.

Closes: https://github.com/containers/podman/issues/19848

[NO NEW TESTS NEEDED]

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-09-04 14:02:57 +02:00
9bcab496e7 Merge pull request #19835 from Juneezee/refactor/redundant-nil-check
Remove redundant nil checks in system connection remove
2023-09-04 08:48:13 +02:00
8f7453f9c8 Merge pull request #19840 from containers/renovate/golang.org-x-term-0.x
fix(deps): update module golang.org/x/term to v0.12.0
2023-09-04 08:43:05 +02:00
302d153347 fix(deps): update module golang.org/x/term to v0.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-03 17:23:15 +00:00
d58fe4e68e Merge pull request #19837 from containers/renovate/golang.org-x-text-0.x
fix(deps): update module golang.org/x/text to v0.13.0
2023-09-03 15:36:10 +02:00
d6b538a794 Merge pull request #19836 from containers/renovate/golang.org-x-sys-0.x
fix(deps): update module golang.org/x/sys to v0.12.0
2023-09-03 15:32:45 +02:00
6f43c9f10d Merge pull request #19833 from containers/renovate/github.com-containers-libhvee-digest
fix(deps): update github.com/containers/libhvee digest to 2bf7930
2023-09-03 15:27:36 +02:00
f094884c1b Remove redundant nil checks in system connection remove
From the Go specification:

  "3. If the map is nil, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[NO NEW TESTS NEEDED]

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-09-03 15:42:41 +08:00
17037af48f fix(deps): update module golang.org/x/text to v0.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 14:20:51 +00:00
1361fa2304 Merge pull request #19820 from ashley-cui/gvproxytest
Add port forwarding and gvproxy machine test
2023-09-02 16:19:21 +02:00
1d51cd14a9 fix(deps): update module golang.org/x/sys to v0.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 13:48:35 +00:00
f542d21a76 fix(deps): update github.com/containers/libhvee digest to 2bf7930
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-02 01:29:09 +00:00
ab579a90a8 Merge pull request #19831 from noritada/fix/readme-broken-link
[CI:DOCS] Fix a broken link in README
2023-09-01 22:12:40 +02:00
7cde6ab521 Merge pull request #19477 from lsm5/copr-rpm-fcos
[CI:BUILD] Podman FCOS image from main
2023-09-01 20:35:49 +02:00
d4fedb288c docs(readme): fix a broken link
The destination `pkg/hooks/README.md` has been moved to a separate
project.

Fixes: ffe5da20a0f2 ("pkg,libpod: remove pkg/hooks and use hooks from c/common")
Signed-off-by: Noritada Kobayashi <noritada.kobayashi@gmail.com>
2023-09-01 23:07:28 +09:00
50cd072bf6 [CI:BUILD] Podman FCOS image from main
Fixes: #19446, #19447, #19448

[NO NEW TESTS NEEDED]

Co-authored-by: Chris Evich <cevich@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-09-01 09:50:59 -04:00
99a5347c6d Merge pull request #19816 from giuseppe/fix-parsing-base
libpod: do not parse --hostuser in base 8
2023-09-01 08:55:28 +02:00
3033f1e9e2 Merge pull request #19826 from containers/renovate/golang.org-x-exp-digest
Update golang.org/x/exp digest to d852ddb
2023-09-01 08:39:56 +02:00
58a0b7ac82 Update golang.org/x/exp digest to d852ddb
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-01 02:19:27 +00:00
66fa48af42 Merge pull request #19804 from nishipy/ja_index
[CI:DOCS] Add Japanese locale and translation of index
2023-08-31 22:47:37 +02:00
fe7bafb83c Add port forwarding and gvproxy machine test
Added a test that checks that gvproxy properly starts and stops when running podman machine, and that containers properly forward ports to the host when running podman using machine.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-08-31 10:19:35 -04:00
c2f34ed869 Merge pull request #19818 from testwill/typo
fix: default typo
2023-08-31 06:42:32 -04:00
702709a916 libpod: do not parse --hostuser in base 8
fix the parsing of --hostuser to treat the input in base 10.

Closes: https://github.com/containers/podman/issues/19800

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-08-31 12:34:58 +02:00
13342e5039 fix: default typo
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-08-31 18:14:59 +08:00
77fe460d13 Merge pull request #19805 from vrothberg/fix-19801
kube play: fix pull policy
2023-08-31 11:10:35 +02:00
779bc49967 Merge pull request #19802 from edsantiago/e2e_exit_cleanly_matcher
e2e: new ExitCleanly matcher
2023-08-31 10:49:26 +02:00
3a6fc8d2b7 Add Japanese locale and translation of index
Signed-off-by: Takuya Nishimura <goodisonev4@gmail.com>

Fix typo

Signed-off-by: Takuya Nishimura <goodisonev4@gmail.com>

Fix typo

Signed-off-by: Takuya Nishimura <goodisonev4@gmail.com>
2023-08-31 13:53:48 +09:00
9320efe0b8 Merge pull request #19814 from lsm5/remove-rhcontainerbot-email
remove rh.container.bot@gmail.com
2023-08-30 23:16:40 +02:00
2194bd098b Merge pull request #19812 from baude/hypervciprep
Tweaks and cleanups to prepare hyperv for CI
2023-08-30 23:11:08 +02:00
e5ab4fbc52 Merge pull request #19810 from edsantiago/bats_cleanup
system tests: housekeeping: various small fixes
2023-08-30 22:19:43 +02:00
bb9256a39d Merge pull request #19808 from zeehio/minor-doc-fixes
[CI:DOCS] Fix gidmap command in example
2023-08-30 22:17:10 +02:00
bd7579a62a Merge pull request #19806 from vrothberg/vendor-common
vendor containers/common@12405381ff
2023-08-30 22:14:35 +02:00
4051a8a23f Merge pull request #19790 from flouthoc/conf_add_compression
manifest,push: support `add_compression` from `containers.conf`
2023-08-30 22:11:57 +02:00
39c5b7face remove rh.container.bot@gmail.com
Don't need this email as we have podman-monitor email listed wherever
relevant.

[NO NEW TESTS NEEDED]

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
2023-08-30 15:01:16 -04:00
a62abfe3d6 Tweaks and cleanups to prepare hyperv for CI
Small fixes for bugs in the hyperv code that were made obvious when
manually preparing to run pkg/machine/e2e with windows and hyperv.

Also includes vendoring a new libhvee and solves bug where json config
was not being removed.

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-08-30 12:44:50 -05:00
a0738e7e68 system tests: housekeeping: various small fixes
Fix unquoted string vars. Something like this:

   is $output "what we expect"

...will fail with a misleading error message if $output is "".

Also fix typos in a diagnostic; this was causing unhelpful message
on failure

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-08-30 10:06:16 -06:00
4082b67f6e CI: e2e: first use of new ExitCleanly() matcher
A nearly-trivial first effort to use the new ExitCleanly().
Requires using the new CITEST_IMAGE (see prior commit)
because nginx causes the tests to fail:

   [FAILED] Unexpected warnings seen on stderr: \
            level=warning \
            msg="HEALTHCHECK is not supported for OCI image format ...

Oh, I also took the liberty of rewriting "play kube" -> "kube play".

Signed-off-by: Ed Santiago <santiago@redhat.com>
2023-08-30 08:41:25 -06:00