Skip to content

Commit 1e6cb62

Browse files
authored
build: deploy use of converter config in GCE BUILD rule + DIREGAPIC action (#993)
1 parent acd9e9b commit 1e6cb62

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/diregapic.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
git config --global --add safe.directory /__w/googleapis/googleapis
2525
bazelisk build --experimental_convenience_symlinks=normal //google/cloud/compute/v1:compute_gen
2626
cp bazel-bin/google/cloud/compute/v1/compute_gen.proto google/cloud/compute/v1/compute.proto
27+
cp bazel-bin/google/cloud/compute/v1/compute_gen.config.out.json google/cloud/compute/v1/compute.config.json
2728
bazelisk build --experimental_convenience_symlinks=normal //google/cloud/compute/v1:compute_grpc_service_config_gen
2829
cp bazel-bin/google/cloud/compute/v1/compute_grpc_service_config_gen.json google/cloud/compute/v1/compute_grpc_service_config.json
2930
bazelisk build --experimental_convenience_symlinks=normal //google/cloud/compute/v1:compute_gapic_gen

google/cloud/compute/v1/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ proto_from_disco(
4343
name = "compute_gen",
4444
src = "compute.v1.json",
4545
enums_as_strings = True,
46+
input_config_path = "compute.config.json",
4647
message_ignorelist = _MESSAGE_IGNORE_LIST,
4748
previous_proto = "compute.proto",
4849
service_ignorelist = _SERVICE_IGNORELIST,
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"converterVersion": "UNSPECIFIED",
3+
"apiVersion": "",
4+
"discoveryRevision": "",
5+
"inlineSchemas" : [{
6+
"schema": "",
7+
"locations": {
8+
"ManagedInstanceLastAttemptErrors": [
9+
"schemas.ManagedInstanceLastAttempt.errors"
10+
]
11+
}
12+
}]
13+
}

0 commit comments

Comments
 (0)