Skip to content

building and testing squash

Mitch Kelley edited this page Aug 9, 2019 · 1 revision

Edit solo-project.yaml and set the test_container_registry fields to the values of your choice. By default, they are:

config:
  release_container_registry:
    quay:
      base_url: quay.io
      organization: solo-io
  test_container_registry:
    gcr:
      base_url: gcr.io
      project_name: solo-public

If the repo you are using to host your squash images is private, add access credentials in the squash-debugger namespace in a secret called squash-sa-image-pull-secret (this is the imagePullSecret that the squash pods use).

Build and push your images:

BUILD_ID=<image-id> make docker-push -B

Run squashctl with the images you built

go run cmd/squashctl/main.go \
  --container-repo <the-repo-you-specified-in-solo-projects.yaml> \
  --container-version <image-id>
Clone this wiki locally