Skip to content

Example config server that integrates with BOSH Director

License

Notifications You must be signed in to change notification settings

cloudfoundry/config-server

Repository files navigation

Config Server

See config-server-release for the release repo for config-server See bosh-notes for more information

Contributing

All PRs and code should be against the develop branch. Before submitting PRs, you should make sure that tests are passing properly.

Unit tests

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

Integration tests

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