Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/reconbot/render-deploy
- Owner: reconbot
- Created: 2024-10-13T01:16:02.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-21T14:27:44.000Z (24 days ago)
- Last Synced: 2024-10-21T23:54:22.999Z (23 days ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```