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

https://github.com/porter-dev/porter-run-job-action

Github action for triggering a job run on Porter.
https://github.com/porter-dev/porter-run-job-action

Last synced: about 1 year ago
JSON representation

Github action for triggering a job run on Porter.

Awesome Lists containing this project

README

          

# porter-run-job-action

This Github action triggers a job run for a job that has been deployed on Porter.

## Usage

```yaml
steps:
- name: Run Porter job
uses: porter-dev/porter-run-job-action@v0.1.0
with:
job: job-name
cluster: 1234
project: 4321
token: ${{ secrets.PORTER_TOKEN }}
```

## Configuration Options

The possible inputs are:

- `job`: (string, required): Name of job.
- `cluster`: (number, required): Cluster ID of Porter cluster.
- `host`: (string, optional): Host URL of Porter instance. Set this if you use a self-hosted Porter instance.
- `namespace`: (string, optional): Namespace of the application (default "default")
- `project`: (number, required): Project ID of Porter project.
- `token`: (string, required): Token for Porter authentication.