Commit Graph

318 Commits

Author SHA1 Message Date
renovate[bot]
a22b7e6336 Update actions/stale action to v10.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-13 16:08:47 +00:00
renovate[bot]
ff0dda12a6 Update actions/labeler action to v6.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-13 15:43:40 +00:00
Paul Holzinger
e8b835dad1 renovate: point config to new repo
We have a new config in the automation repo under
podman-container-tools, see
https://github.com/podman-container-tools/automation/pull/29

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-07 19:25:08 +02:00
Paul Holzinger
8e74c1efd8 ci: make the automation release renovate managed
Put the variable in the workflow file like the renovate config expects,
see https://github.com/podman-container-tools/automation/pull/29

To ensure the local runs keep working we need a fall back to parse the
file manually.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-07-07 14:33:20 +02:00
renovate[bot]
258a2cb12c Update dorny/paths-filter action to v4.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 23:10:08 +00:00
Paul Holzinger
d9a2250d3c Merge pull request #29086 from Luap99/machine-upgrade
fix podman machine os upgrade distro check
2026-07-02 17:18:00 +02:00
Paul Holzinger
5cdc6f80c0 label machine issues automatically
In podman info we print the os variant so use that to label the issue
with 'machine'.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-30 15:12:08 +02:00
renovate[bot]
5ab64e70a0 Update golangci/golangci-lint-action action to v9.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 16:15:06 +00:00
Paul Holzinger
a91d487db7 Merge pull request #29063 from l0rd/fix-machine-init-when-wsl-isnt-installed
Fix machine init when WSL isn't installed
2026-06-29 12:15:43 +02:00
Paul Holzinger
f1c4cf4d9b Merge pull request #29062 from ashley-cui/nightly-names
Upload artifacts with build suffix
2026-06-29 11:52:34 +02:00
Mario Loriedo
80203302f9 Fix lookup of WSL VMs with matching name
When WSL wasn't installed, the lookup erroneously reported that
a VM with the same name existed. Instead, in this case, the lookup
should return zero matching VMs.

Fixes https://github.com/podman-container-tools/podman/issues/29053

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-27 10:52:26 +02:00
Ashley Cui
f69796b6bc Upload artifacts with build suffix
The nightly release validation builds both on main and the latest release branch,
we should upload the artifacts with a suffix to differentiate the two

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-26 16:00:02 -04:00
renovate[bot]
61547d09b0 Update dawidd6/action-send-mail action to v18
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-26 02:49:08 +00:00
Ashley Cui
e696a79b58 Fix release email
gh auth login fails if we set GITHUB_TOKEN

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-25 09:13:09 -04:00
renovate[bot]
99174a9750 Update actions/setup-go action to v6.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-24 04:58:04 +00:00
Paul Holzinger
33e8a80ded drop unused swagger upload workflow
See the prior commit, we now build the swagger yaml as part of the
official readthedocs process so we do not need to host it elsewhere.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-23 19:11:11 +02:00
renovate[bot]
13bbb7d2ad Update r-lib/actions action to v2.12.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-23 07:49:22 +00:00
renovate[bot]
19edca8693 Update zizmorcore/zizmor-action action to v0.5.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 02:32:30 +00:00
renovate[bot]
b05ed5abfe Update actions/checkout action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-18 14:09:57 +00:00
Byounguk Lee
32f987fc8c ci: restrict specific workflows to the upstream repository
Many GitHub Actions workflows currently trigger on user forks, leading to
unnecessary CI resource consumption, unwanted bot behavior, and inevitable
failures. This commit restricts these specific workflows to only run on the
primary `containers/podman` repository.

The restricted workflows fall into two main categories:
1. Require Custom Upstream Secrets: Workflows like `release`, `mac-pkg`,
   `cherry-pick`, and `dev-bump` rely on secrets (e.g., Apple/Azure certs,
   PODMANBOT_TOKEN, ACTION_MAIL_*) that are unavailable in forks.
