1
0
Fork
You've already forked cinfo
0
CI information!
  • Shell 85.3%
  • Makefile 14.7%
Kanako the Gay 9e472309f1
All checks were successful
ci/woodpecker/push/test Pipeline was successful
Test CI is woodpecker
2024年07月11日 22:12:55 -07:00
.woodpecker Test CI is woodpecker 2024年07月11日 22:12:55 -07:00
.gitignore Initial commit 2024年07月11日 20:53:10 -07:00
cinfo.in Initial commit 2024年07月11日 20:53:10 -07:00
gen-vendors Use shorthand decode 2024年07月11日 21:02:12 -07:00
LICENSE Initial commit 2024年07月11日 20:53:10 -07:00
Makefile Test CI is woodpecker 2024年07月11日 22:12:55 -07:00
readme.md Test CI is woodpecker 2024年07月11日 22:12:55 -07:00

Cinfo

status-badge

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