mirror of
https://github.com/containers/podman.git
synced 2026-07-27 23:46:58 -04:00
Merge pull request #29137 from Luap99/renovate-automation
ci: make the automation release renovate managed
This commit is contained in:
4
.github/renovate.json5
vendored
4
.github/renovate.json5
vendored
@@ -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"
|
||||
],
|
||||
|
||||
/*************************************************
|
||||
|
||||
6
.github/workflows/lima.yml
vendored
6
.github/workflows/lima.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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/../.."
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user