See actions defined: https://github.com/socallinuxexpo/scale-network/tree/master/.github/workflows
/tux
is our keyword in a PR comment. This structure is setup like a CLI command:
/tux openwrt flash <WORMHOLE-STRING>
| | | |
| | | --- Arg needed for flashing
| | --- Specific action to take
| --- Subcommand for specific components of the repo
--- /tux trigger word
This is an outline for /tux
and how to trigger a build on a PR thats in scale-network
repo:
- Have write access to the repo and push branch directly to the repo. This is needed since we have gitlab mirroring our repo.
- Generate a wormhole string using wormhole and the image to be flashed:
~$ wormhole send /openwrt-ath79-generic-netgear_wndr3800ch-squashfs-factory.img
Wormhole code is: 8-amusement-drumbeat
- Take wormhole code
8-amusement-drumbeat
and pass it along to ourtux
slash command as a PR comment:
/tux openwrt flash 8-amusement-drumbeat
- This will kickoff the flash and reply with a gitlab pipeline URL.