- CI/CD Toolkit is small command line tool helper to integrate with vault secret kv management & github api
- We can use simple command to generate json/env/raw text file from vault secret kv
- Or to verify github PR approval status and then merge PR if pull request approval is validated
make build
it will build two binaries, binary file for linux and binary based on local OS
./cmd/toolkit/toolkit -vault -output=conf.json -secret=vaultkv/data/yourdata
./cmd/toolkit/toolkit -vault -env -secret=vaultkv/data/envdata
./cmd/toolkit/toolkit -vault -raw -secret=vaultkv/data/rawtextfile
./cmd/toolkit/toolkit -approval -repo=ujunglangit-id/some-repo -id=23
./cmd/toolkit/toolkit -merge -repo=ujunglangit-id/some-repo -id=23
./cmd/toolkit/toolkit -debug -squash -repo=ujunglangit-id/some-repo -id=23
https://www.vaultproject.io/api-docs
https://docs.github.com/en/rest/reference/pulls