From 23eeb933863f9ec9d458d0754c56326397a56643 Mon Sep 17 00:00:00 2001 From: Damien Duportal Date: Sun, 20 Nov 2022 17:43:54 +0100 Subject: [PATCH] chore(updatecli) adapt manifest for v0.38.0 Signed-off-by: Damien Duportal --- .github/workflows/updatecli.yaml | 2 +- .../updatecli.d/jenkins-agent-parent.yaml | 55 ++++--------------- 2 files changed, 12 insertions(+), 45 deletions(-) diff --git a/.github/workflows/updatecli.yaml b/.github/workflows/updatecli.yaml index cb2063ae..782f56a6 100644 --- a/.github/workflows/updatecli.yaml +++ b/.github/workflows/updatecli.yaml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v3 - name: Install Updatecli in the runner - uses: updatecli/updatecli-action@v2.14.0 + uses: updatecli/updatecli-action@v2.15.0 - name: Run Updatecli in Dry Run mode run: updatecli diff --config ./updatecli/updatecli.d --values ./updatecli/values.github-action.yaml diff --git a/updatecli/updatecli.d/jenkins-agent-parent.yaml b/updatecli/updatecli.d/jenkins-agent-parent.yaml index a51589cd..5072dbb6 100644 --- a/updatecli/updatecli.d/jenkins-agent-parent.yaml +++ b/updatecli/updatecli.d/jenkins-agent-parent.yaml @@ -42,60 +42,27 @@ conditions: architecture: amd64 image: jenkins/agent tag: '{{source "lastVersion" }}-alpine-jdk17' - checkJdk11DebianAmd64DockerImage: + checkJdk11DebianDockerImages: kind: dockerimage name: Check if the container image "jenkins/agent:-jdk11" for linux/amd64 is available disablesourceinput: true spec: - architecture: amd64 - image: jenkins/agent - tag: '{{source "lastVersion" }}-jdk11' - checkJdk11DebianArm64DockerImage: - kind: dockerimage - name: Check if the container image "jenkins/agent:-jdk11" for linux/arm64 is available - disablesourceinput: true - spec: - architecture: arm64 - image: jenkins/agent - tag: '{{source "lastVersion" }}-jdk11' - checkJdk11DebianArmv7DockerImage: - kind: dockerimage - name: Check if the container image "jenkins/agent:-jdk11" for linux/arm/v7 is available - disablesourceinput: true - spec: - architecture: arm/v7 + architectures: + - amd64 + - arm64 + - arm/v7 + - s390x image: jenkins/agent tag: '{{source "lastVersion" }}-jdk11' - checkJdk11DebianS390xDockerImage: - kind: dockerimage - name: Check if the container image "jenkins/agent:-jdk11" for linux/s390x is available - disablesourceinput: true - spec: - architecture: s390x - image: jenkins/agent - tag: '{{source "lastVersion" }}-jdk11' - checkJdk17DebianAmd64DockerImage: + checkJdk17DebianDockerImages: kind: dockerimage name: Check if the container image "jenkins/agent:-jdk17" for linux/amd64 is available disablesourceinput: true spec: - architecture: amd64 - image: jenkins/agent - tag: '{{source "lastVersion" }}-jdk17' - checkJdk17DebianArm64DockerImage: - kind: dockerimage - name: Check if the container image "jenkins/agent:-jdk17" for linux/arm64 is available - disablesourceinput: true - spec: - architecture: arm64 - image: jenkins/agent - tag: '{{source "lastVersion" }}-jdk17' - checkJdk17DebianArmv7DockerImage: - kind: dockerimage - name: Check if the container image "jenkins/agent:-jdk17" for linux/arm/v7 is available - disablesourceinput: true - spec: - architecture: arm/v7 + architectures: + - amd64 + - arm64 + - arm/v7 image: jenkins/agent tag: '{{source "lastVersion" }}-jdk17' checkJdk11WindowsNanoserver1809DockerImage: