| [ |
| { |
| "cmd": [], |
| "name": "ensure go" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/go", |
| "-ensure-file", |
| "infra/go/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure go.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/go/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/go/bin/go", |
| "version" |
| ], |
| "env": { |
| "GOROOT": "[START_DIR]/cipd/go" |
| }, |
| "name": "go version" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/gopath/src/go.chromium.org/goma/server" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "git init" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://chromium.googlesource.com/infra/goma/server" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "git remote" |
| }, |
| { |
| "cmd": [], |
| "name": "cache" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/chromium.googlesource.com-infra-goma-server" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "infra_step": true, |
| "name": "cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-infra-goma-server", |
| "name": "cache.git init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://chromium.googlesource.com/infra/goma/server" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-infra-goma-server", |
| "name": "cache.remote set-url", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-infra-goma-server", |
| "name": "cache.git config", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/chromium.googlesource.com-infra-goma-server", |
| "name": "cache.git fetch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/gopath/src/go.chromium.org/goma/server/.git/objects/info" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "infra_step": true, |
| "name": "cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/chromium.googlesource.com-infra-goma-server/objects\n", |
| "[CLEANUP]/gopath/src/go.chromium.org/goma/server/.git/objects/info/alternates" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "infra_step": true, |
| "name": "cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/chromium.googlesource.com-infra-goma-server/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "master" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "git fetch" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "git checkout" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "git rev-parse" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "git clean" |
| }, |
| { |
| "cmd": [], |
| "name": "submodule" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "submodule.git submodule sync", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "name": "submodule.git submodule update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build gomatools" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CLEANUP]/gopath/src/go.chromium.org/goma/server/cmd" |
| ], |
| "infra_step": true, |
| "name": "build gomatools.list gomatools binaries", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@listdir@[CLEANUP]/gopath/src/go.chromium.org/goma/server/cmd/auth_server@@@", |
| "@@@STEP_LOG_LINE@listdir@[CLEANUP]/gopath/src/go.chromium.org/goma/server/cmd/setup_cmd@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build gomatools.ensure go", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/go", |
| "-ensure-file", |
| "infra/go/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "env": { |
| "GO111MODULE": "on", |
| "GOARCH": "amd64", |
| "GOCACHE": "[CLEANUP]/gopath/.cache/go-build", |
| "GOOS": "linux", |
| "GOPATH": "[CLEANUP]/gopath" |
| }, |
| "infra_step": true, |
| "name": "build gomatools.ensure go.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/go/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/go/bin/go", |
| "install", |
| "go.chromium.org/goma/server/cmd/auth_server" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "env": { |
| "GO111MODULE": "on", |
| "GOARCH": "amd64", |
| "GOCACHE": "[CLEANUP]/gopath/.cache/go-build", |
| "GOOS": "linux", |
| "GOPATH": "[CLEANUP]/gopath", |
| "GOROOT": "[START_DIR]/cipd/go" |
| }, |
| "name": "build gomatools.build auth_server", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "build gomatools.ensure go (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/go", |
| "-ensure-file", |
| "infra/go/${platform} latest", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "env": { |
| "GO111MODULE": "on", |
| "GOARCH": "amd64", |
| "GOCACHE": "[CLEANUP]/gopath/.cache/go-build", |
| "GOOS": "linux", |
| "GOPATH": "[CLEANUP]/gopath" |
| }, |
| "infra_step": true, |
| "name": "build gomatools.ensure go (2).ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/go/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/go/bin/go", |
| "install", |
| "go.chromium.org/goma/server/cmd/setup_cmd" |
| ], |
| "cwd": "[CLEANUP]/gopath/src/go.chromium.org/goma/server", |
| "env": { |
| "GO111MODULE": "on", |
| "GOARCH": "amd64", |
| "GOCACHE": "[CLEANUP]/gopath/.cache/go-build", |
| "GOOS": "linux", |
| "GOPATH": "[CLEANUP]/gopath", |
| "GOROOT": "[START_DIR]/cipd/go" |
| }, |
| "name": "build gomatools.build setup_cmd", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |