Skip to content

chore(ci): update sha for podman-install action#594

Draft
danivilla9 wants to merge 3 commits into
podman-desktop:mainfrom
danivilla9:586-update-sha-podman-install-action
Draft

chore(ci): update sha for podman-install action#594
danivilla9 wants to merge 3 commits into
podman-desktop:mainfrom
danivilla9:586-update-sha-podman-install-action

Conversation

@danivilla9

@danivilla9 danivilla9 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates Windows E2E workflows to use the new fetch-latest-podman-version-windows action from redhat-actions/podman-install#24 (pinned to 60b05ab), which can fetch Podman from GitHub Actions nightly artifacts in addition to release URLs.

Because nightly builds have no public download URL, this PR also extends download-podman-nightly to accept a local MSI path: when local_installer_path is set, the action SCPs the installer to the Windows VM and installs it there, then configures the Podman provider as before. All affected Windows workflows now forward both download_url and local_installer_path, and grant actions: read so nightly artifacts can be fetched. The nightly WSL workflow defaults to podman_version: nightly.

Test plan

  • Run a Windows workflow with podman_version: latest (release URL path)
  • Run a Windows workflow with podman_version: nightly (local MSI path)
  • Confirm podman-desktop-e2e-nightly-windows-wsl scheduled/dispatch run uses nightly by default

@coderabbitai

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The Podman nightly action now supports local MSI installation with URL fallback. Eight Windows E2E workflows pass fetched installer paths and provider settings, update action pins, add read permissions, and document nightly version selection.

Changes

Windows Podman local installation

