CI information!
|
Kanako the Gay
9e472309f1
All checks were successful
ci/woodpecker/push/test Pipeline was successful
|
||
|---|---|---|
| .woodpecker | Test CI is woodpecker | |
| .gitignore | Initial commit | |
| cinfo.in | Initial commit | |
| gen-vendors | Use shorthand decode | |
| LICENSE | Initial commit | |
| Makefile | Test CI is woodpecker | |
| readme.md | Test CI is woodpecker | |
Cinfo
CI information!
Well information is a bit generious, it returns the name of the CI server and thats it. This was written questionably but if it works, it works!
It doesn't use any dependencies.
Usage
Usage: cinfo [options]
Print CI information.
Options:
-h, --help Show help options.
-v, --version Print version information.
-s, --silent Print no messages.
-c, --code Print only the CI code.
If the script is ran in a CI environment, it'll exit successfully.
Building
Cinfo uses the vendors.json from watson/ci-info. Calling bundle will automatically generate the is-ci script and insert it into cinfo.in. Building requires curl and jq.
$ make build
TODO
- PR support