Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: scripts/slave/recipes/infra/infra_continuous.expected/infra-64.json

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes/infra/infra_continuous.expected/infra-64.json
diff --git a/scripts/slave/recipes/infra/infra_continuous.expected/infra-64.json b/scripts/slave/recipes/infra/infra_continuous.expected/infra-64.json
index 2cf50c248a663259992bed5a962ff40ec289c9bf..d6bb9886cc314f92a89dd06aa5a91ecfa49bf095 100644
--- a/scripts/slave/recipes/infra/infra_continuous.expected/infra-64.json
+++ b/scripts/slave/recipes/infra/infra_continuous.expected/infra-64.json
@@ -11,13 +11,13 @@
"--slave",
"TestSlavename",
"--spec",
- "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]",
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]",
"--root",
"infra",
"--revision_mapping_file",
"{\"infra\": \"got_revision\"}",
"--git-cache-dir",
- "[ROOT]/b/build/slave/cache_dir",
+ "[GIT_CACHE]",
"--output_json",
"/path/to/tmp/json",
"--revision",
@@ -25,6 +25,7 @@
"--force",
"--output_manifest"
],
+ "cwd": "[SLAVE_BUILD]",
"env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
},
@@ -63,6 +64,7 @@
"RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
"runhooks"
],
+ "cwd": "[SLAVE_BUILD]",
"env": {
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
},
@@ -75,61 +77,65 @@
"test.py",
"test"
],
- "cwd": "[CWD]/infra",
+ "cwd": "[SLAVE_BUILD]/infra",
"name": "infra python tests"
},
{
"cmd": [
"python",
"-u",
- "[CWD]/infra/glyco/tests/run_all_tests.py"
+ "[SLAVE_BUILD]/infra/glyco/tests/run_all_tests.py"
],
- "cwd": "[CWD]/infra",
+ "cwd": "[SLAVE_BUILD]/infra",
"name": "Glyco tests"
},
{
"cmd": [
"python",
"-u",
- "[CWD]/infra/go/env.py",
+ "[SLAVE_BUILD]/infra/go/env.py",
"go",
"version"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "go third parties"
},
{
"cmd": [
"python",
"-u",
- "[CWD]/infra/go/env.py",
+ "[SLAVE_BUILD]/infra/go/env.py",
"python",
- "[CWD]/infra/go/test.py"
+ "[SLAVE_BUILD]/infra/go/test.py"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "infra go tests"
},
{
"cmd": [
"python",
"-u",
- "[CWD]/infra/build/build.py",
+ "[SLAVE_BUILD]/infra/build/build.py",
"--builder",
"infra-continuous-64"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "cipd - build packages"
},
{
"cmd": [
"python",
"-u",
- "[CWD]/infra/build/test_packages.py"
+ "[SLAVE_BUILD]/infra/build/test_packages.py"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "cipd - test packages integrity"
},
{
"cmd": [
"python",
"-u",
- "[CWD]/infra/build/build.py",
+ "[SLAVE_BUILD]/infra/build/build.py",
"--no-rebuild",
"--upload",
"--service-account-json",
@@ -143,6 +149,7 @@
"git_repository:https://chromium.googlesource.com/infra/infra",
"git_revision:5e03a58dc0850e5137a8ebbce29610670c756aed"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "cipd - upload packages",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
@@ -154,8 +161,9 @@
"python",
"-u",
"\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\npath = sys.argv[1]\nif os.path.exists(path):\n for p in (os.path.join(path, x) for x in os.listdir(path)):\n if os.path.isdir(p):\n chromium_utils.RemoveDirectory(p)\n else:\n os.unlink(p)\n",
- "[CWD]/infra/go/bin"
+ "[SLAVE_BUILD]/infra/go/bin"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "rmcontents clean go bin",
"~followup_annotations": [
"@@@STEP_LOG_LINE@python.inline@@@@",
@@ -176,11 +184,12 @@
"cmd": [
"python",
"-u",
- "[CWD]/infra/go/env.py",
+ "[SLAVE_BUILD]/infra/go/env.py",
"go",
"install",
"github.com/luci/luci-go/client/cmd/..."
],
+ "cwd": "[SLAVE_BUILD]",
"name": "build luci-go"
},
{
@@ -188,9 +197,10 @@
"python",
"-u",
"\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys.argv[1]), f)\n",
- "[CWD]/infra/go/bin",
+ "[SLAVE_BUILD]/infra/go/bin",
"/path/to/tmp/json"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "listdir listing go bin",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@[@@@",
@@ -210,12 +220,13 @@
"cmd": [
"python",
"-u",
- "[ROOT]/b/depot_tools/upload_to_google_storage.py",
+ "[DEPOT_TOOLS]/upload_to_google_storage.py",
"-b",
"chromium-luci",
- "[CWD]/infra/go/bin/file 1",
- "[CWD]/infra/go/bin/file 2"
+ "[SLAVE_BUILD]/infra/go/bin/file 1",
+ "[SLAVE_BUILD]/infra/go/bin/file 2"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "upload go bin"
},
{
@@ -223,9 +234,10 @@
"python",
"-u",
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[CWD]/infra/go/bin/file 1.sha1",
+ "[SLAVE_BUILD]/infra/go/bin/file 1.sha1",
"/path/to/tmp/"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "file 1 sha1",
"~followup_annotations": [
"@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@"
@@ -236,9 +248,10 @@
"python",
"-u",
"\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
- "[CWD]/infra/go/bin/file 2.sha1",
+ "[SLAVE_BUILD]/infra/go/bin/file 2.sha1",
"/path/to/tmp/"
],
+ "cwd": "[SLAVE_BUILD]",
"name": "file 2 sha1",
"~followup_annotations": [
"@@@STEP_TEXT@0123456789abcdeffedcba987654321012345678@@@"

Powered by Google App Engine
This is Rietveld 408576698