0.10.11 • Published 17 days ago

argopm v0.10.11

Weekly downloads
1
License
MIT
Repository
-
Last release
17 days ago

npm-publish-status

argopm

argopm is a package manager for Argo Workflows. It enables developers to distribute and consume argo workflow templates as reusable modules.

Usually, these templates are declared in multiple YAML files and have to be manually applied to the cluster when making changes, doing this becomes very tedious with a growing number of templates.

That's why we built argopm. It allows you to bundle your workflow templates as npm packages so you can distribute and consume them using the amazing tooling already present in the Javascript ecosystem.

With argopm you can also add other k8s resources like configmaps, secrets etc to your package. It also supports adding grafana dashboards right into your package. There is also support for uploading static files to the artifactory ( available for AWS S3)

Getting Started

Prerequisites

  • Node.js > v16.9.0

Installation

argopm is available on NPM. You can install it globally in your node environment using npm or yarn.

npm i -g argopm

OR

yarn add -g argopm

Quickstart

To create a new package with argopm, create a directory for your package, cd into that directory and run argopm init . to scaffold a default package.

mkdir sample-package && cd sample-package
argopm init .

Once this succeeds, you'll see the following contents in your package

.
├── README.md
├── configmaps
│   ├── README.md
│   └── default.yaml
├── cronworkflows
│   ├── README.md
│   └── default.yaml
├── dashboards
│   └── grafana
│       └── observability.json
├── index.js
├── package.json
├── pipelines
│   ├── README.md
│   └── default.yaml
├── secrets
│   ├── README.md
│   └── default.yaml
├── static
│   ├── README.md
│   └── data.json
└── templates
    ├── README.md
    └── default.yaml

8 directories, 16 files

You can then run argopm install . to install this package to the kubernetes cluster your current context is set to.

Usage

You can use the --help flag to get info about various commands.

argopm <command>

Commands:
  argopm install <package>          Install a package. Package name can be of the format package@version                            [aliases: i]
  argopm info <package> [template]  Get info of the installed package or a specific template in the package
  argopm run <package> [template]   Run the package or the package template. Pass in arguments using --
  argopm uninstall <package>        Uninstall a package. Uninstalls all dependencies associated with the package.                [aliases: u, r]
  argopm init [package_name]        Initializes an Argo package inside the current working directory
  argopm list                       List all the packages installed in the namespace                                                [aliases: l]

Options:
      --version    Show version number                                                                                                 [boolean]
  -n, --namespace  Kubernetes namespace. Packages will be installed in this namespace                                 [string] [default: "argo"]
  -r, --registry   Argo Package Registry                                                        [string] [default: "https://packages.atlan.com"]
  -c, --cluster    Install the template at cluster level                                                              [boolean] [default: false]
      --help       Show help                                                                                                           [boolean]

Contributing

Refer to CONTRIBUTING.md for more information on contributing code, docs and tests to argopm.

License

The project is licensed under the MIT License, see the LICENSE file for details.

Discussion and Support

0.10.11

17 days ago

0.10.9

17 days ago

0.9.6

11 months ago

0.9.4

1 year ago

0.9.3

1 year ago

0.9.5

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.8.5

2 years ago

0.8.4

2 years ago

0.6.6

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.4

2 years ago

0.7.3

2 years ago

0.7.0

2 years ago

0.7.11

2 years ago

0.7.10

2 years ago

0.7.9

2 years ago

0.7.13

2 years ago

0.7.6

2 years ago

0.7.5

2 years ago

0.7.8

2 years ago

0.7.7

2 years ago

0.7.15

2 years ago

0.8.1

2 years ago

0.8.0

2 years ago

0.8.3

2 years ago

0.8.2

2 years ago

0.6.3

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.5

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.0

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago