From b29609ee578b8e91d0f0bf97dc02a4d8cfdee786 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 20:51:39 +0000 Subject: [PATCH 1/2] Bump actions/cache from 3 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/mkdocs-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mkdocs-ci.yml b/.github/workflows/mkdocs-ci.yml index 14813db9..81b570bb 100644 --- a/.github/workflows/mkdocs-ci.yml +++ b/.github/workflows/mkdocs-ci.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: ${{ github.ref }} path: .cache From 2dd61dba6b844f849adb362891cf63471a12f423 Mon Sep 17 00:00:00 2001 From: Kirill Trofimov Date: Thu, 25 Jan 2024 09:42:15 +0100 Subject: [PATCH 2/2] Add Podman --- Evergreen/Apps/Get-Podman.ps1 | 27 +++++++++++++++++++++++++++ Evergreen/Manifests/Podman.json | 20 ++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 Evergreen/Apps/Get-Podman.ps1 create mode 100644 Evergreen/Manifests/Podman.json diff --git a/Evergreen/Apps/Get-Podman.ps1 b/Evergreen/Apps/Get-Podman.ps1 new file mode 100644 index 00000000..2c7c97c4 --- /dev/null +++ b/Evergreen/Apps/Get-Podman.ps1 @@ -0,0 +1,27 @@ +Function Get-Podman { + <# + .SYNOPSIS + Returns the available Podman versions. + + .NOTES + Author: Kirill Trofimov + #> + [OutputType([System.Management.Automation.PSObject])] + [CmdletBinding(SupportsShouldProcess = $False)] + param ( + [Parameter(Mandatory = $False, Position = 0)] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + $res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1]) + ) + + # Pass the repo releases API URL and return a formatted object + $params = @{ + Uri = $res.Get.Uri + MatchVersion = $res.Get.MatchVersion + Filter = $res.Get.MatchFileTypes + } + $object = Get-GitHubRepoRelease @params + + Write-Output -InputObject $object +} diff --git a/Evergreen/Manifests/Podman.json b/Evergreen/Manifests/Podman.json new file mode 100644 index 00000000..19cf2fcd --- /dev/null +++ b/Evergreen/Manifests/Podman.json @@ -0,0 +1,20 @@ +{ + "Name": "Podman", + "Source": "https://github.com/containers/podman", + "Get": { + "Uri": "https://api.github.com/repos/containers/podman/releases/latest", + "MatchVersion": "(\\d+(\\.\\d+){1,4}).*", + "MatchFileTypes": "\\.exe$" + }, + "Install": { + "Setup": "podman-*.exe", + "Physical": { + "Arguments": "/install /quiet /norestart", + "PostInstall": [] + }, + "Virtual": { + "Arguments": "", + "PostInstall": [] + } + } +}