From 03b28ca35a9a3b913d38d7f24b1d154227162204 Mon Sep 17 00:00:00 2001 From: Shunsuke Suzuki Date: Wed, 8 Nov 2023 23:43:00 +0900 Subject: [PATCH] fix(google/gke-policy-automation): follow up changes of gke-policy v1.3.3 Assets were renamed. - https://github.com/google/gke-policy-automation/releases/tag/v1.3.3 - https://github.com/google/gke-policy-automation/pull/199 - https://github.com/google/gke-policy-automation/commit/d363868785be788fe7e25bfe625c819fc19c19b5 --- pkgs/google/gke-policy-automation/pkg.yaml | 4 ++- .../gke-policy-automation/registry.yaml | 28 +++++++++++++------ registry.yaml | 28 +++++++++++++------ 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/pkgs/google/gke-policy-automation/pkg.yaml b/pkgs/google/gke-policy-automation/pkg.yaml index fb7c03fb611..c8ca935e940 100644 --- a/pkgs/google/gke-policy-automation/pkg.yaml +++ b/pkgs/google/gke-policy-automation/pkg.yaml @@ -1,2 +1,4 @@ packages: - - name: google/gke-policy-automation@v1.3.2 + - name: google/gke-policy-automation@v1.3.3 + - name: google/gke-policy-automation + version: v1.3.2 diff --git a/pkgs/google/gke-policy-automation/registry.yaml b/pkgs/google/gke-policy-automation/registry.yaml index dbfdbcc9260..ebfa2c20286 100644 --- a/pkgs/google/gke-policy-automation/registry.yaml +++ b/pkgs/google/gke-policy-automation/registry.yaml @@ -2,12 +2,24 @@ packages: - type: github_release repo_owner: google repo_name: gke-policy-automation - asset: gke-policy-automation_{{trimV .Version}}_{{.OS}}_{{.Arch}}.zip - files: - - name: gke-policy - src: gke-policy description: Tool and policy library for reviewing Google Kubernetes Engine clusters against best practices - checksum: - type: github_release - asset: gke-policy-automation_{{trimV .Version}}_SHA256SUMS - algorithm: sha256 + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 1.3.2") + asset: gke-policy-automation_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: zip + files: + - name: gke-policy + checksum: + type: github_release + asset: gke-policy-automation_{{trimV .Version}}_SHA256SUMS + algorithm: sha256 + - version_constraint: "true" + asset: gke-policy-automation_{{.Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: zip + files: + - name: gke-policy + checksum: + type: github_release + asset: gke-policy-automation_{{.Version}}_SHA256SUMS + algorithm: sha256 diff --git a/registry.yaml b/registry.yaml index 06b061c4160..d735915252d 100644 --- a/registry.yaml +++ b/registry.yaml @@ -12780,15 +12780,27 @@ packages: - type: github_release repo_owner: google repo_name: gke-policy-automation - asset: gke-policy-automation_{{trimV .Version}}_{{.OS}}_{{.Arch}}.zip - files: - - name: gke-policy - src: gke-policy description: Tool and policy library for reviewing Google Kubernetes Engine clusters against best practices - checksum: - type: github_release - asset: gke-policy-automation_{{trimV .Version}}_SHA256SUMS - algorithm: sha256 + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 1.3.2") + asset: gke-policy-automation_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: zip + files: + - name: gke-policy + checksum: + type: github_release + asset: gke-policy-automation_{{trimV .Version}}_SHA256SUMS + algorithm: sha256 + - version_constraint: "true" + asset: gke-policy-automation_{{.Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: zip + files: + - name: gke-policy + checksum: + type: github_release + asset: gke-policy-automation_{{.Version}}_SHA256SUMS + algorithm: sha256 - type: github_release repo_owner: google repo_name: go-containerregistry