21713 Commits

Author SHA1 Message Date
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
d5a17ad9a0 Merge pull request #21743 from lsm5/packit-downstream
[skip-ci] Packit: Update downstream task targets
2024-02-19 14:37:54 +00:00
93a0c242cb [skip-ci] Packit: Update downstream task targets
When I added commit b73eec88, I was under the impression that
the packit config for a downstream Fedora branch should only
contain the tasks for that particular branch. But, that's not
quite the case.

For all downstream tasks like `koji builds` and `bodhi updates`,
Packit now uses the config from the `rawhide` branch on dist-git
https://src.fedoraproject.org/rpms/podman/tree/rawhide . So, this means
all downstream tasks including the ones for F38 and F39 which use a
different version of Podman, need to be specified in the packit config
file that lands in the `rawhide` branch.

This commit re-enables koji and bodhi tasks for all Fedora branches.
Enabling F38 and F39 koji and bodhi will still end up building from
the sources in dist-git, so it's not a conflict to have them enabled on
an upstream branch that won't make its way into F38 and F39.

Labelling as `[skip-ci]` as this doesn't need to go through upstream CI.

Thanks to @majamassarini.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
2024-02-19 19:28:57 +05:30
89587a5d59 Merge pull request #21638 from ashley-cui/buildtag
Build tag out QEMU for Darwin
2024-02-19 13:31:58 +00:00
2c45047957 Merge pull request #21730 from rhatdan/docs5
[CI:DOCS] Fix up example description of podman-manifest commands
2024-02-19 13:26:22 +00:00
e4229f0abc Merge pull request #21729 from rhatdan/docs4
[CI:DOCS] Fix up example description of podman-network commands
2024-02-19 13:23:36 +00:00
a66276e1ec Merge pull request #21693 from containers/renovate/github.com-opencontainers-image-spec-1.x
fix(deps): update module github.com/opencontainers/image-spec to v1.1.0
2024-02-19 12:05:01 +00:00
c22cbb953a Merge pull request #21725 from rhatdan/docs6
[CI:DOCS] Fix up example description of podman-farm commands
2024-02-19 11:40:16 +00:00
80b1e95700 Merge pull request #21659 from rhatdan/retry
Allow podman pull to specify --retry and --retry-delay
2024-02-19 11:37:31 +00:00
6abf785cf5 Merge pull request #21702 from rhatdan/docs31
[CI:DOCS] Fix up example description of podman-unshare.1.md
2024-02-19 11:34:45 +00:00
6c77b6d498 Merge pull request #21717 from rhatdan/docs16
[CI:DOCS] Fix up example description of podman-healthcheck-run.1.md
2024-02-19 09:12:51 +00:00
e20fbaffc9 Merge pull request #21707 from rhatdan/docs26
[CI:DOCS] Fix up example description of podman-rm.1.md.in
2024-02-19 09:10:07 +00:00
89926c8af9 Merge pull request #21732 from rhatdan/docs1
[CI:DOCS] Fix up example description of podman-image commands
2024-02-19 09:07:22 +00:00
7b6f22e358 Merge pull request #21703 from rhatdan/docs30
[CI:DOCS] Fix up example description of podman-pause.1.md.in
2024-02-19 09:04:40 +00:00
6c7f987ab3 Merge pull request #21499 from tnk4on/fix-remove-dockersock-symlink
Fixed `podman-mac-helper uninstall` to remove docker.sock symlink
2024-02-18 23:29:49 +00:00
630bfbfdbd Merge pull request #21686 from arixmkii/qemu-machine-5-bugfixes
Improve cross platform support in QEMU machine sources
2024-02-18 23:27:12 +00:00
7dd8fc50b9 Merge pull request #21684 from baude/machinereset
Introduce Podman machine reset
2024-02-18 17:46:06 +00:00
e191f03938 Merge pull request #21706 from rhatdan/docs27
[CI:DOCS]  Fix up example description of podman-start.1.md.in
2024-02-18 17:43:20 +00:00
66ed469879 Apply suggestions from code review
Co-authored-by: Valentin Rothberg <vrothberg@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-18 12:42:07 -05:00
4c18bfa21b Merge pull request #21716 from rhatdan/docs15
[CI:DOCS] Fix up example description of podman-exec.1.md.in
2024-02-18 17:26:49 +00:00
36dd18d42b Merge pull request #21715 from rhatdan/docs20
[CI:DOCS] Fix up example description of podman-info.1.md
2024-02-18 17:24:16 +00:00
10d748f584 Introduce Podman machine reset
Podman machine reset is a new command that will "reset" your podman
machine environment.  Reset is defined as:

