move copybara config into separate directory
GitOrigin-RevId: e2ba23b6783b2789eabe0ac7f90cd4e9b0b752c5
This commit is contained in:
parent
4d64d6fa12
commit
8cf840d451
@ -1,41 +0,0 @@
|
|||||||
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
|
||||||
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
|
||||||
|
|
||||||
sourceUrlGitea = "git@git.semicolin.games:colin/sneak-private.git"
|
|
||||||
destinationUrlGitea = "git@git.semicolin.games:colin/sneak.git"
|
|
||||||
|
|
||||||
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
|
||||||
|
|
||||||
core.workflow(
|
|
||||||
name = "github",
|
|
||||||
mode = "ITERATIVE",
|
|
||||||
origin = git.origin(
|
|
||||||
url = sourceUrlGitHub,
|
|
||||||
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(
|
|
||||||
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>"),
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
|||||||
SCRIPT=$(readlink -f "$0")
|
SCRIPT=$(readlink -f "$0")
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
|
|
||||||
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky gitea
|
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/config/copy.bara.sky gitea
|
||||||
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky github
|
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/config/copy.bara.sky github
|
||||||
|
Loading…
Reference in New Issue
Block a user