An open API service indexing awesome lists of open source software.

https://github.com/nikku/camunda-deploy

Deploy to Camunda from the command-line.
https://github.com/nikku/camunda-deploy

camunda cli deployment

Last synced: 2 months ago
JSON representation

Deploy to Camunda from the command-line.

Awesome Lists containing this project

README

          

# camunda-deploy

[![CI](https://github.com/nikku/camunda-deploy/actions/workflows/CI.yml/badge.svg)](https://github.com/nikku/camunda-deploy/actions/workflows/CI.yml)

Deploy to [Camunda](https://camunda.com/products/bpmn-engine/) via command-line.

## Installation

Install the command-line utility globally via:

```sh
npm install camunda-deploy -g
```

Alternatively, use it directly via `npx`:

```sh
npx camunda-deploy -n my-deployment *.bpmn
```

## Usage

```sh
Usage

$ camunda-deploy [options...]

Options

-n, --name The deployment name
-t, --tenant-id The (optional) tenant to deploy to
-S, --source The (optional) deployment source

--verbose Log verbose output
--quite Log no output
--json Output deployed resources as JSON

Endpoint Configuration

The CLI will read the Camunda endpoint as well as authentication
credentials from the following environment variables:

CAMUNDA_URL
CAMUNDA_AUTH_USERNAME
CAMUNDA_AUTH_PASSWORD
CAMUNDA_AUTH_BEARER

To retrieve the values it will read a .env file, if found, too.

Examples

$ camunda-deploy -n invoice -S node-worker-1 *.bpmn

○ preparing deployment (5 resources)
○ deploying to Camunda
✔ 3 artifacts deployed (2 added, 1 updated)

$ camunda-deploy -n invoice --json *.bpmn > result.json
```

## LICENSE

MIT