Merge pull request #29137 from Luap99/renovate-automation

ci: make the automation release renovate managed
This commit is contained in:
Danish Prakash
2026-07-10 12:20:37 +05:30
committed by GitHub
4 changed files with 15 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ and/or use the pre-commit hook: https://github.com/renovatebot/pre-commit-hooks
// Reuse predefined sets of configuration options to DRY
"extends": [
// https://github.com/containers/automation/blob/main/renovate/defaults.json5
"github>containers/automation//renovate/defaults.json5"
// https://github.com/podman-container-tools/automation/blob/main/renovate/defaults.json5
"github>podman-container-tools/automation//renovate/defaults.json5"
],
/*************************************************

View File

@@ -28,6 +28,12 @@ on:
permissions: {}
env:
# CI automation repo release for the VM image downloads in ci.sh.
# ENV is managed by renovate, do not change the name without
# updating the renovate config in the automation repo.
AUTOMATION_RELEASE: 20260616t073924z
jobs:
lima:
if: ${{ inputs.if }}

View File

@@ -6,7 +6,7 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
source "$SCRIPT_DIR/lib.sh"
AUTOMATION_RELEASE="20260616t073924z" # TODO should be renovate managed
AUTOMATION_RELEASE="${AUTOMATION_RELEASE:-$(get_automation_release)}"
LIMA_VM_NAME=podman-ci
REPO_DIR="$SCRIPT_DIR/../.."

View File

@@ -111,3 +111,9 @@ function remove_packaged_podman_files() {
sudo rm -f "$fullpath"
done
}
# Reads and prints the AUTOMATION_RELEASE value from the workflow file.
# Used for local runs where ci.sh is not triggered by gh actions.
function get_automation_release() {
sed -En 's/.*AUTOMATION_RELEASE:\s(.*)/\1/p' .github/workflows/lima.yml
}