Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jvalkeal/build-zoo-handler
https://github.com/jvalkeal/build-zoo-handler
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jvalkeal/build-zoo-handler
- Owner: jvalkeal
- License: mit
- Created: 2020-07-18T12:49:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-04T16:07:12.000Z (almost 2 years ago)
- Last Synced: 2024-10-05T19:41:12.922Z (about 1 month ago)
- Language: TypeScript
- Size: 617 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# build-zoo-handler
This action by itself and without a proper configuration does nothing.
Provides these features which are described more detailed in a rest
of a documentation.- Ensure env variables to fail fast.
- Ensure commands in a path to fail fast.
- Setup buildpacks.io pack client.
- Easy way to commit changes back to repository.
- Opinionated way to branch and tag changes.
- Central repository dispatch system for "release train".NOTE: Please do not use `main` as version as it is a just a development
version and can contain breaking changes and be unstable. Also
check related documentation from a tag to know what is in that
particular version as README and docs content in `main` always
reflect main dev state.# Usage
See [action.yml](action.yml)
## Ensure Commands in a Path
```yaml
steps:
- uses: jvalkeal/build-zoo-handler@main
with:
ensure-commands: |
gradle
mvn
```
See [docs/ensure-commands.adoc](docs/ensure-commands.adoc)## Ensure Environment Variables
```yaml
steps:
- uses: jvalkeal/build-zoo-handler@main
with:
ensure-env: |
M2_HOME
GRADLE_HOME
```
See [docs/ensure-env.adoc](docs/ensure-env.adoc)## Tag Release
```yaml
steps:
- uses: jvalkeal/build-zoo-handler@main
with:
tag-release-username: 'Whoami'
tag-release-useremail: '[email protected]'
tag-release-branch: 0.0.0
tag-release-tag: 0.0.0
tag-release-tag-prefix: v
```
See [docs/tag-release.adoc](docs/tag-release.adoc)## Commit Changes
```yaml
steps:
- uses: jvalkeal/build-zoo-handler@main
with:
commit-changes-username: 'Whoami'
commit-changes-useremail: '[email protected]'
commit-changes-branch: main
commit-changes-message: Commit message
```
See [docs/commit-changes.adoc](docs/commit-changes.adoc)## Pack Feature
```yaml
steps:
- uses: jvalkeal/build-zoo-handler@main
with:
pack-version: 0.12.0
```
See [docs/pack.adoc](docs/pack.adoc)## Workflow Dispatch Handler
This feature is meant to run a _release train_ throughout a list of workflow
dispatch definitions.See [docs/dispatch-handler.adoc](docs/dispatch-handler.adoc)
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)