drone-abra/README.md

34 lines
1022 B
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)
- **deploy_key**: SSH private key part for running `git push` related commands
- **command**: The command to run (passed to `abra` executable)
2021-06-03 17:50:14 +00:00
## Example
```yaml
---
kind: pipeline
name: release a new recipe
steps:
2021-06-03 19:18:22 +00:00
- name: cut a new release of wordpress
2021-06-03 17:50:14 +00:00
image: decentral1se/drone-abra:latest
settings:
command: recipe release
2021-06-03 17:50:14 +00:00
deploy_key:
from_secret: drone_deploy_key
```
## 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.
If you push a commit to master, the [Drone config](./.drone.yml) will publish to [Docker Hub](https://hub.docker.com/r/decentral1se/drone-abra).