update copybara config to point at new private URL

GitOrigin-RevId: 4b40c2c55c064e32d1062908e9b126b0b4ff4464
This commit is contained in:
Colin McMillen 2020-02-05 13:26:16 -05:00
parent ff0c9ddc26
commit d4f3b2b703
2 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
sourceUrlGitHub = "git@github.com:mcmillen/sneak.git"
sourceUrlGitHub = "git@github.com:mcmillen/sneak-private.git"
destinationUrlGitHub = "git@github.com:mcmillen/sneak-public.git"
sourceUrlGitLab = "git@gitlab.com:SemiColinGames/sneak.git"
@ -22,20 +22,20 @@ core.workflow(
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
)
core.workflow(
name = "gitlab",
mode = "ITERATIVE",
origin = git.origin(
url = sourceUrlGitLab,
ref = "master",
),
destination = git.destination(
url = destinationUrlGitLab,
fetch = "master",
push = "master",
),
origin_files = glob(files),
authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
)
#core.workflow(
# name = "gitlab",
# mode = "ITERATIVE",
# origin = git.origin(
# url = sourceUrlGitLab,
# ref = "master",
# ),
# destination = git.destination(
# url = destinationUrlGitLab,
# fetch = "master",
# push = "master",
# ),
# origin_files = glob(files),
# authoring = authoring.pass_thru("Unknown Author <nobody@semicolin.games>"),
#)

View File

@ -4,4 +4,4 @@ SCRIPT=$(readlink -f "$0")
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 gitlab
# java -jar ~/bin/copybara_deploy.jar migrate $SCRIPTPATH/copy.bara.sky gitlab