See config-server-release for the release repo for config-server See bosh-notes for more information
All PRs and code should be against the develop
branch. Before submitting PRs, you should make sure that tests are passing properly.
Before running the unit test on your local machine, you should install
golangci-lint
following its documentation, see
https://github.com/golangci/golangci-lint. (Indeed, the way the
lint script installs golangci-lint
is not suitable for running
on a local machine.)
Then run the unit tests using the dedicated script.
bin/test-unit
There are 3 distinct flavors of integration tests. Run the relevant one, or all, depending on the changes you've done.
bin/test-integration memory # <- uses an in-memory database
bin/test-integration mysql # <- uses a MySQL database
bin/test-integration postgresql # <- uses a PostgreSQL database