Skip to content

Commit

Permalink
build: add release-please config, fix owlbot-config
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Nov 16, 2022
1 parent 5c4d8fe commit da7cdbd
Show file tree
Hide file tree
Showing 10 changed files with 249 additions and 74 deletions.
48 changes: 24 additions & 24 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,72 +1,73 @@
{
"packages/gapic-node-templating": "0.0.0",
"packages/google-api-apikeys": "0.1.3",
"packages/google-cloud-baremetalsolution": "0.2.2",
"packages/google-api-servicecontrol": "2.0.3",
"packages/google-api-servicemanagement": "1.1.3",
"packages/google-cloud-apigateway": "2.1.2",
"packages/google-api-serviceusage": "2.1.2",
"packages/google-api-servicecontrol": "2.0.3",
"packages/google-appengine": "2.1.2",
"packages/google-cloud-accessapproval": "2.1.2",
"packages/google-cloud-apigateway": "2.1.2",
"packages/google-cloud-apigeeconnect": "2.1.3",
"packages/google-cloud-asset": "4.5.0",
"packages/google-cloud-assuredworkloads": "3.5.0",
"packages/google-cloud-baremetalsolution": "0.2.2",
"packages/google-cloud-batch": "0.3.2",
"packages/google-cloud-beyondcorp-appconnections": "0.2.3",
"packages/google-cloud-beyondcorp-appconnectors": "0.3.3",
"packages/google-cloud-beyondcorp-appgateways": "0.2.3",
"packages/google-cloud-beyondcorp-clientconnectorservices": "0.2.3",
"packages/google-cloud-beyondcorp-clientgateways": "0.2.3",
"packages/google-cloud-bigquery-analyticshub": "0.1.2",
"packages/google-cloud-bigquery-connection": "2.0.2",
"packages/google-cloud-bigquery-dataexchange": "0.3.2",
"packages/google-cloud-bigquery-datapolicies": "0.1.2",
"packages/google-cloud-bigquery-datatransfer": "3.1.5",
"packages/google-cloud-bigquery-reservation": "2.0.4",
"packages/google-cloud-bigquery-storage": "3.2.0",
"packages/google-cloud-binaryauthorization": "2.1.1",
"packages/google-cloud-billing": "3.1.3",
"packages/google-cloud-billing-budgets": "4.1.2",
"packages/google-cloud-binaryauthorization": "2.1.1",
"packages/google-cloud-certificatemanager": "0.6.2",
"packages/google-cloud-channel": "2.2.0",
"packages/google-cloud-clouddms": "2.1.2",
"packages/google-cloud-contactcenterinsights": "2.1.2",
"packages/google-cloud-channel": "2.2.0",
"packages/google-cloud-contentwarehouse": "0.1.2",
"packages/google-cloud-datafusion": "2.1.2",
"packages/google-cloud-datalabeling": "3.1.1",
"packages/google-cloud-dataplex": "2.2.2",
"packages/google-cloud-dataproc": "4.1.1",
"packages/google-cloud-datastream": "2.1.2",
"packages/google-cloud-dataqna": "2.0.2",
"packages/google-cloud-datastream": "2.1.2",
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-dialogflow-cx": "3.1.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-dialogflow-cx": "3.1.2",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-gkebackup": "0.2.2",
"packages/google-cloud-eventarc-publishing": "2.3.0",
"packages/google-cloud-documentai": "6.1.0",
"packages/google-cloud-domains": "2.1.2",
"packages/google-cloud-essentialcontacts": "2.0.2",
"packages/google-cloud-eventarc": "2.2.0",
"packages/google-cloud-domains": "2.1.2",
"packages/google-cloud-gaming": "3.1.3",
"packages/google-cloud-eventarc-publishing": "2.3.0",
"packages/google-cloud-functions": "2.2.3",
"packages/google-cloud-documentai": "6.1.0",
"packages/google-cloud-gaming": "3.1.3",
"packages/google-cloud-gkebackup": "0.2.2",
"packages/google-cloud-gkeconnect-gateway": "2.0.5",
"packages/google-cloud-gkehub": "3.2.2",
"packages/google-cloud-gkemulticloud": "0.1.4",
"packages/google-cloud-kms": "3.1.0",
"packages/google-cloud-ids": "2.1.2",
"packages/google-cloud-iap": "2.0.3",
"packages/google-cloud-ids": "2.1.2",
"packages/google-cloud-iot": "3.1.2",
"packages/google-cloud-kms": "3.1.0",
"packages/google-cloud-language": "5.1.2",
"packages/google-cloud-mediatranslation": "3.0.5",
"packages/google-cloud-lifesciences": "2.1.2",
"packages/google-cloud-mediatranslation": "3.0.5",
"packages/google-cloud-memcache": "2.1.4",
"packages/google-cloud-metastore": "3.1.2",
"packages/google-cloud-monitoring": "3.0.3",
"packages/google-cloud-orgpolicy": "2.0.3",
"packages/google-cloud-optimization": "2.1.1",
"packages/google-cloud-networksecurity": "1.0.2",
"packages/google-cloud-networkmanagement": "2.3.1",
"packages/google-cloud-networksecurity": "1.0.2",
"packages/google-cloud-notebooks": "2.1.2",
"packages/google-cloud-optimization": "2.1.1",
"packages/google-cloud-orgpolicy": "2.0.3",
"packages/google-cloud-osconfig": "2.1.2",
"packages/google-cloud-oslogin": "4.0.4",
"packages/google-cloud-phishingprotection": "3.0.6",
Expand All @@ -76,10 +77,9 @@
"packages/google-cloud-redis": "3.1.5",
"packages/google-cloud-resourcemanager": "4.1.3",
"packages/google-cloud-resourcesettings": "2.0.3",
"packages/google-cloud-security-privateca": "4.1.2",
"packages/google-cloud-secretmanager": "4.1.4",
"packages/google-cloud-scheduler": "3.0.5",
"packages/google-cloud-secretmanager": "4.1.4",
"packages/google-cloud-security-privateca": "4.1.2",
"packages/google-cloud-security-publicca": "0.1.3",
"packages/google-cloud-servicedirectory": "4.0.4",
"packages/google-cloud-shell": "2.0.4",
Expand All @@ -90,19 +90,19 @@
"packages/google-cloud-video-livestream": "0.3.4",
"packages/google-cloud-video-transcoder": "2.2.3",
"packages/google-cloud-videointelligence": "4.1.1",
"packages/google-cloud-vpcaccess": "2.1.3",
"packages/google-cloud-vmmigration": "2.2.1",
"packages/google-cloud-vpcaccess": "2.1.3",
"packages/google-cloud-webrisk": "3.2.0",
"packages/google-cloud-websecurityscanner": "2.1.3",
"packages/google-cloud-workflows-executions": "2.2.0",
"packages/google-cloud-webrisk": "3.2.0",
"packages/google-container": "4.4.0",
"packages/google-dataflow": "2.0.1",
"packages/google-devtools-artifactregistry": "2.0.2",
"packages/google-devtools-containeranalysis": "4.4.1",
"packages/google-devtools-cloudbuild": "3.2.0",
"packages/google-devtools-containeranalysis": "4.4.1",
"packages/google-iam": "0.2.2",
"packages/google-identity-accesscontextmanager": "2.2.0",
"packages/google-iam-credentials": "2.0.2",
"packages/google-identity-accesscontextmanager": "2.2.0",
"packages/google-maps-addressvalidation": "0.1.0",
"packages/google-maps-routing": "0.2.1",
"packages/google-monitoring-dashboard": "2.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
# 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.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest

deep-remove-regex:
- /owl-bot-staging
Expand All @@ -21,8 +19,8 @@ deep-preserve-regex:
- /owl-bot-staging/v1beta1

deep-copy-regex:
- source: /google/cloud/bigquery/connection/(.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/cloud/bigquery/connection/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-bigquery-connection/$1

begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b

2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-connection/.mocharc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-connection/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"language": "nodejs",
"repo": "googleapis/nodejs-bigquery-connection",
"repo": "googleapis/google-cloud-node",
"name": "bigqueryconnection",
"issue_tracker": "https://b.corp.google.com/savedsearches/559654",
"default_version": "v1",
Expand Down
23 changes: 16 additions & 7 deletions packages/google-cloud-bigquery-connection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[//]: # "To regenerate it, use `python -m synthtool`."
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>

# [Google BigQuery Connection: Node.js Client](https://github.com/googleapis/nodejs-bigquery-connection)
# [Google BigQuery Connection: Node.js Client](https://github.com/googleapis/google-cloud-node)

[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![npm version](https://img.shields.io/npm/v/@google-cloud/bigquery-connection.svg)](https://www.npmjs.org/package/@google-cloud/bigquery-connection)
Expand All @@ -14,11 +14,11 @@ BigQuery Connection client for Node.js


A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/CHANGELOG.md).
[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-connection/CHANGELOG.md).

* [Google BigQuery Connection Node.js Client API Reference][client-docs]
* [Google BigQuery Connection Documentation][product-docs]
* [github.com/googleapis/nodejs-bigquery-connection](https://github.com/googleapis/nodejs-bigquery-connection)
* [github.com/googleapis/google-cloud-node/packages/google-cloud-bigquery-connection](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-connection)

Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
Expand Down Expand Up @@ -85,11 +85,20 @@ const listConnectionsResponse = listConnections();

## Samples

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-bigquery-connection/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Quickstart | [source code](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-bigquery-connection&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Connection_service.create_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.create_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.create_connection.js,samples/README.md) |
| Connection_service.delete_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.delete_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.delete_connection.js,samples/README.md) |
| Connection_service.get_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.get_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.get_connection.js,samples/README.md) |
| Connection_service.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.get_iam_policy.js,samples/README.md) |
| Connection_service.list_connections | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.list_connections.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.list_connections.js,samples/README.md) |
| Connection_service.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.set_iam_policy.js,samples/README.md) |
| Connection_service.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.test_iam_permissions.js,samples/README.md) |
| Connection_service.update_connection | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/generated/v1/connection_service.update_connection.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/generated/v1/connection_service.update_connection.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/quickstart.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main//workspace/google-cloud-node/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=/workspace/google-cloud-node/samples/test/quickstart.js,samples/README.md) |



