Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.16 KB

BUILDING.md

File metadata and controls

41 lines (29 loc) · 1.16 KB

Requirements

Building

  • Initial setup
mkdir -p $GOPATH/src/github.com/solo-io
cd $GOPATH/src/github.com/solo-io
git clone https://github.com/solo-io/squash.git

cd $GOPATH/src/github.com/solo-io/squash
git checkout -b master
  • Build local resources - sufficient if you only change squashctl
    • set a BUILD_ID, this will be used as an image tag
dep ensure -v # do this whenever you add a dependency
BUILD_ID=<build_id> make build -B
  • Build and push images - neccessary if you change code that runs in the cluster (either the plank or secure-mode squash pods)
    • update solo_project.yaml to reflect image repos that you have write access to
    • set a BUILD_ID, this will be used as an image tag
BUILD_ID=<build_id> make docker-push -B
  • Build artifacts can be found in the _output directory.

Note

The release build process is defined by the cloudbuild.yaml file.