Skip to content

Commit

Permalink
chore: switch to podman setup.exe (#264)
Browse files Browse the repository at this point in the history
* chore: switch to podman setup.exe

Signed-off-by: Daniel Villanueva <davillan@redhat.com>
  • Loading branch information
danivilla9 authored Oct 30, 2024
1 parent d5754db commit 342b325
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/desktop-e2e-podman-windows-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ on:
type: string
required: true
podman_remote_url:
default: 'https://github.com/containers/podman/releases/download/v5.0.3/podman-remote-release-windows_amd64.zip'
description: 'podman remote zip'
default: 'https://github.com/containers/podman/releases/download/v5.2.5/podman-5.2.5-setup.exe'
description: 'podman latest version exe'
type: string
required: true
podman_initialize:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/desktop-e2e-test-job-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ on:
type: string
required: true
podman_remote_url:
default: 'https://github.com/containers/podman/releases/download/v5.2.0/podman-remote-release-windows_amd64.zip'
description: 'podman remote zip'
default: 'https://github.com/containers/podman/releases/download/v5.2.5/podman-5.2.5-setup.exe'
description: 'podman latest version exe'
type: string
required: true
podman_options:
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/podman-desktop-e2e-nightly-windows-hyperv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
type: 'string'
required: true
podman_remote_url:
default: 'https://github.com/containers/podman/releases/download/v5.2.4/podman-5.2.4-setup.exe'
default: 'https://github.com/containers/podman/releases/download/v5.2.5/podman-5.2.5-setup.exe'
description: 'podman latest version exe'
type: string
required: true
Expand Down Expand Up @@ -63,14 +63,21 @@ jobs:
windows-featurepack: '22h2-ent'

steps:
- name: Get Podman version used by Desktop
run: |
version=$(curl https://raw.githubusercontent.com/containers/podman-desktop/main/extensions/podman/packages/extension/src/podman5.json | jq -r '.version')
echo "Default Podman Version from Podman Desktop: ${version}"
echo "PD_PODMAN_VERSION=${version}" >> $GITHUB_ENV
- name: Set the default env. variables
env:
DEFAULT_FORK: 'containers'
DEFAULT_BRANCH: 'main'
DEFAULT_NPM_TARGET: 'test:e2e'
DEFAULT_PODMAN_PROVIDER: 'hyperv'
DEFAULT_ENV_VARS: 'TEST_PODMAN_MACHINE=true'
DEFAULT_URL: 'https://github.com/containers/podman/releases/download/v5.2.4/podman-5.2.4-setup.exe'
DEFAULT_VERSION: "${{ env.PD_PODMAN_VERSION || '5.2.5' }}"
DEFAULT_URL: 'https://github.com/containers/podman/releases/download/v$DEFAULT_VERSION/podman-$DEFAULT_VERSION-setup.exe'
DEFAULT_IMAGES_VERSIONS: 'BUILDER="v0.0.2",PODMAN="v0.0.2",RUNNER="v0.0.2"'
run: |
echo "FORK=${{ github.event.inputs.fork || env.DEFAULT_FORK }}" >> $GITHUB_ENV
Expand Down

0 comments on commit 342b325

Please sign in to comment.