Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.34 KB

DEVELOPER.md

File metadata and controls

51 lines (38 loc) · 1.34 KB

Development

Prerequisites

To get started, ensure you have the following tools installed on your system:

Required

  1. Go 1.22+
  2. make

Recommended

  1. A container runtime such as Docker or Podman.
  2. KinD for end-to-end tests.

Tip

All other tools will be automatically downloaded to the local ./bin directory when executing make targets.

Commands

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

  1. Build image with the custom tag in your own repository:
    make docker-build -e HUB=quay.io/maistra-dev -e TAG=test
  2. Push image to your own repository and custom tag:
    make docker-push -e HUB=quay.io/maistra-dev -e TAG=test 
  3. Run all E2E test suites:
    make e2e
  4. Run specific test suite:
    make e2e -e TEST_SUITES="spire"
  5. 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.