Skip to content

Commit 8269687

Browse files
authored
chore: remove discovery artifact copy from synth.py (#1206)
Discovery artifacts will be updated by the GitHub Action, see #1187
1 parent 6970659 commit 8269687

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

synth.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
import synthtool as s
1616
from synthtool import gcp
17-
from synthtool.sources import git
1817

19-
DISCOVERY_ARTIFACT_MANAGER_REPO = "googleapis/discovery-artifact-manager"
2018

2119
common = gcp.CommonTemplates()
2220

@@ -32,19 +30,6 @@
3230
# Also move issue templates
3331
s.move(templated_files / '.github')
3432

35-
# ----------------------------------------------------------------------------
36-
# Copy discoveries folder from discovery-artifact-manager repo
37-
# ----------------------------------------------------------------------------
38-
39-
discovery_artifact_manager_url = git.make_repo_clone_url(DISCOVERY_ARTIFACT_MANAGER_REPO)
40-
discovery_artifacts = git.clone(discovery_artifact_manager_url) / "discoveries"
41-
42-
excludes = [
43-
"**/BUILD.bazel",
44-
]
45-
s.copy(discovery_artifacts,
46-
"googleapiclient/discovery_cache/documents", excludes=excludes)
47-
4833
# ----------------------------------------------------------------------------
4934
# Generate docs
5035
# ----------------------------------------------------------------------------

0 commit comments

Comments
 (0)