Skip to content

Commit

Permalink
Merge pull request #1 from googleapis/main
Browse files Browse the repository at this point in the history
Update Latest repo
  • Loading branch information
Planxnx authored Oct 25, 2023
2 parents 8e032d2 + b3cc26b commit 11fb360
Show file tree
Hide file tree
Showing 1,448 changed files with 156,429 additions and 41,537 deletions.
10 changes: 10 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ARG VARIANT="1-1.21-bullseye"
FROM mcr.microsoft.com/devcontainers/go:${VARIANT}

RUN apt-get update && export DEBIAN_FRONTEND=noninteractive

RUN type -p curl >/dev/null || (apt-get install curl -y)


# install gloud sdk
RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - && apt-get update -y && apt-get install google-cloud-cli -y
18 changes: 18 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Go 1.21.0",
"build": {
"dockerfile": "Dockerfile"
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bash .devcontainer/postCreate.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker"
]
}
}
}
4 changes: 4 additions & 0 deletions .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
echo "Post Create Starting"

go version
go mod tidy
2 changes: 1 addition & 1 deletion .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-go:latest
digest: sha256:150fb0022f4ee618a3fa352e231d0a6dd053e660bba9853e7a48f7de67cd1a75
digest: sha256:15ae55c4c3fa711405360bcd928fe0d3e37bd06f87fafca8286fb404c58814a4
30 changes: 29 additions & 1 deletion .github/.OwlBot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ deep-remove-regex:
- /alloydb/apiv1/
- /alloydb/apiv1alpha/
- /alloydb/apiv1beta/
- /alloydb/connectors/apiv1/
- /alloydb/connectors/apiv1alpha/
- /alloydb/connectors/apiv1beta/
- /analytics/admin/apiv1alpha/
- /apigateway/apiv1/
- /apigeeconnect/apiv1/
Expand Down Expand Up @@ -60,6 +62,7 @@ deep-remove-regex:
- /cloudbuild/apiv1/v2/
- /cloudbuild/apiv2/
- /clouddms/apiv1/
- /cloudquotas/apiv1/
- /cloudtasks/apiv2/
- /cloudtasks/apiv2beta2/
- /cloudtasks/apiv2beta3/
Expand Down Expand Up @@ -176,6 +179,7 @@ deep-remove-regex:
- /internal/generated/snippets/cloudbuild/apiv1/v2/
- /internal/generated/snippets/cloudbuild/apiv2/
- /internal/generated/snippets/clouddms/apiv1/
- /internal/generated/snippets/cloudquotas/apiv1/
- /internal/generated/snippets/cloudtasks/apiv2/
- /internal/generated/snippets/cloudtasks/apiv2beta2/
- /internal/generated/snippets/cloudtasks/apiv2beta3/
Expand Down Expand Up @@ -244,6 +248,8 @@ deep-remove-regex:
- /internal/generated/snippets/longrunning/autogen/
- /internal/generated/snippets/managedidentities/apiv1/
- /internal/generated/snippets/maps/addressvalidation/apiv1/
- /internal/generated/snippets/maps/fleetengine/apiv1/
- /internal/generated/snippets/maps/fleetengine/delivery/apiv1/
- /internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/
- /internal/generated/snippets/maps/places/apiv1/
- /internal/generated/snippets/maps/routing/apiv2/
Expand Down Expand Up @@ -300,6 +306,7 @@ deep-remove-regex:
- /internal/generated/snippets/scheduler/apiv1/
- /internal/generated/snippets/scheduler/apiv1beta1/
- /internal/generated/snippets/secretmanager/apiv1/
- /internal/generated/snippets/securesourcemanager/apiv1/
- /internal/generated/snippets/security/privateca/apiv1/
- /internal/generated/snippets/security/publicca/apiv1beta1/
- /internal/generated/snippets/securitycenter/apiv1/
Expand All @@ -312,13 +319,13 @@ deep-remove-regex:
- /internal/generated/snippets/serviceusage/apiv1/
- /internal/generated/snippets/servicemanagement/apiv1/
- /internal/generated/snippets/shell/apiv1/
- /internal/generated/snippets/shopping/merchant/inventories/v1beta/
- /internal/generated/snippets/spanner/admin/database/apiv1/
- /internal/generated/snippets/spanner/admin/instance/apiv1/
- /internal/generated/snippets/spanner/apiv1/
- /internal/generated/snippets/speech/apiv1/
- /internal/generated/snippets/speech/apiv1p1beta1/
- /internal/generated/snippets/speech/apiv2/
- /internal/generated/snippets/storage/internal/apiv2/
- /internal/generated/snippets/storageinsights/apiv1/
- /internal/generated/snippets/storagetransfer/apiv1/
- /internal/generated/snippets/support/apiv2/
Expand Down Expand Up @@ -361,6 +368,8 @@ deep-remove-regex:
- /longrunning/autogen/
- /managedidentities/apiv1/
- /maps/addressvalidation/apiv1/
- /maps/fleetengine/apiv1/
- /maps/fleetengine/delivery/apiv1/
- /maps/mapsplatformdatasets/apiv1alpha/
- /maps/places/apiv1/
- /maps/routing/apiv2/
Expand Down Expand Up @@ -419,6 +428,7 @@ deep-remove-regex:
- /scheduler/apiv1/
- /scheduler/apiv1beta1/
- /secretmanager/apiv1/
- /securesourcemanager/apiv1/
- /security/privateca/apiv1/
- /security/publicca/apiv1beta1/
- /securitycenter/apiv1/
Expand All @@ -431,6 +441,8 @@ deep-remove-regex:
- /serviceusage/apiv1/
- /servicemanagement/apiv1/
- /shell/apiv1/
- /shopping/merchant/inventories/v1beta/
- /shopping/type/
- /spanner/admin/database/apiv1/
- /spanner/admin/instance/apiv1/
- /spanner/apiv1/
Expand Down Expand Up @@ -528,8 +540,12 @@ deep-copy-regex:
dest: /
- source: /google/cloud/alloydb/v1beta/cloud.google.com/go
dest: /
- source: /google/cloud/alloydb/connectors/v1/cloud.google.com/go
dest: /
- source: /google/cloud/alloydb/connectors/v1alpha/cloud.google.com/go
dest: /
- source: /google/cloud/alloydb/connectors/v1beta/cloud.google.com/go
dest: /
- source: /google/analytics/admin/v1alpha/cloud.google.com/go
dest: /
- source: /google/cloud/apigateway/v1/cloud.google.com/go
Expand Down Expand Up @@ -626,6 +642,8 @@ deep-copy-regex:
dest: /
- source: /google/cloud/clouddms/v1/cloud.google.com/go
dest: /
- source: /google/cloud/cloudquotas/v1/cloud.google.com/go
dest: /
- source: /google/cloud/tasks/v2/cloud.google.com/go
dest: /
- source: /google/cloud/tasks/v2beta2/cloud.google.com/go
Expand Down Expand Up @@ -766,6 +784,10 @@ deep-copy-regex:
dest: /
- source: /google/maps/addressvalidation/v1/cloud.google.com/go
dest: /
- source: /google/maps/fleetengine/v1/cloud.google.com/go
dest: /
- source: /google/maps/fleetengine/delivery/v1/cloud.google.com/go
dest: /
- source: /google/maps/mapsplatformdatasets/v1alpha/cloud.google.com/go
dest: /
- source: /google/maps/places/v1/cloud.google.com/go
Expand Down Expand Up @@ -886,6 +908,8 @@ deep-copy-regex:
dest: /
- source: /google/cloud/secretmanager/v1/cloud.google.com/go
dest: /
- source: /google/cloud/securesourcemanager/v1/cloud.google.com/go
dest: /
- source: /google/cloud/security/privateca/v1/cloud.google.com/go
dest: /
- source: /google/cloud/security/publicca/v1beta1/cloud.google.com/go
Expand All @@ -910,6 +934,10 @@ deep-copy-regex:
dest: /
- source: /google/cloud/shell/v1/cloud.google.com/go
dest: /
- source: /google/shopping/merchant/inventories/v1beta/cloud.google.com/go
dest: /
- source: /google/shopping/type/cloud.google.com/go
dest: /
- source: /google/spanner/admin/database/v1/cloud.google.com/go
dest: /
- source: /google/spanner/admin/instance/v1/cloud.google.com/go
Expand Down
12 changes: 6 additions & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Default owner for all directories not owned by others
* @googleapis/yoshi-go-admins

