From 8e74c1efd88e39d462e1f4411dc741e5cd9739bb Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 7 Jul 2026 14:33:20 +0200 Subject: [PATCH 1/2] 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 --- .github/workflows/lima.yml | 6 ++++++ hack/ci/ci.sh | 2 +- hack/ci/lib.sh | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lima.yml b/.github/workflows/lima.yml index 8422e058ea..05d0385695 100644 --- a/.github/workflows/lima.yml +++ b/.github/workflows/lima.yml @@ -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 }} diff --git a/hack/ci/ci.sh b/hack/ci/ci.sh index ce079a5aec..b6136e6639 100755 --- a/hack/ci/ci.sh +++ b/hack/ci/ci.sh @@ -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/../.." diff --git a/hack/ci/lib.sh b/hack/ci/lib.sh index 7f6d6928b7..9ed9f6aef3 100644 --- a/hack/ci/lib.sh +++ b/hack/ci/lib.sh @@ -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 +} From e8b835dad1d1807e14f4476e168e9c83c403bc29 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 7 Jul 2026 14:39:02 +0200 Subject: [PATCH 2/2] 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 --- .github/renovate.json5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 97371a501b..191785d51d 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -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" ], /*************************************************