* Stop and Remove all VMs
* Remove the following directories:
    - configuration dir i.e. ~/.config/containers/podman/machine/qemu
    - data dir i.e. ~/.local/.share/containers/podman/machine/qemu

When deleting, if errors are encountered, they will be batched and spit
out at the end.  Podman will try to proceed even in error in doing what
it was told.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-02-18 08:43:12 -06:00
537490cb9c Fix up example description of podman-farm commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-18 08:02:29 -05:00
aad195ca38 Fix up example description of podman-network commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-18 07:48:08 -05:00
777b258a7a Fix up example description of podman-image commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-18 07:41:47 -05:00
79a10419c0 Fix up example description of podman-unshare.1.md
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:29 -05:00
63d9bf1280 Fix up example description of podman-pause.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:28 -05:00
4b6ca1687a Fix up example description of podman-start.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:25 -05:00
f5c666d070 Fix up example description of podman-rm.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:24 -05:00
6c8123325a Fix up example description of podman-info.1.md
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:19 -05:00
1a06ec802c Fix up example description of podman-healthcheck-run.1.md
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:15 -05:00
10af448548 Fix up example description of podman-exec.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:14 -05:00
47d0aa1bc1 Fix up example description of podman-manifest commands
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 13:54:04 -05:00
7ba23cd6fc Allow podman pull to specify --retry and --retry-delay
Fixes: https://github.com/containers/podman/issues/19770

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-17 07:37:26 -05:00
fbb4d5dca6 Merge pull request #21692 from Luap99/machine-cleanup
machine init: validate machine name and username
2024-02-17 12:33:23 +00:00
3b3423230c Merge pull request #21666 from n1hility/reenable-wsl-tests
Reenable wsl tests
2024-02-17 12:27:52 +00:00
335750d99b Merge pull request #21689 from mheon/bump_500_rc2
Bump to v5.0.0-RC2
2024-02-16 16:42:58 +00:00
f036476cfa fix usermode test
Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2024-02-16 09:17:29 -06:00
24b8d1446d fix(deps): update module github.com/opencontainers/image-spec to v1.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 15:10:40 +00:00
a8d20e466b Merge pull request #21690 from containers/renovate/golangci-golangci-lint-1.x
[CI:DOCS] Update dependency golangci/golangci-lint to v1.56.2
2024-02-16 15:09:30 +00:00
2846027dc6 machine init: validate machine name and username
Validate the names with our name regex that we also use for
containers/pods. While we technically do not need to be that strict, I
think it makes sense to match containers. The most important bit of this
validation is that we exclude the use of / and \ which breaks all our
file paths as we just use this in the name an when machine write the
file it ends up being in a subdir which breaks the reading side. Also
other special characters could cause trouble for the URL parsing in the
machine connection URL.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-16 15:58:39 +01:00
fa0937affe Merge pull request #21682 from edsantiago/manpages-nested-structs
[CI:DOCS] man-page xref: make nested-structure warnings fatal
2024-02-16 14:48:34 +00:00
8be1c0b042 [CI:DOCS] Update dependency golangci/golangci-lint to v1.56.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-16 14:08:05 +00:00
abb5300532 Merge pull request #21643 from baude/fcospruning
Prune FCOS related code
2024-02-16 14:06:29 +00:00
30a18fc02d pkg/machine: make only one AddConnection() call
This function has to read/write the connections file as such it should
only ever be called once otherwise we read/write the same file twice
which makes no sense. Also cleanup the fucntion a bit and make it
private as there are no external callers.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-16 14:58:17 +01:00
9bc94dd99c Merge pull request #21651 from containers/renovate/docker.io-library-golang-1.x
chore(deps): update docker.io/library/golang docker tag to v1.22
2024-02-16 13:55:17 +00:00
7f2a6c735f Bump to v5.0.0-dev
Signed-off-by: Matt Heon <mheon@redhat.com>
2024-02-16 08:43:28 -05:00
f620aa0fbd Bump to v5.0.0-rc2
Signed-off-by: Matt Heon <mheon@redhat.com>
v5.0.0-rc2
2024-02-16 08:43:11 -05:00
d60757cca6 pkg/machine: cleanup MakeSSHURL
Remove unnecessary type redirection and just make it a normal function.
Also unexport it and move the test as it does not need to be public and
remove the default value assignments from the struct.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-02-16 14:41:14 +01:00
e0a7668547 Improve cross platform support in QEMU machine sources
Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
2024-02-16 12:49:54 +02:00