https://github.com/ml-opensource/bitrise-zx-starter-step
https://github.com/ml-opensource/bitrise-zx-starter-step
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ml-opensource/bitrise-zx-starter-step
- Owner: ml-opensource
- License: mit
- Created: 2022-05-10T12:42:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T12:44:28.000Z (about 4 years ago)
- Last Synced: 2025-02-25T21:42:57.254Z (over 1 year ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bitrise ZX starter step
## Bash is hard
Bitrise step lib normally uses Go or Bash scripting for the step functionality.
[Google's ZX library](https://github.com/google/zx) on top of node.js makes shell scripting a lot easier.
This starter includes basic step setup including:
- `step.sh` entrypoint for starting the zx script
- A couple of example inputs for the Bitrise web UI in `step.yml`
- One example output in `step.yml`
## How to use
**1)**
Add this step manually in the bitrise.yml file:
```
workflows:
randomWorkflow:
steps:
- git::https://github.com/monstar-lab-oss/reponame@main:
inputs:
- some_input: "no"
is_always_run: true
```
## Resources
Bitrise step yml development: https://github.com/bitrise-io/bitrise/blob/master/_docs/bitrise-yml-format-spec.md
Bitrise step examples: https://github.com/bitrise-io/bitrise/tree/master/_examples