Skip to content

Commit

Permalink
Merge pull request #8 from appthrust/add-argo-plugin
Browse files Browse the repository at this point in the history
feat: 🎸 add argo
  • Loading branch information
kahirokunn authored Jun 13, 2024
2 parents 97ae53b + e8994ea commit e8d7d10
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
21 changes: 21 additions & 0 deletions argo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# argo plugin

[argo](https://argocli.io) plugin for [proto](https://github.com/moonrepo/proto).

## Installation

This is a community plugin and is thus not built-in to proto. In order to use it, first either add it to your global or project-based `.prototools` by running:

### Global install

```shell
proto plugin add argo "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/argo/plugin.toml" --global
proto install argo
```

### Per-project install

```shell
proto plugin add argo "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/argo/plugin.toml"
proto pin argo latest --resolve
```
30 changes: 30 additions & 0 deletions argo/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# A TOML plugin for argo:
# https://moonrepo.dev/docs/proto/plugins#toml-plugin

name = "argo"
type = "cli"

[platform.linux]
bin-path = "argo-linux-{arch}"
download-file = "argo-linux-{arch}.gz"
checksum-file = "argo-workflows-cli-checksums.txt"

[platform.macos]
bin-path = "argo-darwin-{arch}"
download-file = "argo-darwin-{arch}.gz"
checksum-file = "argo-workflows-cli-checksums.txt"

[platform.windows]
bin-path = "argo-windows-{arch}.exe"
download-file = "argo-windows-{arch}.exe.gz"
checksum-file = "argo-workflows-cli-checksums.txt"

[install]
download-url = "https://github.com/argoproj/argo-workflows/releases/download/v{version}/{download_file}"

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

[resolve]
git-url = "https://github.com/argoproj/argo-workflows"

0 comments on commit e8d7d10

Please sign in to comment.