Submariner strives to be an open, welcoming community. Substantial tooling is provided to ease the contribution experience.
Submariner provides a standard, shared environment for both development and CI that is maintained in the Shipyard project.
Learn more about working with Shipyard here.
Submariner provides a set of Make targets for building and testing in the standard development environment.
To run all linting:
There are also Make targets for each type of linting:
make gitlint golangci-lint markdownlint yamllint
See the linter configuration files at the root of each repository for details about which checks are enabled.
Note that a few linters only run in CI via GitHub Actions and are not available in the standard development environment.
To run Go unit tests:
To build the Go binaries provided by a repository:
To package those Go binaries into container images:
Note that Submariner will automatically rebuild binaries and images when they have been modified and are required by tests.
To run functional end-to-end tests with a full multi-cluster deployment:
Different types of deployments can be configured with
make e2e using=helm,globalnet
Makefile.inc for the currently-supported
To create a multi-cluster deployment and install Submariner but not run tests:
To create a multi-cluster deployment without Submariner:
To clean up a multi-cluster deployment from one of the previous commands:
To jump into a shell in Submariner’s standard development environment: