From cc611b15a8bab9505d84741e3fd85b1c78f583a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 29 Nov 2024 20:32:16 -0100 Subject: [PATCH] feat: add UpCloudLtd/upcloud-cli (upctl) (#29366) * feat(UpCloudLtd/upcloud-cli): scaffold UpCloudLtd/upcloud-cli * fix(UpCloudLtd/upcloud-cli): add files --- pkgs/UpCloudLtd/upcloud-cli/pkg.yaml | 6 +++ pkgs/UpCloudLtd/upcloud-cli/registry.yaml | 47 +++++++++++++++++++++++ registry.yaml | 46 ++++++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 pkgs/UpCloudLtd/upcloud-cli/pkg.yaml create mode 100644 pkgs/UpCloudLtd/upcloud-cli/registry.yaml diff --git a/pkgs/UpCloudLtd/upcloud-cli/pkg.yaml b/pkgs/UpCloudLtd/upcloud-cli/pkg.yaml new file mode 100644 index 00000000000..a956525a0b6 --- /dev/null +++ b/pkgs/UpCloudLtd/upcloud-cli/pkg.yaml @@ -0,0 +1,6 @@ +packages: + - name: UpCloudLtd/upcloud-cli@v3.12.0 + - name: UpCloudLtd/upcloud-cli + version: v1.3.0 + - name: UpCloudLtd/upcloud-cli + version: v0.5.0 diff --git a/pkgs/UpCloudLtd/upcloud-cli/registry.yaml b/pkgs/UpCloudLtd/upcloud-cli/registry.yaml new file mode 100644 index 00000000000..b721b9bcaec --- /dev/null +++ b/pkgs/UpCloudLtd/upcloud-cli/registry.yaml @@ -0,0 +1,47 @@ +packages: + - type: github_release + repo_owner: UpCloudLtd + repo_name: upcloud-cli + description: UpCloud command line client (upctl) + files: + - name: upctl + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 0.5.0") + asset: upctl-{{.Version}}-{{.OS}}-{{.Arch}} + format: raw + rosetta2: true + windows_arm_emulation: true + checksum: + type: github_release + asset: SHA256SUMS + algorithm: sha256 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: semver("<= 1.3.0") + asset: upcloud-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + windows_arm_emulation: true + replacements: + amd64: x86_64 + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip + - version_constraint: "true" + asset: upcloud-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip diff --git a/registry.yaml b/registry.yaml index 23766f14f18..ac5308d2a68 100644 --- a/registry.yaml +++ b/registry.yaml @@ -4128,6 +4128,52 @@ packages: type: github_release asset: kink_checksums.txt algorithm: sha256 + - type: github_release + repo_owner: UpCloudLtd + repo_name: upcloud-cli + description: UpCloud command line client (upctl) + files: + - name: upctl + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 0.5.0") + asset: upctl-{{.Version}}-{{.OS}}-{{.Arch}} + format: raw + rosetta2: true + windows_arm_emulation: true + checksum: + type: github_release + asset: SHA256SUMS + algorithm: sha256 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: semver("<= 1.3.0") + asset: upcloud-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + windows_arm_emulation: true + replacements: + amd64: x86_64 + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip + - version_constraint: "true" + asset: upcloud-cli_{{trimV .Version}}_{{.OS}}_{{.Arch}}.{{.Format}} + format: tar.gz + replacements: + amd64: x86_64 + checksum: + type: github_release + asset: checksums.txt + algorithm: sha256 + overrides: + - goos: windows + format: zip - type: github_release repo_owner: Versent repo_name: saml2aws