Expand Down Expand Up @@ -139,7 +148,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]

## Contributing

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/CONTRIBUTING.md).
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).

Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
Expand All @@ -151,7 +160,7 @@ to its templates in

Apache Version 2.0

See [LICENSE](https://github.com/googleapis/nodejs-bigquery-connection/blob/main/LICENSE)
See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)

[client-docs]: https://cloud.google.com/nodejs/docs/reference/bigquery-connection/latest
[product-docs]: https://cloud.google.com/bigquery/docs/reference/bigqueryconnection
Expand Down
13 changes: 9 additions & 4 deletions packages/google-cloud-bigquery-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@google-cloud/bigquery-connection",
"version": "2.0.2",
"description": "BigQuery Connection client for Node.js",
"repository": "googleapis/nodejs-bigquery-connection",
"repository": {
"type": "git",
"directory": "packages/google-cloud-bigquery-connection",
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"license": "Apache-2.0",
"author": "Google LLC",
"main": "build/src/index.js",
Expand Down Expand Up @@ -34,8 +38,8 @@
"prelint": "cd samples/; npm link ../; npm i",
"lint": "gts check",
"prepare": "npm run compile-protos && npm run compile",
"system-test": "c8 mocha build/system-test",
"samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../",
"system-test": "npm run compile && c8 mocha build/system-test",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"test": "c8 mocha build/test"
},
"dependencies": {
Expand All @@ -62,5 +66,6 @@
},
"engines": {
"node": ">=12.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-connection"
}
Loading

0 comments on commit da7cdbd

Please sign in to comment.