| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", | 6 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(
sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
| 7 "[SLAVE_BUILD]/git_clone_bundler/bundles" | 7 "[SLAVE_BUILD]/git_clone_bundler/bundles" |
| 8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
| 9 "name": "rmtree old bundles", | 10 "name": "rmtree old bundles", |
| 10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
| 11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 13 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", | 14 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@@@@", | 15 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 17 "@@@STEP_LOG_END@python.inline@@@" | 18 "@@@STEP_LOG_END@python.inline@@@" |
| 18 ] | 19 ] |
| 19 }, | 20 }, |
| 20 { | 21 { |
| 21 "cmd": [ | 22 "cmd": [ |
| 22 "python", | 23 "python", |
| 23 "-u", | 24 "-u", |
| 24 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 25 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 25 "[SLAVE_BUILD]/git_clone_bundler/bundles", | 26 "[SLAVE_BUILD]/git_clone_bundler/bundles", |
| 26 "511" | 27 "511" |
| 27 ], | 28 ], |
| 29 "cwd": "[SLAVE_BUILD]", |
| 28 "name": "makedirs bundles", | 30 "name": "makedirs bundles", |
| 29 "~followup_annotations": [ | 31 "~followup_annotations": [ |
| 30 "@@@STEP_LOG_LINE@python.inline@@@@", | 32 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 31 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 33 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 32 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 34 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 33 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 35 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 34 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 36 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 35 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 37 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 36 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 38 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 37 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 39 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 38 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 40 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 39 "@@@STEP_LOG_END@python.inline@@@" | 41 "@@@STEP_LOG_END@python.inline@@@" |
| 40 ] | 42 ] |
| 41 }, | 43 }, |
| 42 { | 44 { |
| 43 "cmd": [ | 45 "cmd": [ |
| 44 "python", | 46 "python", |
| 45 "-u", | 47 "-u", |
| 46 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 48 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 47 "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", | 49 "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", |
| 48 "511" | 50 "511" |
| 49 ], | 51 ], |
| 52 "cwd": "[SLAVE_BUILD]", |
| 50 "name": "makedirs repo", | 53 "name": "makedirs repo", |
| 51 "~followup_annotations": [ | 54 "~followup_annotations": [ |
| 52 "@@@STEP_LOG_LINE@python.inline@@@@", | 55 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 53 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 56 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 54 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 57 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 55 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 58 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 56 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 59 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 57 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 60 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 58 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 61 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 59 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 62 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 113 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
| 111 "--", | 114 "--", |
| 112 "[DEPOT_TOOLS]/gsutil.py", | 115 "[DEPOT_TOOLS]/gsutil.py", |
| 113 "--force-version", | 116 "--force-version", |
| 114 "3.25", | 117 "3.25", |
| 115 "--", | 118 "--", |
| 116 "cp", | 119 "cp", |
| 117 "[SLAVE_BUILD]/git_clone_bundler/bundles/b30c7a01edcf711e48356dd038d8c03e.
bundle", | 120 "[SLAVE_BUILD]/git_clone_bundler/bundles/b30c7a01edcf711e48356dd038d8c03e.
bundle", |
| 118 "gs://clone-dot-bundle-bucket/checkout/repository/src/foo/clone.bundle" | 121 "gs://clone-dot-bundle-bucket/checkout/repository/src/foo/clone.bundle" |
| 119 ], | 122 ], |
| 123 "cwd": "[SLAVE_BUILD]", |
| 120 "name": "gsutil upload bundle (src/foo)", | 124 "name": "gsutil upload bundle (src/foo)", |
| 121 "~followup_annotations": [ | 125 "~followup_annotations": [ |
| 122 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/foo/clone.bundle@@@" | 126 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/foo/clone.bundle@@@" |
| 123 ] | 127 ] |
| 124 }, | 128 }, |
| 125 { | 129 { |
| 126 "cmd": [ | 130 "cmd": [ |
| 127 "git", | 131 "git", |
| 128 "config", | 132 "config", |
| 129 "--get", | 133 "--get", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 151 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 155 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
| 152 "--", | 156 "--", |
| 153 "[DEPOT_TOOLS]/gsutil.py", | 157 "[DEPOT_TOOLS]/gsutil.py", |
| 154 "--force-version", | 158 "--force-version", |
| 155 "3.25", | 159 "3.25", |
| 156 "--", | 160 "--", |
| 157 "cp", | 161 "cp", |
| 158 "[SLAVE_BUILD]/git_clone_bundler/bundles/4e9dd63391c5eb1884b9b449679dfa16.
bundle", | 162 "[SLAVE_BUILD]/git_clone_bundler/bundles/4e9dd63391c5eb1884b9b449679dfa16.
bundle", |
| 159 "gs://clone-dot-bundle-bucket/checkout/repository/src/bar/clone.bundle" | 163 "gs://clone-dot-bundle-bucket/checkout/repository/src/bar/clone.bundle" |
| 160 ], | 164 ], |
| 165 "cwd": "[SLAVE_BUILD]", |
| 161 "name": "gsutil upload bundle (src/bar)", | 166 "name": "gsutil upload bundle (src/bar)", |
| 162 "~followup_annotations": [ | 167 "~followup_annotations": [ |
| 163 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/bar/clone.bundle@@@" | 168 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/bar/clone.bundle@@@" |
| 164 ] | 169 ] |
| 165 }, | 170 }, |
| 166 { | 171 { |
| 167 "cmd": [ | 172 "cmd": [ |
| 168 "git", | 173 "git", |
| 169 "config", | 174 "config", |
| 170 "--get", | 175 "--get", |
| 171 "remote.origin.url" | 176 "remote.origin.url" |
| 172 ], | 177 ], |
| 173 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4/path/to/bar", | 178 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4/path/to/bar", |
| 174 "name": "lookup Git remote (src/bar)", | 179 "name": "lookup Git remote (src/bar)", |
| 175 "stdout": "/path/to/tmp/" | 180 "stdout": "/path/to/tmp/" |
| 176 } | 181 } |
| 177 ] | 182 ] |
| OLD | NEW |