| [ |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "add", |
| "." |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "name": "git add" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "commit", |
| "-m", |
| "Fake commit to satisfy recipe tests" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "name": "git commit" |
| }, |
| { |
| "cmd": [ |
| "which", |
| "go" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "which go" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "mod", |
| "download" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go mod download" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "install", |
| "-v", |
| "github.com/golang/protobuf/protoc-gen-go" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go install github.com/golang/protobuf/protoc-gen-go" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "install", |
| "-v", |
| "github.com/kisielk/errcheck" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go install github.com/kisielk/errcheck" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "install", |
| "-v", |
| "golang.org/x/tools/cmd/goimports" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go install golang.org/x/tools/cmd/goimports" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "install", |
| "-v", |
| "golang.org/x/tools/cmd/stringer" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go install golang.org/x/tools/cmd/stringer" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "install", |
| "-v", |
| "github.com/vektra/mockery/..." |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go install github.com/vektra/mockery/..." |
| }, |
| { |
| "cmd": [ |
| "go", |
| "install", |
| "-v", |
| "github.com/GeertJohan/go.rice/rice" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "go install github.com/GeertJohan/go.rice/rice" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/buildbot/scripts/run_emulators/run_emulators", |
| "start" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>" |
| }, |
| "name": "start the cloud emulators" |
| }, |
| { |
| "cmd": [ |
| "go", |
| "run", |
| "./run_unittests.go", |
| "--alsologtostderr", |
| "--race", |
| "--large", |
| "--medium", |
| "--small" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "BIGTABLE_EMULATOR_HOST": "localhost:8892", |
| "CHROME_HEADLESS": "1", |
| "COCKROACHDB_EMULATOR_HOST": "localhost:8895", |
| "DATASTORE_EMULATOR_HOST": "localhost:8891", |
| "FIRESTORE_EMULATOR_HOST": "localhost:8894", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>:[DEPOT_TOOLS]", |
| "PUBSUB_EMULATOR_HOST": "localhost:8893", |
| "SKIABOT_TEST_DEPOT_TOOLS": "[DEPOT_TOOLS]" |
| }, |
| "name": "run_unittests" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/buildbot/scripts/run_emulators/run_emulators", |
| "stop" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "env": { |
| "BIGTABLE_EMULATOR_HOST": "localhost:8892", |
| "CHROME_HEADLESS": "1", |
| "COCKROACHDB_EMULATOR_HOST": "localhost:8895", |
| "DATASTORE_EMULATOR_HOST": "localhost:8891", |
| "FIRESTORE_EMULATOR_HOST": "localhost:8894", |
| "GIT_USER_AGENT": "git/1.9.1", |
| "GOCACHE": "[START_DIR]/cache/go_cache", |
| "GOFLAGS": "-mod=readonly", |
| "GOPATH": "[START_DIR]/cache/gopath", |
| "GOROOT": "[START_DIR]/go/go", |
| "PATH": "[START_DIR]/go/go/bin:[START_DIR]/cache/gopath/bin:[START_DIR]/gcloud_linux/bin:[START_DIR]/protoc/bin:[START_DIR]/node/node/bin:[START_DIR]/cockroachdb:<PATH>:[DEPOT_TOOLS]", |
| "PUBSUB_EMULATOR_HOST": "localhost:8893", |
| "SKIABOT_TEST_DEPOT_TOOLS": "[DEPOT_TOOLS]" |
| }, |
| "name": "stop the cloud emulators" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff", |
| "--no-ext-diff", |
| "--exit-code", |
| "go.mod" |
| ], |
| "cwd": "[START_DIR]/buildbot", |
| "name": "git diff go.mod" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |