clean up copybara config a smidge
GitOrigin-RevId: 5179f64eecdf7f500a9341c22402fe42ef032529
This commit is contained in:
parent
143aeb983d
commit
3107c8448e
@ -1,27 +1,10 @@
|
|||||||
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
sourceUrlGitea = "git@git.semicolin:semicolin/sneak-private.git"
|
||||||
|
|
||||||
|
destinationUrlGitea = "git@git.semicolin:semicolin/sneak.git"
|
||||||
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
||||||
|
|
||||||
sourceUrlGitea = "git@git.semicolin:semicolin/sneak-private.git"
|
|
||||||
destinationUrlGitea = "git@git.semicolin:semicolin/sneak.git"
|
|
||||||
|
|
||||||
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
||||||
|
|
||||||
core.workflow(
|
|
||||||
name = "github",
|
|
||||||
mode = "ITERATIVE",
|
|
||||||
origin = git.origin(
|
|
||||||
url = sourceUrlGitea,
|
|
||||||
ref = "master",
|
|
||||||
),
|
|
||||||
destination = git.destination(
|
|
||||||
url = destinationUrlGitHub,
|
|
||||||
fetch = "master",
|
|
||||||
push = "master",
|
|
||||||
),
|
|
||||||
origin_files = glob(files),
|
|
||||||
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
|
||||||
)
|
|
||||||
|
|
||||||
core.workflow(
|
core.workflow(
|
||||||
name = "gitea",
|
name = "gitea",
|
||||||
mode = "ITERATIVE",
|
mode = "ITERATIVE",
|
||||||
@ -38,4 +21,19 @@ core.workflow(
|
|||||||
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
core.workflow(
|
||||||
|
name = "github",
|
||||||
|
mode = "ITERATIVE",
|
||||||
|
origin = git.origin(
|
||||||
|
url = sourceUrlGitea,
|
||||||
|
ref = "master",
|
||||||
|
),
|
||||||
|
destination = git.destination(
|
||||||
|
url = destinationUrlGitHub,
|
||||||
|
fetch = "master",
|
||||||
|
push = "master",
|
||||||
|
),
|
||||||
|
origin_files = glob(files),
|
||||||
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
||||||
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user