2. Manage Upstream Tracker State: Workflows like `assign`, `stale`, and
   `labeler` are intended strictly for managing the primary project's
   issues and PRs. Running them on personal forks creates unwanted noise.

Additionally, refactored several complex `if` conditions using YAML
multi-line strings (`|`) to maintain and improve readability.

Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-06-18 11:32:53 +00:00
Paul Holzinger
c8ce2c6089 validate: disable golangci-lint cache
Something with the cache is not working right and results in
inconsistent lint result.

Even on PRs where there are no source code changes we observe random
failures. I have seen at least 4 different instances since we the new CI
setup. It is not reasonable to spot fix each new warning (mostly just
adding new nolint comments) each time as it affects all PRs at once.
It will also be very confusing for new contributors.

Fixes: #28893

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-16 18:58:46 +02:00
Matt Heon
735d0b0093 Merge pull request #28903 from Luap99/fix-chrootarchive-remote
fix podman-remote save -f oci-dir/docker-dir
2026-06-11 09:58:56 -04:00
Mario Loriedo
d1f0833c5f Merge pull request #28895 from ashley-cui/nightly
Release CI: Migrate to re-usable build action
2026-06-11 11:48:25 +02:00
Paul Holzinger
fd07b9c6ec fix podman-remote save -f oci-dir/docker-dir
With podman-remote we do not enter a our user namespace like we do with
local podman so we keep running with the real user id.

So if we then try to use chrootarchive as normal user it fails with:
creating mount namespace before pivot: operation not permitted

So simply revert back to the normal archive code.

Now the more interesting thing is we do have a test
"podman save to directory with oci format" but it never runs
rootless+remote in our CI system with our current matrix as we wanted to
reduce jobs.
So rethink the matrix and add one such job as this shows it is needed.

Fixes: 25aee24cbd ("use chrootarchive over plain archive package")

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-10 18:47:02 +02:00
Jan Rodák
86efefb654 Merge pull request #28894 from Luap99/pr-labels
.github/labeler: add CI label automatically
2026-06-10 09:53:32 +02:00
Ashley Cui
2f4e890067 Release CI: Migrate to re-usable build action
Migrate release to use release-build-artifacts action. This re-usable build action is tested nightly, so hopefully this will make our release automation more stable, as we may catch issues in our nightly runs. Followup to https://github.com/podman-container-tools/podman/pull/28176

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-09 14:25:10 -04:00
renovate[bot]
612a4acaab Update actions/stale action to v10.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 18:20:33 +00:00
Ashley Cui
3ca887232d Some Windows release cleanup
- Update pandoc
- Remove unused FETCH_BASE_URL
- Remove legacy installer upload (74043cf7)

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-09 14:15:42 -04:00
Paul Holzinger
cdb8995665 .github/labeler: add CI label automatically
To make it a bit more obvious when any CI related files such as github
workflows are touched add a label.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-09 17:52:24 +02:00
Mario Loriedo
138879058b Merge pull request #28843 from kolyshkin/should-include-tests
ci: fix validate-source checks vs stale labels
2026-06-05 19:23:44 +02:00
Mario Loriedo
3ab25801a8 Merge pull request #28867 from ashley-cui/relauto
Release automation: update org location
2026-06-05 19:04:41 +02:00
Paul Holzinger
fd9ca9d1f6 Merge pull request #28862 from podman-container-tools/renovate/actions-checkout-6.x
[skip-ci] Update actions/checkout action to v6.0.3
2026-06-05 18:15:22 +02:00
Ashley Cui
c0f582d734 Release automation: update org location
containers -> podman-container-tools

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-05 09:22:33 -04:00
renovate[bot]
821ab5493a Update dependency macos to v26
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 22:49:32 +00:00
renovate[bot]
dbd7b4c138 [skip-ci] Update actions/checkout action to v6.0.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 19:13:23 +00:00
Miloslav Trmač
31544e1f10 Merge pull request #28852 from l0rd/more-gh-token-in-webrequest
Set permissions for win installer CI job
2026-06-04 18:50:29 +02:00
Mario Loriedo
9c7ad74ede Set permissions for win installer CI job
Explicitly set `content: read` permissions so that the GITHUB_TOKEN type
have permissions to "Get a release".

