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" destinationUrlGitHub = "git@github.com:mcmillen/sneak-public.git"
sourceUrlGitLab = "git@gitlab.com:SemiColinGames/sneak.git" sourceUrlGitLab = "git@gitlab.com:SemiColinGames/sneak.git"
@ -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 = "gitlab",
mode = "ITERATIVE", # mode = "ITERATIVE",
origin = git.origin( # origin = git.origin(
url = sourceUrlGitLab, # url = sourceUrlGitLab,
ref = "master", # ref = "master",
), # ),
destination = git.destination( # destination = git.destination(
url = destinationUrlGitLab, # url = destinationUrlGitLab,
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>"),
) #)

View File

@ -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 gitlab