Skip to content

Commit

Permalink
chore(datastore): add owlbot config for protos (#10708)
Browse files Browse the repository at this point in the history
Also, clean up some old genproto do no longer allowlist datastore or bigtable proto generation in genproto.
  • Loading branch information
codyoss authored Aug 20, 2024
1 parent e265371 commit 0130d06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ deep-remove-regex:
- /dataproc/apiv1/
- /dataqna/apiv1alpha/
- /datastore/admin/apiv1/
- /datastore/apiv1/
- /datastream/apiv1/
- /datastream/apiv1alpha1/
# - /debugger/apiv2/
Expand Down Expand Up @@ -806,6 +807,9 @@ deep-copy-regex:
dest: /
- source: /google/datastore/admin/v1/cloud.google.com/go
dest: /
# Just copy the datastore protos for now
- source: /google/datastore/v1/cloud.google.com/go/datastore/apiv1/datastorepb
dest: /datastore/apiv1/datastorepb
- source: /google/cloud/datastream/v1/cloud.google.com/go
dest: /
- source: /google/cloud/datastream/v1alpha1/cloud.google.com/go
Expand Down
5 changes: 0 additions & 5 deletions internal/gapicgen/generator/genproto.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ var generateList = []string{
"google.golang.org/genproto/googleapis/apps/drive/labels/v2",
"google.golang.org/genproto/googleapis/example/library/v1",
"google.golang.org/genproto/googleapis/api/label",
"google.golang.org/genproto/googleapis/bigtable/admin/v2",
"google.golang.org/genproto/googleapis/api/httpbody",
"google.golang.org/genproto/googleapis/partner/aistreams/v1alpha1",
"google.golang.org/genproto/googleapis/apps/script/type/drive",
"google.golang.org/genproto/googleapis/bigtable/v2",
"google.golang.org/genproto/googleapis/search/partnerdataingestion/logging/v1",
"google.golang.org/genproto/googleapis/apps/script/type/calendar",
"google.golang.org/genproto/googleapis/rpc/context/attribute_context",
Expand All @@ -133,9 +131,6 @@ var generateList = []string{
"google.golang.org/genproto/googleapis/type/postaladdress",
"google.golang.org/genproto/googleapis/firebase/fcm/connection/v1alpha1",
"google.golang.org/genproto/googleapis/assistant/embedded/v1alpha2",
"google.golang.org/genproto/googleapis/datastore/v1",
"google.golang.org/genproto/googleapis/datastore/admin/v1",
"google.golang.org/genproto/googleapis/datastore/admin/v1beta1",
"google.golang.org/genproto/googleapis/apps/card/v1",
}

Expand Down
3 changes: 3 additions & 0 deletions internal/postprocessor/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,9 @@ service-configs:
- input-directory: google/datastore/admin/v1
service-config: datastore_v1.yaml
import-path: cloud.google.com/go/datastore/admin/apiv1
- input-directory: google/datastore/v1
service-config: datastore_v1.yaml
import-path: cloud.google.com/go/datastore/apiv1
- input-directory: google/devtools/artifactregistry/v1
service-config: artifactregistry_v1.yaml
import-path: cloud.google.com/go/artifactregistry/apiv1
Expand Down

0 comments on commit 0130d06

Please sign in to comment.