Browse Source

update copybara config to point at new private URL

GitOrigin-RevId: 4b40c2c55c
master
Colin McMillen 4 years ago
parent
commit
d4f3b2b703
  1. 32
      tools/copybara/copy.bara.sky
  2. 2
      tools/copybara/copybara.sh

32
tools/copybara/copy.bara.sky

@ -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>"),
#)

2
tools/copybara/copybara.sh

@ -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
Loading…
Cancel
Save