update copybara configs to include gitea
GitOrigin-RevId: 4ef820b461a80b0b17dfe1d9d4800186437811f9
This commit is contained in:
parent
257a74ca58
commit
1a3cc2dc4c
@ -1,8 +1,8 @@
|
|||||||
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
|
||||||
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
destinationUrlGitHub = "git@github.com:mcmillen/sneak.git"
|
||||||
|
|
||||||
sourceUrlGitLab = "git@gitlab.com:SemiColinGames/sneak.git"
|
sourceUrlGitea = "git@git.semicolin.games:colin/sneak-private.git"
|
||||||
destinationUrlGitLab = "git@gitlab.com:SemiColinGames/sneak-public.git"
|
destinationUrlGitea = "git@git.semicolin.games:colin/sneak.git"
|
||||||
|
|
||||||
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
files = ["README.md", "tools/**", "Shared/**", "SharedTests/**", "Jumpy.Shared/**"]
|
||||||
|
|
||||||
@ -22,20 +22,20 @@ core.workflow(
|
|||||||
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
||||||
)
|
)
|
||||||
|
|
||||||
#core.workflow(
|
core.workflow(
|
||||||
# name = "gitlab",
|
name = "gitea",
|
||||||
# mode = "ITERATIVE",
|
mode = "ITERATIVE",
|
||||||
# origin = git.origin(
|
origin = git.origin(
|
||||||
# url = sourceUrlGitLab,
|
url = sourceUrlGitea,
|
||||||
# ref = "master",
|
ref = "master",
|
||||||
# ),
|
),
|
||||||
# destination = git.destination(
|
destination = git.destination(
|
||||||
# url = destinationUrlGitLab,
|
url = destinationUrlGitea,
|
||||||
# fetch = "master",
|
fetch = "master",
|
||||||
# push = "master",
|
push = "master",
|
||||||
# ),
|
),
|
||||||
# origin_files = glob(files),
|
origin_files = glob(files),
|
||||||
# authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
|
||||||
#)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@ SCRIPT=$(readlink -f "$0")
|
|||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
|
|
||||||
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky github
|
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky github
|
||||||
# java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky gitlab
|
java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky gitea
|
||||||
|
Loading…
Reference in New Issue
Block a user