recipe_module git: remove non-LUCI mode.
R=maruel Bug: 1012148 Recipe-Nontrivial-Roll: infra Recipe-Nontrivial-Roll: release_scripts Recipe-Nontrivial-Roll: build Change-Id: I386b540ef1d68d2f20031111ad5b693eb35c57a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1846736 Commit-Queue: Andrii Shyshkalov <tandrii@google.com> Auto-Submit: Andrii Shyshkalov <tandrii@google.com> Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>changes/36/1846736/5
parent
1ad5811acc
commit
1458d572f9
@ -1,217 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"python",
|
|
||||||
"-u",
|
|
||||||
"RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
|
||||||
"--path",
|
|
||||||
"[START_DIR]/src",
|
|
||||||
"--url",
|
|
||||||
"https://chromium.googlesource.com/chromium/src.git"
|
|
||||||
],
|
|
||||||
"name": "git setup"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"fetch",
|
|
||||||
"origin",
|
|
||||||
"master",
|
|
||||||
"--recurse-submodules",
|
|
||||||
"--progress"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"env": {
|
|
||||||
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
|
|
||||||
},
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git fetch"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"checkout",
|
|
||||||
"-f",
|
|
||||||
"FETCH_HEAD"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git checkout"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"rev-parse",
|
|
||||||
"HEAD"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "read revision",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"clean",
|
|
||||||
"-f",
|
|
||||||
"-d",
|
|
||||||
"-x"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git clean"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"submodule",
|
|
||||||
"sync"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "submodule sync"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"submodule",
|
|
||||||
"update",
|
|
||||||
"--init",
|
|
||||||
"--recursive"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "submodule update"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"-c",
|
|
||||||
"foo=bar",
|
|
||||||
"count-objects",
|
|
||||||
"-v"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "count-objects"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"config",
|
|
||||||
"--get",
|
|
||||||
"remote.origin.url"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git config remote.origin.url",
|
|
||||||
"~followup_annotations": [
|
|
||||||
"@@@STEP_TEXT@foo@@@"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"show",
|
|
||||||
"HEAD",
|
|
||||||
"--format=%at",
|
|
||||||
"-s"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git show"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"fetch",
|
|
||||||
"origin",
|
|
||||||
"--tags"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git fetch tags"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"status"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git status"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"status"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git status can_fail_build"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"status"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git status cannot_fail_build"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"new-branch",
|
|
||||||
"refactor"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"env": {
|
|
||||||
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
|
|
||||||
},
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git new-branch refactor"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"new-branch",
|
|
||||||
"feature",
|
|
||||||
"--upstream",
|
|
||||||
"refactor"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"env": {
|
|
||||||
"PATH": "RECIPE_REPO[depot_tools]:<PATH>"
|
|
||||||
},
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git new-branch feature"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"rebase",
|
|
||||||
"origin/master"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "my repo rebase"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cmd": [
|
|
||||||
"git",
|
|
||||||
"bundle",
|
|
||||||
"create",
|
|
||||||
"[START_DIR]/all.bundle",
|
|
||||||
"--all"
|
|
||||||
],
|
|
||||||
"cwd": "[START_DIR]/src",
|
|
||||||
"infra_step": true,
|
|
||||||
"name": "git bundle"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "$result"
|
|
||||||
}
|
|
||||||
]
|
|
Loading…
Reference in New Issue