Skip to content

Commit

Permalink
chore: remove discovery artifact copy from synth.py (#1206)
Browse files Browse the repository at this point in the history
Discovery artifacts will be updated by the GitHub Action, see #1187
  • Loading branch information
busunkim96 committed Mar 3, 2021
1 parent 6970659 commit 8269687
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions synth.py
Expand Up @@ -14,9 +14,7 @@

import synthtool as s
from synthtool import gcp
from synthtool.sources import git

DISCOVERY_ARTIFACT_MANAGER_REPO = "googleapis/discovery-artifact-manager"

common = gcp.CommonTemplates()

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

# ----------------------------------------------------------------------------
# Copy discoveries folder from discovery-artifact-manager repo
# ----------------------------------------------------------------------------

discovery_artifact_manager_url = git.make_repo_clone_url(DISCOVERY_ARTIFACT_MANAGER_REPO)
discovery_artifacts = git.clone(discovery_artifact_manager_url) / "discoveries"

excludes = [
"**/BUILD.bazel",
]
s.copy(discovery_artifacts,
"googleapiclient/discovery_cache/documents", excludes=excludes)

# ----------------------------------------------------------------------------
# Generate docs
# ----------------------------------------------------------------------------
Expand Down

0 comments on commit 8269687

Please sign in to comment.