Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/duyquang6/git-watchdog
Git watchdog will scan your public repository and find out the vulnerabilities
https://github.com/duyquang6/git-watchdog
git-security golang
Last synced: 7 days ago
JSON representation
Git watchdog will scan your public repository and find out the vulnerabilities
- Host: GitHub
- URL: https://github.com/duyquang6/git-watchdog
- Owner: duyquang6
- Created: 2021-12-12T05:23:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-16T14:56:25.000Z (about 3 years ago)
- Last Synced: 2025-01-11T19:41:13.067Z (9 days ago)
- Topics: git-security, golang
- Language: Go
- Homepage:
- Size: 135 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Dependencies
- Docker
- Go 1.17
- MySQL 8.0.25## Bootstrap
- Run `chmod +x start.sh` if start.sh script does not have privileged to run
- Run `./start.sh --bootstrap` quick bootstrap app (include build, start docker, migrate schema and start app), it will ready to accept connection to :8080 local
- Run `make docker.local.stop` to cleanup## For developing
- Get tools for developing: `make install-go-tools`
- Build app docker image: run `make build.docker.image`
- Startup local docker compose: `make docker.local.start`
- Stop local docker compose: `make docker.local.stop`
- Migrate schema database: run `./start.sh --migrate`## Automate CI CD local
Or you can use skaffold to automate that pipeline
- Install skaffold, helm latest, minikube latest version
- Run `skaffold dev --port-forward`
- Every change to source code, will trigger build, unit-test and deploy locally## Testing & Coverage
- Run integration test(docker, go1.17 required): `./start.sh --integration`
- Run unittest: `make test.unit`
- Check coverage: `make coverage`
- Clean up report files: `make clean`