/bigtable/ @bhshkh @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/cmd/cbt @igorbernstein2 @bhshkh @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/cmd/emulator @igorbernstein2 @bhshkh @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/bttest @igorbernstein2 @bhshkh @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/ @googleapis/cloud-native-db-dpes @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/cmd/cbt @igorbernstein2 @googleapis/cloud-native-db-dpes @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/cmd/emulator @igorbernstein2 @googleapis/cloud-native-db-dpes @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/bttest @igorbernstein2 @googleapis/cloud-native-db-dpes @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigquery/ @googleapis/api-bigquery @googleapis/yoshi-go-admins
/datastore/ @bhshkh @googleapis/cloud-native-db-dpes @googleapis/yoshi-go-admins
/firestore/ @bhshkh @googleapis/cloud-native-db-dpes @googleapis/yoshi-go-admins
/datastore/ @googleapis/cloud-native-db-dpes @googleapis/yoshi-go-admins
/firestore/ @googleapis/cloud-native-db-dpes @googleapis/yoshi-go-admins
/pubsub/ @googleapis/api-pubsub @googleapis/yoshi-go-admins @shollyman
/pubsublite/ @googleapis/api-pubsub @googleapis/yoshi-go-admins @shollyman
/spanner/ @googleapis/api-spanner-go @googleapis/yoshi-go-admins
Expand Down
5 changes: 2 additions & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"commitMessageAction": "update",
"groupName": "deps",
"ignoreDeps": [
"google.golang.org/genproto",
"google.golang.org/grpc"
"google.golang.org/genproto"
],
"ignorePaths": [
"**/snippets/**"
Expand All @@ -23,4 +22,4 @@
"go": "1.20"
}
}
}
}
4 changes: 2 additions & 2 deletions .github/workflows/apidiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20.1'
go-version: '1.21.x'
- name: Get changed directories
id: changed_dirs
# Ignore changes to the internal and root directories.
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.20.1'
go-version: '1.21.x'
- name: Install latest apidiff
run: go install golang.org/x/exp/cmd/apidiff@latest
- uses: actions/checkout@v3
Expand Down
49 changes: 49 additions & 0 deletions .github/workflows/conformance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Github action job to test core java library features on
# downstream client libraries before they are released.
on:
push:
paths:
- 'bigtable/**'
branches:
- main
pull_request:
paths:
- 'bigtable/**'
name: bigtable_conformance
jobs:
bigtable_conformance:
runs-on: ubuntu-latest
strategy:
matrix:
# Bigtable test proxy can be run on any of these Go versions
go: [ '1.19', '1.20', '1.21' ]
folders: ['bigtable']
steps:
- uses: actions/checkout@v3
with:
path: google-cloud-go
- uses: actions/checkout@v3
with:
repository: googleapis/cloud-bigtable-clients-test
ref: main
path: cloud-bigtable-clients-test
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go version
- run: go install github.com/jstemmer/go-junit-report/v2@latest
- run: chmod +x ./google-cloud-go/${{ matrix.folders }}/conformance_test.sh
- run: ./google-cloud-go/${{ matrix.folders }}/conformance_test.sh
2 changes: 1 addition & 1 deletion .github/workflows/new_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
go-version: 1.21.x
- name: Find new version files
id: versions
# Ignore changes to the internal and root directories.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21.x'
- name: Install tools
run: |
go install golang.org/x/lint/golint@latest && \
Expand Down
15 changes: 8 additions & 7 deletions .release-please-manifest-individual.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"auth": "0.0.0",
"bigquery": "1.55.0",
"bigtable": "1.19.0",
"datastore": "1.14.0",
"auth": "0.1.0",
"auth/oauth2adapt": "0.1.0",
"bigquery": "1.56.0",
"bigtable": "1.20.0",
"datastore": "1.15.0",
"errorreporting": "0.3.0",
"firestore": "1.12.0",
"firestore": "1.14.0",
"logging": "1.8.1",
"profiler": "0.3.1",
"profiler": "0.4.0",
"pubsub": "1.33.0",
"pubsublite": "1.8.1",
"spanner": "1.49.0",
"spanner": "1.51.0",
"storage": "1.33.0"
}
Loading

0 comments on commit 11fb360

Please sign in to comment.