Skip to content

Commit f2b679c

Browse files
authored
chore: Migrate python-container synth.py from artman to bazel (#16)
1 parent 8648221 commit f2b679c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/google-cloud-container/synth.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import synthtool as s
1717
from synthtool import gcp
1818

19-
gapic = gcp.GAPICGenerator()
19+
gapic = gcp.GAPICBazel()
2020
common = gcp.CommonTemplates()
2121
versions = ["v1beta1", "v1"]
2222

@@ -25,10 +25,9 @@
2525
# ----------------------------------------------------------------------------
2626
for version in versions:
2727
library = gapic.py_library(
28-
"container",
29-
version,
30-
config_path=f"/google/container/artman_container_{version}.yaml",
31-
artman_output_name=f"container-{version}",
28+
service="container",
29+
version=version,
30+
bazel_target=f"//google/container/{version}:container-{version}-py",
3231
include_protos=True,
3332
)
3433

0 commit comments

Comments
 (0)