drone-abra/README.md

38 lines
1.1 KiB
Markdown
Raw Normal View History

2021-06-03 17:50:14 +00:00
# drone-abra
2021-06-03 17:53:06 +00:00
[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/drone-abra/status.svg?ref=refs/heads/main)](https://drone.autonomic.zone/coop-cloud/drone-abra)
2021-06-03 17:50:14 +00:00
Use [`abra`](https://git.autonomic.zone/coop-cloud/abra) as a [Drone plugin](http://plugins.drone.io/)!
## Settings
### Required (no default)
- **command**: The command to run (passed to `abra` executable)
2021-06-03 20:19:21 +00:00
- **deploy_key**: SSH private key part for running `git push` related commands
2021-06-03 17:50:14 +00:00
2021-06-03 20:02:25 +00:00
### Optional
- **recipe_branch** (default: `main`): The target branch to use for recipe release `git push` operations
2021-06-03 17:50:14 +00:00
## Example
```yaml
---
kind: pipeline
2021-06-03 20:36:40 +00:00
name: recipe release
2021-06-03 17:50:14 +00:00
steps:
2021-06-03 20:36:40 +00:00
- name: release a new version
2021-06-17 19:04:40 +00:00
image: thecoopcloud/drone-abra:latest
2021-06-03 17:50:14 +00:00
settings:
2021-06-03 20:36:40 +00:00
command: recipe matrix-synapse release
2021-06-03 17:50:14 +00:00
deploy_key:
2021-06-03 20:36:40 +00:00
from_secret: abra_bot_deploy_key
2021-06-03 17:50:14 +00:00
```
## Publishing
The version can be bumped in the [.drone.yml](./.drone.yml) file. We're sticking with `latest` as we iterate on the code right now.
2021-06-21 10:33:59 +00:00
If you push a commit to master, the [Drone config](./.drone.yml) will publish to [Docker Hub](https://hub.docker.com/r/thecoopcloud/drone-abra).