Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/reconbot/render-deploy

I needed a cli for render.com and I wanted to play with rust so it's a rust cli for triggering deploys
https://github.com/reconbot/render-deploy

Last synced: 6 days ago
JSON representation

I needed a cli for render.com and I wanted to play with rust so it's a rust cli for triggering deploys

Awesome Lists containing this project

README

        

# Render Deploy

I want to be able to trigger production deploys and wait for them to happen. You need to have an env var `RENDER_API_KEY` set with your api key. I made this to scratch and itch and I chose rust for fun.

```bash
# trigger a deploy of the service with the latest commit and wait for it to go live
$ render-deploy -w $SERVICE_NAME
```

## Help output

```bash
Usage: render-deploy [OPTIONS] --api-key [COMMIT]

Arguments:
name of your service
[COMMIT] optional commit to deploy (otherwise head of the default branch)

Options:
-w, --wait Wait for the deploy to finish or fail
-a, --api-key [env: RENDER_API_KEY=]
-t, --timeout wait for deploy timeout in seconds, doesn't cancel the
deploy just exits [default: 600]
-h, --help Print help
-V, --version Print version
```