Layer / File(s) Summary
Local MSI installation and fallback
.github/actions/download-podman-nightly/action.yml
The action accepts an optional local installer, installs and verifies the MSI remotely, falls back to URL download when absent, and configures the provider after local installation.
Windows workflow integration
.github/workflows/*windows*.yaml, .github/workflows/podman-desktop-e2e-kubernetes.yaml
Windows jobs update the fetch action pin, export PODMAN_LOCAL_INSTALLER, pass installer and provider inputs, add read permissions, and update nightly version documentation or defaults.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant WindowsWorkflow
  participant FetchPodman
  participant DownloadPodmanNightly
  participant WindowsHost
  WindowsWorkflow->>FetchPodman: fetch Podman version and installer
  FetchPodman-->>WindowsWorkflow: return local installer path
  WindowsWorkflow->>DownloadPodmanNightly: pass installer and provider
  DownloadPodmanNightly->>WindowsHost: copy and install MSI
  WindowsHost-->>DownloadPodmanNightly: verify Podman installation
  DownloadPodmanNightly->>WindowsHost: configure provider
Loading
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly summarizes the main change: repinning the podman-install action SHA in CI workflows.
Description check ✅ Passed The description matches the changeset and explains the workflow updates and local MSI support for nightly builds.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/desktop-e2e-podman-windows-matrix.yaml:
- Line 79: Update the download-podman-nightly composite action to accept an
installer-path input and use the local MSI when download_url is empty, while
preserving the existing podman-download-url behavior. Add coverage for both
nightly and main installation paths, including the local-installer fallback.

In @.github/workflows/desktop-e2e-test-job-windows.yaml:
- Line 76: Update the Windows Podman setup workflow around the
fetch-latest-podman-version-windows step to pass its local_installer_path output
through the downloader, while preserving download_url handling for non-nightly
versions. Add or update the nightly/main-path test to verify the local installer
path is forwarded and used when download_url is empty.

In @.github/workflows/podman-desktop-e2e-kubernetes.yaml:
- Line 74: Update the Windows Podman setup around the fetch-podman step and
download-podman-nightly invocation to pass the action’s installer-path output
instead of download_url. Add a condition or validation for nightly/main runs so
the installer path is populated before download-podman-nightly executes.

In @.github/workflows/podman-desktop-e2e-nightly-windows-wsl.yaml:
- Line 75: Update the workflow’s Podman installation handoff so nightly/main
runs use the installer path produced by fetch-latest-podman-version-windows via
local_installer_path instead of the empty download_url; preserve the existing
URL path for non-nightly runs, and add coverage validating the nightly dispatch
passes the local installer to download-podman-nightly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 81fd1058-3a3f-4633-aa3f-880987572bf9

📥 Commits

Reviewing files that changed from the base of the PR and between d7cb55c and 813bddc.

📒 Files selected for processing (8)
  • .github/workflows/desktop-e2e-podman-windows-matrix.yaml
  • .github/workflows/desktop-e2e-test-job-windows.yaml
  • .github/workflows/podman-desktop-e2e-kubernetes.yaml
  • .github/workflows/podman-desktop-e2e-nightly-windows-hyperv.yaml
  • .github/workflows/podman-desktop-e2e-nightly-windows-wsl.yaml
  • .github/workflows/podman-desktop-e2e-remote-windows.yaml
  • .github/workflows/podman-desktop-e2e-stress-ui-windows.yaml
  • .github/workflows/prerelease-desktop-e2e-debug-job-windows.yaml

Comment thread .github/workflows/desktop-e2e-podman-windows-matrix.yaml
Comment thread .github/workflows/desktop-e2e-test-job-windows.yaml
Comment thread .github/workflows/podman-desktop-e2e-kubernetes.yaml
Comment thread .github/workflows/podman-desktop-e2e-nightly-windows-wsl.yaml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/podman-desktop-e2e-nightly-windows-hyperv.yaml (1)

80-82: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Update the default Podman version to nightly.

In the podman-desktop-e2e-nightly-windows-wsl.yaml workflow, the version_input fallback was updated to 'nightly' to properly test the nightly bits. It appears this update was missed in this Hyper-V equivalent workflow (it currently falls back to 'latest' on line 84).

Please consider updating it to 'nightly' for consistency and correct nightly testing behavior. You may also want to verify if the workflow_dispatch input descriptions at the top of the file need the same update as the WSL workflow.

💻 Proposed fix
     - name: Fetch latest Podman version
       id: fetch-podman
       uses: redhat-actions/podman-install/.github/actions/fetch-latest-podman-version-windows@60b05ab5b050c9f8ec8dff7e0377f8bf36c39207
       with:
-        version_input: ${{ github.event.inputs.podman_version || 'latest' }}
+        version_input: ${{ github.event.inputs.podman_version || 'nightly' }}
         file_type: 'msi'
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/podman-desktop-e2e-nightly-windows-hyperv.yaml around
lines 80 - 82, Update the Hyper-V workflow’s Podman version fallback associated
with fetch-podman from latest to nightly, matching the WSL nightly workflow.
Also align the workflow_dispatch input description or default with the nightly
value where applicable.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/actions/download-podman-nightly/action.yml:
- Around line 111-114: Update the user-level Path handling in the Podman
installation step so an unset or null $currentUserPath is treated as empty
before calling .Contains(). Preserve the existing behavior of avoiding duplicate
$podmanPath entries and appending the path for accounts with an existing
user-level Path.

---

Outside diff comments:
In @.github/workflows/podman-desktop-e2e-nightly-windows-hyperv.yaml:
- Around line 80-82: Update the Hyper-V workflow’s Podman version fallback
associated with fetch-podman from latest to nightly, matching the WSL nightly
workflow. Also align the workflow_dispatch input description or default with the
nightly value where applicable.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 40902de9-fdb9-40fe-be2d-c0573689ba3f

📥 Commits

Reviewing files that changed from the base of the PR and between 813bddc and 5feab8f.

📒 Files selected for processing (9)
  • .github/actions/download-podman-nightly/action.yml
  • .github/workflows/desktop-e2e-podman-windows-matrix.yaml
  • .github/workflows/desktop-e2e-test-job-windows.yaml
  • .github/workflows/podman-desktop-e2e-kubernetes.yaml
  • .github/workflows/podman-desktop-e2e-nightly-windows-hyperv.yaml
  • .github/workflows/podman-desktop-e2e-nightly-windows-wsl.yaml
  • .github/workflows/podman-desktop-e2e-remote-windows.yaml
  • .github/workflows/podman-desktop-e2e-stress-ui-windows.yaml
  • .github/workflows/prerelease-desktop-e2e-debug-job-windows.yaml

Comment thread .github/actions/download-podman-nightly/action.yml
Signed-off-by: Daniel Villanueva <[email protected]>
name: ${{ matrix.windows-version }} - ${{ matrix.rootful == '0' && 'rootless' || 'rootful' }} ${{ matrix.user-networking == '1' && '- user mode networking enabled' || '' }}
timeout-minutes: 180
runs-on: ubuntu-latest
permissions:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this.

name: ${{ matrix.windows-version }} - Debug
timeout-minutes: 180
runs-on: ubuntu-latest
permissions:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is it needed?

name: ${{ matrix.windows-version }} - ${{ matrix.windows-featurepack }}
timeout-minutes: 90
runs-on: ubuntu-latest
permissions:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.

name: ${{ matrix.windows-version }} - Debug
timeout-minutes: 180
runs-on: ubuntu-latest
permissions:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.

description: 'The URL to download the Podman build from.'
required: false
default: ''
podman-local-installer:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why cannot we just pass an url to the nightly so that the action/image can pull the installer and use it?

@danivilla9
danivilla9 marked this pull request as draft July 16, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants