21842 Commits

Author SHA1 Message Date
c4e68bdae4 Cirrus: Reuse shared clone script on Mac
The `Makefile` makes assumptions about git repo. clone details.
Because fixing the `Makefile` would likely be problematic, fix
the clone operation used on the Mac so that it matches what's used
on Linux.

Also, simplify git repo clone operations.  At some point in the
distant past, a git identity was required for CI to function properly.
That has since changed, so remove the unnecessary complexities.

Signed-off-by: Chris Evich <cevich@redhat.com>
2024-02-21 15:20:16 -05:00
2af73b83fe Vendor vfkit v0.5.1 and gopsutil v3.24.1
Signed-off-by: Matt Heon <mheon@redhat.com>
2024-02-21 14:53:40 -05:00
f7d1726f93 Rearrange CI tasks for safety + efficiency
There's are sometimes conflicting purposes in podman CI:

1. Have the pipeline proceed in an orderly and progressive manner
   to sometimes save resources and unnecessary runtime.
2. Complete all testing as quickly as possible in support of
   human-developers moving on to other areas of work.
3. Ideally/hopefully, accomplish both items above safely,
   preventing untested and/or unintended changes from merging.

This commit shifts the balance of these slightly more toward the second
point.  It rearranges most CI tasks into essentially three buckets with
a single (new) aggregation task in-between the first two:

1. Build + Verify all the things
2. Test all the things
3. Minor/accessory things

The intention is that while we may unnecessarily spin some number of
testing tasks while others have failed, the best-case scenario
(everything passes) has a much shorter runtime.  In other words, it
potentially wastes more resources in favor of a chance to have
developers wait less.

Signed-off-by: Chris Evich <cevich@redhat.com>
2024-02-21 13:27:16 -05:00
70091d57e7 Merge pull request #21699 from vikas-goel/i21663
Comply to Kubernetes specifications for annotation size.
2024-02-21 15:00:25 +00:00
0d1a8c0f2b Merge pull request #21768 from baude/zstd
zstd now default compression for podman machine
2024-02-21 14:46:38 +00:00
f756e5db68 Merge pull request #21747 from mheon/windows_lint
Fix Lint on Windows and enable the job
2024-02-21 00:47:04 +00:00
89b415ba37 Comply to Kubernetes specifications for annotation size.
An annotation is a pair of key-value. The key has two parts, viz. a name and an optional prefix in DNS format.

The limitations on name is 63, prefix 253 chars. The limitation on total size of all key+value pairs combined is 256KB.

https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set

Fixes: https://github.com/containers/podman/issues/21663

Signed-off-by: Vikas Goel <vikas.goel@gmail.com>
2024-02-20 14:58:35 -08:00
a1abe6c21c Merge pull request #21762 from dfr/freebsd-cni
Build with CNI support on FreeBSD
2024-02-20 21:40:04 +00:00
a31e8d2a23 zstd now default compression for podman machine
given that we are moving to building our own machine images, we have
decided to use zstd compression as it is superior in speed to the
alternatives.  as such, this pr adds zstd to our machine code; and also
has to account for dealing with sparseness on darwin; which the default
zstd golang library does not.

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-02-20 14:26:41 -06:00
2fbc1c1503 Merge pull request #21766 from edsantiago/fix-search-flake-again
CI: fix search-test flakes
2024-02-20 20:22:19 +00:00
1d4651bccc Merge pull request #21763 from giuseppe/sparse-file
machine: add sparse file writer
2024-02-20 19:35:33 +00:00
d9c706ea95 Merge pull request #21694 from arixmkii/wait-for-gvproxy
Extract waitForGvProxy into shared utility function
2024-02-20 18:59:46 +00:00
39387c2dea Merge pull request #21759 from Luap99/package-log-list
cirrus logcollector: update package list
2024-02-20 18:29:35 +00:00
e1d71ba9fc Merge pull request #21764 from edsantiago/systest_cleanup
systests: auto-update: minor cleanup
2024-02-20 18:02:12 +00:00
1c61f766d4 CI: fix search-test flakes
Seeing constant e2e test failures today, in search tests.

Reason: tests are searching for "alpine", which is common,
and we're hitting pollution.

Solution: search for "testdigest_v2s<x>", an image in quay
under the libpod namespace. And, in other tests that rely
on docker.io, switch to quay.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-02-20 09:41:56 -07:00
95236927a8 Merge pull request #21487 from Romain-Geissler-1A/fix-using-docker-client-with-rootful-in-rootless-podman
Fix running container from docker client with rootful in rootless podman
2024-02-20 15:22:33 +00:00
0b861350c2 machine: add sparse file writer
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2024-02-20 15:57:24 +01:00
c4b793f58c Merge pull request #21726 from rhatdan/docs7
[CI:DOCS] Fix up example description of podman-system commands
2024-02-20 14:41:11 +00:00
152978b336 Merge pull request #21710 from rhatdan/docs21
[CI:DOCS] Fix up example description of podman-inspect.1.md.in
2024-02-20 14:38:33 +00:00
7746e2a3fe systests: auto-update: minor cleanup
- use PODMAN_TMPDIR, not BATS_TMPDIR, for temp file
- in teardown, do not assume that SNAME_FILE will exist
  (test could fail before that file gets created)
