sneak/tools/copybara/config/copy.bara.sky
Colin McMillen 3e8b438b0f change copybara config to use new domain
GitOrigin-RevId: 78b38523a2887666e7e71bd5e616a7c02631e79d
2020-02-25 17:43:06 -05:00

40 lines
1.0 KiB
Plaintext

sourceUrlGitea = "git@git.semicol.in:semicolin/sneak-private.git"
destinationUrlGitea = "git@git.semicol.in:semicolin/sneak.git"
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
core.workflow(
name = "gitea",
mode = "ITERATIVE",
origin = git.origin(
url = sourceUrlGitea,
ref = "master",
),
destination = git.destination(
url = destinationUrlGitea,
fetch = "master",
push = "master",
),
origin_files = glob(files),
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>"),
)