Skip to content

Commit

Permalink
chore: Migrate python-container synth.py from artman to bazel (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
vam-google authored Apr 22, 2020
1 parent 8648221 commit f2b679c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/google-cloud-container/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import synthtool as s
from synthtool import gcp

gapic = gcp.GAPICGenerator()
gapic = gcp.GAPICBazel()
common = gcp.CommonTemplates()
versions = ["v1beta1", "v1"]

Expand All @@ -25,10 +25,9 @@
# ----------------------------------------------------------------------------
for version in versions:
library = gapic.py_library(
"container",
version,
config_path=f"/google/container/artman_container_{version}.yaml",
artman_output_name=f"container-{version}",
service="container",
version=version,
bazel_target=f"//google/container/{version}:container-{version}-py",
include_protos=True,
)

Expand Down

0 comments on commit f2b679c

Please sign in to comment.