Fixes https://github.com/podman-container-tools/podman/issues/28850

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2026-06-04 12:25:24 +02:00
renovate[bot]
23ebddbee1 [skip-ci] Update zizmorcore/zizmor-action action to v0.5.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-04 09:01:31 +00:00
Kir Kolyshkin
d05c113acd ci: fix validate-source checks vs stale labels
When the validate-source job is re-run manually after adding a label,
it uses stale labels (from the "pull_request" event that originally
triggered it), and so the steps that check labels don't see new labels.

Fix by querying the labels live (similar to how it was done before
commits 6e597af6dc and 1da154117c).

Note the logic differs slightly between hack/ci/make-and-check-size.sh
and hack/ci/pr-should-include-tests. This is because
pr-should-include-tests is also executed locally as well as on non-PRs,
while make-and-check-size is run strictly in CI for PRs only.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2026-06-03 11:44:07 -07:00
Byounguk Lee
5cd4dc4225 docs: redirect version check to latest GitHub release page
The bug reporting instructions previously asked users to compare
their Podman version with the one documented at the top of the README.

This commit updates the issue templates and troubleshooting guide to
point users directly to the latest GitHub release page instead.
Additionally, the obsolete .github/ISSUE_TEMPLATE.md file is removed.

Fixes: #28818

Signed-off-by: Byounguk Lee <nimdrak@gmail.com>
2026-06-03 11:07:10 +00:00
Paul Holzinger
602a803f57 ci: fix validate job to actually work on push
We need to not hard depend on the pull_request var contexts so use the
right alternatives. The PR_ envs can be left empty, the tests using them
should skip the checks if they are unset/empty.

Fixes: #28825

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-02 19:50:37 +02:00
Jan Rodák
9cef14899f Merge pull request #28832 from ashley-cui/ci
CI: Adjust Mac tmpdir
2026-06-02 11:55:45 +02:00
Paul Holzinger
3743b9f806 Goodbye Cirrus
Removing remaining cirrus specific files that we no longer use in the
new CI setup.

Fixes: #28829

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 20:34:27 +02:00
Paul Holzinger
c4d895b07c ci: add path-filter to success job
It is not strictly needed I think since other jobs depend on this
already but for consistency this is easier to check that success waits
for all jobs.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 20:34:27 +02:00
Ashley Cui
2984c2450b CI: Adjust Mac tmpdir
Makes for easier cleanup, and follows previous cirrus convention.

Signed-off-by: Ashley Cui <acui@redhat.com>
2026-06-01 13:24:35 -04:00
Paul Holzinger
3faf2deaf8 ci: skip validate-source on push
The checkout needs the PR context so this fails on push, as such skip it
there for now until we make this work to also work on normal pushes.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:17 +02:00
Paul Holzinger
0fce332955 ci: add GITHUB_TOKEN to win installer test
The test uses the token for API request so we do not get rate limit
failures without a token, see commit 7c7d56a0fb.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:17 +02:00
Paul Holzinger
1fb335d245 ci: disable swagger.yml job
We do not have permissions setup for this and this needs some more
design before we should use it.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:17 +02:00
Paul Holzinger
a758d09b64 ci.yml: add macos jobs
Copied from Tim, but directly integrated into the main yml file to allow
for proper task dependencies.

Co-authored-by: Tim Zhou <tizhou@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:17 +02:00
Paul Holzinger
2297695d0c ci.yml: add windows jobs
Copied from Tim, but directly integrated into the main ci.yml file to
allow for proper task dependencies.

I renamed same task and updated the task dependencies.

Co-authored-by: Tim Zhou <tizhou@redhat.com>
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-06-01 17:00:16 +02:00