blob: 7b2419e73e86608a89b13194ed257e4d8bdfc314 [file] [log] [blame]
[
{
"cmd": [],
"name": "fetch master"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/garnet"
],
"infra_step": true,
"name": "fetch master.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/garnet"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "fetch master.cache",
"~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",
"[CACHE]/git/fuchsia.googlesource.com-garnet"
],
"cwd": "[START_DIR]/garnet",
"infra_step": true,
"name": "fetch master.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"name": "fetch master.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/garnet"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"name": "fetch master.cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"--replace-all",
"remote.origin.fetch",
"+refs/heads/*:refs/heads/*",
"\\+refs/heads/\\*:.*"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"name": "fetch master.cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"name": "fetch master.cache.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/garnet/.git/objects/info"
],
"cwd": "[START_DIR]/garnet",
"infra_step": true,
"name": "fetch master.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/fuchsia.googlesource.com-garnet/objects\n",
"[START_DIR]/garnet/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/garnet",
"infra_step": true,
"name": "fetch master.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-garnet/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"master"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "fetch master.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/garnet",
"name": "fetch master.submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/go"
],
"infra_step": true,
"name": "makedirs"
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]/go",
"name": "git init"
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/garnet"
],
"cwd": "[START_DIR]/go",
"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/fuchsia.googlesource.com-garnet"
],
"cwd": "[START_DIR]/go",
"infra_step": true,
"name": "cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"name": "cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/garnet"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"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/fuchsia.googlesource.com-garnet",
"name": "cache.git config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-garnet",
"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",
"[START_DIR]/go/.git/objects/info"
],
"cwd": "[START_DIR]/go",
"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/fuchsia.googlesource.com-garnet/objects\n",
"[START_DIR]/go/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/go",
"infra_step": true,
"name": "cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-garnet/objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin",
"refs/changes/56/123456/7"
],
"cwd": "[START_DIR]/go",
"name": "git fetch"
},
{
"cmd": [
"git",
"checkout",
"-f",
"FETCH_HEAD"
],
"cwd": "[START_DIR]/go",
"name": "git checkout"
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/go",
"name": "git rev-parse"
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/go",
"name": "git clean"
},
{
"cmd": [],
"name": "submodule"
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/go",
"name": "submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init"
],
"cwd": "[START_DIR]/go",
"name": "submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rebase",
"--rebase-merges",
"deadbeef"
],
"cwd": "[START_DIR]/go",
"name": "git rebase"
},
{
"cmd": [],
"name": "ensure go"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd/go",
"-ensure-file",
"infra/go/${platform} latest",
"-max-threads",
"0",
"-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": [],
"name": "pre-build file removal"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/.gitattributes"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal..gitattributes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/.gitignore"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal..gitignore",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/.hgignore"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal..hgignore",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/.hgtags"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal..hgtags",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/misc/dashboard"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal.misc/dashboard",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/misc/makerelease"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal.misc/makerelease",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/go/.git"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal..git",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/go/.github"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "pre-build file removal..github",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/macos_sdk",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:af9d7e0e0a44285a6830784b4b848223e7b3179f",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "ensure_installed",
"~followup_annotations": [
"@@@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-git_revision:af9\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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": [
"[CACHE]/macos_sdk/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"11c29",
"-output-dir",
"[CACHE]/macos_sdk/XCode.app"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "install xcode"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "select XCode"
},
{
"cmd": [
"[START_DIR]/go/src/make.bash"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"name": "build"
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"infra_step": true,
"name": "reset XCode"
},
{
"cmd": [
"[START_DIR]/go/src/run.bash",
"--no-rebuild"
],
"cwd": "[START_DIR]/go/src",
"env": {
"GOARCH": "amd64",
"GOOS": "darwin",
"GOROOT_BOOTSTRAP": "[START_DIR]/cipd/go"
},
"env_prefixes": {
"PATH": [
"[START_DIR]/go/bin"
]
},
"name": "test"
},
{
"cmd": [],
"name": "post-build file removal"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[START_DIR]/go/VERSION.cache"
],
"infra_step": true,
"name": "post-build file removal.VERSION.cache",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"rmtree",
"[START_DIR]/go/pkg/bootstrap"
],
"infra_step": true,
"name": "post-build file removal.pkg/bootstrap",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]