- remove "?" ("ignore exit status") from rmi & prune.
  Probably holdovers from the days before -f. If
  these commands fail even with -f, we need to know.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2024-02-20 07:37:35 -07:00
09095acf2b machine: Add ConnectionInfo to MachineConfig
Adds `ConnectionInfo()` to the `MachineConfig` and fills out
`InspectInfo` accordingly. Additionally fixes the "inspect with go format" test.

Changes `ConfigPath` to `ConfigDir` to better represent the
output.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2024-02-20 09:08:11 -05:00
9f1a9b1105 Merge pull request #21713 from rhatdan/docs18
[CI:DOCS] Fix up example description of podman-images.1.md.in
2024-02-20 13:26:57 +00:00
54351306d0 Merge pull request #21708 from rhatdan/docs25
[CI:DOCS] Fix up example description of podman-push.1.md.in
2024-02-20 13:24:08 +00:00
a6cce6ac01 Merge pull request #21705 from rhatdan/docs28
[CI:DOCS] Fix up example description of podman-stats.1.md.in
2024-02-20 13:21:23 +00:00
5effdcca3c Fix up example description of podman-system commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 08:18:51 -05:00
ec68f07c04 Fix Lint on Windows and enable the job
[NO NEW TESTS NEEDED] Purely refactoring

Signed-off-by: Matt Heon <mheon@redhat.com>
2024-02-20 08:06:18 -05:00
66fd41ff19 cirrus logcollector: update package list
aardvark-dns, netavark and passt are installed on both debian and
fedora. cri-o-runc is not installed anymore and it just uses the normal
runc package on debian. containers-common is called
golang-github-containers-common on debian and also uses
golang-github-containers-image for further config files from c/image.
This makes sure we correctly log all the package versions on debian
correctly.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-20 13:58:57 +01:00
5327ddfdf2 Build with CNI support on FreeBSD
This is needed until there is netavark support on FreeBSD

[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
2024-02-20 12:57:45 +00:00
921b5bb0b1 Merge pull request #21709 from rhatdan/docs24
[CI:DOCS] Fix up example description of podman-port.1.md.in
2024-02-20 11:17:38 +00:00
34aa4cece8 Merge pull request #21718 from rhatdan/docs17
[CI:DOCS] Fix up example description of podman-history.1.md
2024-02-20 11:09:22 +00:00
a57c7dcd66 Merge pull request #21727 from rhatdan/docs8
[CI:DOCS] Fix up example description of podman-container commands
2024-02-20 11:03:53 +00:00
2009549f07 Merge pull request #21723 from rhatdan/docs10
[CI:DOCS] Fix up example description of podman-commit.1.md
2024-02-20 11:01:06 +00:00
159afc5193 Merge pull request #21722 from rhatdan/docs9
[CI:DOCS] Fix up example description of podman-build.1.md.in
2024-02-20 10:58:21 +00:00
5c4027e15b Merge pull request #21719 from rhatdan/docs12
[CI:DOCS] Fix up example description of podman-create.1.md.in
2024-02-20 10:55:44 +00:00
c5a71c4fdc Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:49:04 -05:00
67ead5cb5d Apply suggestions from code review
Co-authored-by: Valentin Rothberg <vrothberg@redhat.com>
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:48:04 -05:00
408772d34a Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:46:41 -05:00
1612ff69c0 Fix up example description of podman-inspect.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:45:41 -05:00
81b9914ede Merge pull request #21721 from rhatdan/docs14
[CI:DOCS] Fix up example description of podman-events.1.md
2024-02-20 10:44:39 +00:00
da73d98da9 Merge pull request #21720 from rhatdan/docs13
[CI:DOCS] Fix up example description of podman-diff.1.md.in
2024-02-20 10:41:51 +00:00
62148bf615 Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:39:27 -05:00
b8c1a8e79d Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-20 05:38:19 -05:00
9fc45088cb Merge pull request #21587 from cevich/fix_podman_remote_image
[CI:DOCS] Remove disused Containerfile and docs
2024-02-20 09:46:31 +00:00
66f39eee5e machine: Remove unnecessary TODOs
Remove TODO to swap `Rootful` in Inspect with `HostUser`

It is unnecessary to remove the vfkit logfile in the provider-specific Remove function. Vfkit is fed the default logfile provided by mc.LogFile which is removed by the generic Remove function.

Removes TODO regarding moving the location of Stop. False TODO.

[NO NEW TESTS NEEDED]

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2024-02-19 19:51:49 -05:00
c9b61b08c6 Merge pull request #21755 from rhatdan/codespell
Codespell code
2024-02-19 22:32:50 +00:00
07613dd84a Merge pull request #21724 from rhatdan/docs11
[CI:DOCS] Fix up example description of podman-cp.1.md
2024-02-19 21:10:17 +00:00
f63953de61 Merge pull request #21714 from rhatdan/docs19
[CI:DOCS] Fix up example description of podman-export/export commands
2024-02-19 21:07:30 +00:00
f063f96df2 Merge pull request #21711 from rhatdan/docs22
[CI:DOCS] Fix up example description of podman-kill.1.md.in
2024-02-19 21:04:45 +00:00
8707227088 Merge pull request #21704 from rhatdan/docs29
[CI:DOCS] Fix up example description of podman-mount.1.md.in
2024-02-19 21:02:00 +00:00
5b5343b38e Apply suggestions from code review
Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-19 15:53:03 -05:00