6 "\nfrom __future__ import print_function\nimport subprocess\nimport sys\n\nwhich = 'where' if sys.platform == 'win32' else 'which'\ngit = subprocess.check_output([which, 'git']).decode('utf-8')\nprint('git was found at %s' % git)\nif 'cipd_bin_packages' not in git:\n print('Git must be obtained through CIPD.', file=sys.stderr)\n sys.exit(1)\n"
9 "CHROME_HEADLESS": "1",
10 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
12 "name": "Assert that Git is from CIPD",
13 "~followup_annotations": [
14 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@from __future__ import print_function@@@",
16 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
17 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
18 "@@@STEP_LOG_LINE@python.inline@@@@",
19 "@@@STEP_LOG_LINE@python.inline@which = 'where' if sys.platform == 'win32' else 'which'@@@",
20 "@@@STEP_LOG_LINE@python.inline@git = subprocess.check_output([which, 'git']).decode('utf-8')@@@",
21 "@@@STEP_LOG_LINE@python.inline@print('git was found at %s' % git)@@@",
22 "@@@STEP_LOG_LINE@python.inline@if 'cipd_bin_packages' not in git:@@@",
23 "@@@STEP_LOG_LINE@python.inline@ print('Git must be obtained through CIPD.', file=sys.stderr)@@@",
24 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
25 "@@@STEP_LOG_END@python.inline@@@"
32 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
36 "https://skia.googlesource.com/skia.git"
48 "cwd": "[START_DIR]/skia",
50 "PATH": "RECIPE_REPO[depot_tools]:<PATH>"
62 "cwd": "[START_DIR]/skia",
64 "name": "git checkout"
72 "cwd": "[START_DIR]/skia",
74 "name": "read revision",
75 "~followup_annotations": [
76 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
87 "cwd": "[START_DIR]/skia",
96 "refs/changes/89/456789/12"
98 "cwd": "[START_DIR]/skia",
100 "name": "git fetch (2)"
108 "cwd": "[START_DIR]/skia",
110 "name": "git checkout (2)"
118 "cwd": "[START_DIR]/skia",
126 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
135 "name": "makedirs tmp_dir"