mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
Reland "depot_tools: Run recipe scripts using vpython."
Bug: 1002153 Recipe-Nontrivial-Roll: chromiumos Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: infra Recipe-Nontrivial-Roll: skia Recipe-Nontrivial-Roll: build_limited_scripts_slave Recipe-Nontrivial-Roll: release_scripts Change-Id: I21b3223c5fc8a24fdafcc0795db51322cfe65148 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1865252 Reviewed-by: Andrii Shyshkalov <tandrii@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
This commit is contained in:
@@ -26,6 +26,7 @@ class GerritApi(recipe_api.RecipeApi):
|
||||
self.repo_resource('gerrit_client.py'),
|
||||
cmd,
|
||||
infra_step=infra_step,
|
||||
venv=True,
|
||||
**kwargs)
|
||||
|
||||
def create_gerrit_branch(self, host, project, branch, commit, **kwargs):
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"branch",
|
||||
@@ -32,7 +32,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"branchinfo",
|
||||
@@ -60,7 +60,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"changes",
|
||||
@@ -110,7 +110,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"changes",
|
||||
@@ -137,7 +137,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"changes",
|
||||
@@ -185,7 +185,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"abandon",
|
||||
@@ -229,7 +229,7 @@
|
||||
},
|
||||
{
|
||||
"cmd": [
|
||||
"python",
|
||||
"vpython",
|
||||
"-u",
|
||||
"RECIPE_REPO[depot_tools]/gerrit_client.py",
|
||||
"changes",
|
||||
|
||||
Reference in New Issue
Block a user