-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopy.bara.sky
30 lines (28 loc) · 1.05 KB
/
copy.bara.sky
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
openpackDatasetUrl = "ssh://[email protected]/open-pack/openpack-dataset.git"
openpackToolkitUrl = "ssh://[email protected]/open-pack/openpack-toolkit.git"
core.workflow(
name = "default",
mode="ITERATIVE",
origin = git.origin(
url = openpackDatasetUrl,
ref = "main",
first_parent=False,
describe_version=True,
),
destination = git.github_pr_destination(
url = openpackToolkitUrl,
destination_ref = "main",
pr_branch = "feat/copybara/from-openpack-dataset",
title="[feat][CopyBara] Changes from openpack-dataset",
update_description=True,
integrates = [],
),
origin_files = glob(["docs/**", "data/openpack/**"]),
destination_files = glob(["docs/openpack-dataset/**", "samples/openpack/**"]),
authoring = authoring.pass_thru("Copybara <[email protected]>"),
# Change the path here to the folder you want to publish publicly
transformations = [
core.move("docs/", "docs/openpack-dataset/"),
core.move("data/openpack/", "samples/openpack/"),
],
)