From 1b46940ce219c1d8f3c83eebc5fb8a90e4afe26e Mon Sep 17 00:00:00 2001 From: Yu Ishii <93519247+istone-you@users.noreply.github.com> Date: Tue, 7 May 2024 08:48:46 +0900 Subject: [PATCH] feat: add awslabs/dynein (#22579) * feat: add awslabs/dynein [awslabs/dynein](https://github.com/awslabs/dynein): DynamoDB CLI written in Rust * refactor(awslabs/dynein): remove supported_envs --------- Co-authored-by: Shunsuke Suzuki --- pkgs/awslabs/dynein/pkg.yaml | 4 ++++ pkgs/awslabs/dynein/registry.yaml | 35 +++++++++++++++++++++++++++++++ registry.yaml | 34 ++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 pkgs/awslabs/dynein/pkg.yaml create mode 100644 pkgs/awslabs/dynein/registry.yaml diff --git a/pkgs/awslabs/dynein/pkg.yaml b/pkgs/awslabs/dynein/pkg.yaml new file mode 100644 index 00000000000..2053f84c22b --- /dev/null +++ b/pkgs/awslabs/dynein/pkg.yaml @@ -0,0 +1,4 @@ +packages: + - name: awslabs/dynein@v0.2.1 + - name: awslabs/dynein + version: v0.1.2 diff --git a/pkgs/awslabs/dynein/registry.yaml b/pkgs/awslabs/dynein/registry.yaml new file mode 100644 index 00000000000..1320e76d3b8 --- /dev/null +++ b/pkgs/awslabs/dynein/registry.yaml @@ -0,0 +1,35 @@ +packages: + - type: github_release + repo_owner: awslabs + repo_name: dynein + description: DynamoDB CLI written in Rust + files: + - name: dy + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 0.1.2") + asset: dynein-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + supported_envs: + - linux/amd64 + - darwin + - version_constraint: "true" + asset: dynein-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + replacements: + darwin: macos + linux/amd64: linux + linux/arm64: linux-arm + checksum: + type: github_release + asset: "{{.Asset}}.sha256" + algorithm: sha256 + overrides: + - goos: windows + format: zip + asset: dynein-{{.OS}}.{{.Format}} + checksum: + enabled: false diff --git a/registry.yaml b/registry.yaml index da2f8b2c748..769f7cfd3c7 100644 --- a/registry.yaml +++ b/registry.yaml @@ -7816,6 +7816,40 @@ packages: version_overrides: - version_constraint: semver(">= 0.3.1") rosetta2: true + - type: github_release + repo_owner: awslabs + repo_name: dynein + description: DynamoDB CLI written in Rust + files: + - name: dy + version_constraint: "false" + version_overrides: + - version_constraint: semver("<= 0.1.2") + asset: dynein-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + supported_envs: + - linux/amd64 + - darwin + - version_constraint: "true" + asset: dynein-{{.OS}}.{{.Format}} + format: tar.gz + rosetta2: true + windows_arm_emulation: true + replacements: + darwin: macos + linux/amd64: linux + linux/arm64: linux-arm + checksum: + type: github_release + asset: "{{.Asset}}.sha256" + algorithm: sha256 + overrides: + - goos: windows + format: zip + asset: dynein-{{.OS}}.{{.Format}} + checksum: + enabled: false - type: github_release repo_owner: awslabs repo_name: eks-node-viewer