Skip to content

Commit

Permalink
feat: add redpanda-data/redpanda (#30426)
Browse files Browse the repository at this point in the history
* feat(redpanda-data/redpanda): scaffold redpanda-data/redpanda

* fix(redpanda-data/redpanda): fix checksum asset names

* refactor(redpanda-data/redpanda): simplify version_overrides

* test(redpanda-data/redpanda): remove some useless tests
  • Loading branch information
suzuki-shunsuke authored Dec 30, 2024
1 parent 4c85860 commit 3cabbe2
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/redpanda-data/redpanda/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
packages:
- name: redpanda-data/[email protected]
- name: redpanda-data/redpanda
version: v22.3.5
- name: redpanda-data/redpanda
version: v22.1.6
- name: redpanda-data/redpanda
version: v21.11.18
- name: redpanda-data/redpanda
version: v21.5.5
37 changes: 37 additions & 0 deletions pkgs/redpanda-data/redpanda/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/aquaproj/aqua/main/json-schema/registry.json
packages:
- type: github_release
repo_owner: redpanda-data
repo_name: redpanda
description: Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM
files:
- name: rpk
version_constraint: "false"
version_overrides:
- version_constraint: Version == "v21.6.3"
no_asset: true
- version_constraint: Version in ["v21.11.18", "v22.1.6"]
asset: rpk-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
supported_envs:
- linux
- version_constraint: semver("<= 21.5.5")
asset: rpk-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
rosetta2: true
supported_envs:
- linux/amd64
- darwin
- version_constraint: semver("<= 22.3.5")
asset: rpk-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
supported_envs:
- linux
- darwin
- version_constraint: "true"
asset: rpk-{{.OS}}-{{.Arch}}.{{.Format}}
format: zip
checksum:
type: github_release
asset: rpk_{{trimV .Version}}_checksums.txt
algorithm: sha256
35 changes: 35 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3cabbe2

Please sign in to comment.