Edit pipelines, applications & intents.
Follow the instructions at spinnaker.io.
Fetch the code
$ go get github.com/spinnaker/spinNote: If you are using two-factor authentication with ssh keys to authenticate with GitHub, you may need to run the following git command:
$ git config --global --add url."[email protected]:".insteadOf "https://github.com/"for the go get command to work properly.
Enter the code's directory
$ cd $GOPATH/src/github.com/spinnaker/spinFetch dependencies and build with with
$ go get -d -v -u
$ go build -vfrom the root spin/ directory.
Clone the repository to a directory outside of your GOPATH:
$ git clone https://github.com/spinnaker/spinAfterward, use go build to build the program. This will automatically fetch dependencies.
$ go buildUpon first build, you may see output while the go tool fetches dependencies.
To verify dependencies match checksums under go.sum, run go mod verify.
To clean up any old, unused go.mod or go.sum lines, run go mod tidy.
Run using
./spin <cmds> <flags>Test using
go test -v ./...from the root spin/ directory.