Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,29 +1,37 @@
actionlint = "1.7.12"
buf = "1.71.0"
cloud-provider-kind = "0.10.0"
direnv = "2.37.1"
dprint = "0.54.0"
golangci-lint = "2.12.2"
kubeconform = "0.8.0"
prek = "0.4.5"
rumdl = "0.2.14"
shellcheck = "0.11.0"
shfmt = "3.13.1"
taplo = "0.10.0"
task = "3.51.1"
typos = "1.47.2"
yamlfmt = "0.21.0"
yq = "4.53.3"

[plugins]
actionlint = "file://./actionlint/plugin.toml"
buf = "file://./buf/plugin.toml"
cloud-provider-kind = "file://./cloud-provider-kind/plugin.toml"
direnv = "file://./direnv/plugin.toml"
dprint = "file://./dprint/plugin.toml"
golangci-lint = "file://./golangci-lint/plugin.toml"
kubeconform = "file://./kubeconform/plugin.toml"
prek = "file://./prek/plugin.toml"
rumdl = "file://./rumdl/plugin.toml"
shellcheck = "file://./shellcheck/plugin.toml"
shfmt = "file://./shfmt/plugin.toml"
taplo = "file://./taplo/plugin.toml"
task = "file://./task/plugin.toml"
typos = "file://./typos/plugin.toml"
yamlfmt = "file://./yamlfmt/plugin.toml"
yq = "file://./yq/plugin.toml"

[settings]
# Avoid polluting upstream telemetry with CI / contributor install runs.
Expand Down
15 changes: 15 additions & 0 deletions cloud-provider-kind/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# cloud-provider-kind plugin

[cloud-provider-kind](https://github.com/kubernetes-sigs/cloud-provider-kind) plugin
for [proto](https://github.com/moonrepo/proto).

## Installation

cloud-provider-kind is not built into proto, so register this plugin, pin a version,
then install:

```shell
proto plugin add cloud-provider-kind "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/cloud-provider-kind/plugin.toml"
proto pin cloud-provider-kind latest --resolve
proto install cloud-provider-kind
```
28 changes: 28 additions & 0 deletions cloud-provider-kind/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = "cloud-provider-kind"
type = "cli"

[resolve]
git-url = "https://github.com/kubernetes-sigs/cloud-provider-kind"

[install.arch]
aarch64 = "arm64"
x86_64 = "amd64"

[platform.linux]
download-file = "cloud-provider-kind_{version}_linux_{arch}.tar.gz"
checksum-file = "cloud-provider-kind_{version}_checksums.txt"
exe-path = "cloud-provider-kind"

[platform.macos]
download-file = "cloud-provider-kind_{version}_darwin_{arch}.tar.gz"
checksum-file = "cloud-provider-kind_{version}_checksums.txt"
exe-path = "cloud-provider-kind"

[platform.windows]
download-file = "cloud-provider-kind_{version}_windows_{arch}.tar.gz"
checksum-file = "cloud-provider-kind_{version}_checksums.txt"
exe-path = "cloud-provider-kind.exe"

[install]
download-url = "https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v{version}/{download_file}"
checksum-url = "https://github.com/kubernetes-sigs/cloud-provider-kind/releases/download/v{version}/{checksum_file}"
15 changes: 15 additions & 0 deletions kubeconform/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# kubeconform plugin

[kubeconform](https://github.com/yannh/kubeconform) plugin for
[proto](https://github.com/moonrepo/proto).

## Installation

kubeconform is not built into proto, so register this plugin, pin a version, then
install:

```shell
proto plugin add kubeconform "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/kubeconform/plugin.toml"
proto pin kubeconform latest --resolve
proto install kubeconform
```
28 changes: 28 additions & 0 deletions kubeconform/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = "kubeconform"
type = "cli"

[resolve]
git-url = "https://github.com/yannh/kubeconform"

[install.arch]
aarch64 = "arm64"
x86_64 = "amd64"

[platform.linux]
download-file = "kubeconform-linux-{arch}.tar.gz"
checksum-file = "CHECKSUMS"
exe-path = "kubeconform"

[platform.macos]
download-file = "kubeconform-darwin-{arch}.tar.gz"
checksum-file = "CHECKSUMS"
exe-path = "kubeconform"

[platform.windows]
download-file = "kubeconform-windows-{arch}.zip"
checksum-file = "CHECKSUMS"
exe-path = "kubeconform.exe"

[install]
download-url = "https://github.com/yannh/kubeconform/releases/download/v{version}/{download_file}"
checksum-url = "https://github.com/yannh/kubeconform/releases/download/v{version}/{checksum_file}"
13 changes: 13 additions & 0 deletions task/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# task plugin

[task](https://github.com/go-task/task) plugin for [proto](https://github.com/moonrepo/proto).

## Installation

task is not built into proto, so register this plugin, pin a version, then install:

```shell
proto plugin add task "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/task/plugin.toml"
proto pin task latest --resolve
proto install task
```
28 changes: 28 additions & 0 deletions task/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name = "task"
type = "cli"

[resolve]
git-url = "https://github.com/go-task/task"

[install.arch]
aarch64 = "arm64"
x86_64 = "amd64"

[platform.linux]
download-file = "task_linux_{arch}.tar.gz"
checksum-file = "task_checksums.txt"
exe-path = "task"

[platform.macos]
download-file = "task_darwin_{arch}.tar.gz"
checksum-file = "task_checksums.txt"
exe-path = "task"

[platform.windows]
download-file = "task_windows_{arch}.zip"
checksum-file = "task_checksums.txt"
exe-path = "task.exe"

[install]
download-url = "https://github.com/go-task/task/releases/download/v{version}/{download_file}"
checksum-url = "https://github.com/go-task/task/releases/download/v{version}/{checksum_file}"
13 changes: 13 additions & 0 deletions yq/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# yq plugin

[yq](https://github.com/mikefarah/yq) plugin for [proto](https://github.com/moonrepo/proto).

## Installation

yq is not built into proto, so register this plugin, pin a version, then install:

```shell
proto plugin add yq "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/yq/plugin.toml"
proto pin yq latest --resolve
proto install yq
```
25 changes: 25 additions & 0 deletions yq/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name = "yq"
type = "cli"

[resolve]
git-url = "https://github.com/mikefarah/yq"

[install.arch]
aarch64 = "arm64"
x86_64 = "amd64"

[platform.linux]
download-file = "yq_linux_{arch}"

[platform.macos]
download-file = "yq_darwin_{arch}"

[platform.windows]
download-file = "yq_windows_{arch}.exe"

# yq ships raw binaries (no archive). Upstream publishes a checksum file but
# it uses a non-standard multi-hash format that proto can't parse, so we skip
# checksum verification.
[install]
download-url = "https://github.com/mikefarah/yq/releases/download/v{version}/{download_file}"
unpack = false