To get started, ensure you have the following tools installed on your system:
- Go 1.22+
make
Tip
All other tools will be automatically downloaded to the local ./bin
directory when executing make
targets.
You can build the project with a single make
command.
Tip
Run make help
to list all available targets.
Below are some commonly used targets with customizations
- Build image with the custom tag in your own repository:
make docker-build -e HUB=quay.io/maistra-dev -e TAG=test
- Push image to your own repository and custom tag:
make docker-push -e HUB=quay.io/maistra-dev -e TAG=test
- Run all E2E test suites:
make e2e
- Run specific test suite:
make e2e -e TEST_SUITES="spire"
- Run e2e tests against specific Istio version and custom controller image:
make e2e -e HUB=quay.io/maistra-dev -e TAG=test -e ISTIO_VERSION=1.23.0
Tip
Set the USE_LOCAL_IMAGE
environment variable to true
to push and use the locally built image in KinD clusters.