Pulls and stores container and node information into a SQL Server database.
We use helm charts to install on cluster
We use arm template and github action to create azure resources
The SQL Server database and objects are deployed on push to master and release branch. All SQL scripts on azure-infrastructure must be idempotent.
Installation on cluster is handled by flux through flux repo.
tag in git repository (in master branch) - matching to the version of Version in charts/Chart.yaml
You need:
gomock
(GO111MODULE=on go get github.com/golang/mock/mockgen@v1.5.0)
Clone the repo into your GOPATH
and run go mod download
.
Want to contribute? Read our contributing guidelines
We use gomock to generate mocks used in unit test. You need to regenerate mocks if you make changes to any of the interface types used by the application; Repository
make mocks
tag
in git repository (in master branch) - matching to the version of appVersion in charts/Chart.yaml
Run following command to set tag (with corresponding version)
git tag v1.0.0
git push origin v1.0.0
Create a copy of .env.template and name it .env. Set variables to allow local debugging. This file is ignored by git.