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 Sep 26, 2023
1 parent ce95d15 commit 3e11865
Show file tree
Hide file tree
Showing 13 changed files with 502 additions and 2,866 deletions.
13 changes: 7 additions & 6 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"packages/google-cloud-bigquery-dataexchange": "1.0.1",
"packages/google-cloud-bigquery-datapolicies": "1.1.0",
"packages/google-cloud-bigquery-datatransfer": "4.0.1",
"packages/google-cloud-bigquery-migration": "1.0.1",
"packages/google-cloud-bigquery-reservation": "3.0.1",
"packages/google-cloud-billing": "4.0.2",
"packages/google-cloud-billing-budgets": "5.1.0",
Expand All @@ -42,6 +43,7 @@
"packages/google-cloud-compute": "4.0.1",
"packages/google-cloud-confidentialcomputing": "1.1.0",
"packages/google-cloud-config": "0.1.1",
"packages/google-cloud-connectors": "0.1.0",
"packages/google-cloud-contactcenterinsights": "3.0.1",
"packages/google-cloud-contentwarehouse": "1.2.0",
"packages/google-cloud-datacatalog": "4.0.1",
Expand All @@ -60,6 +62,7 @@
"packages/google-cloud-dns": "4.0.0",
"packages/google-cloud-documentai": "8.0.1",
"packages/google-cloud-domains": "3.0.1",
"packages/google-cloud-edgecontainer": "0.1.0",
"packages/google-cloud-essentialcontacts": "3.0.1",
"packages/google-cloud-eventarc": "3.0.1",
"packages/google-cloud-eventarc-publishing": "3.0.1",
Expand Down Expand Up @@ -87,13 +90,15 @@
"packages/google-cloud-networkconnectivity": "3.1.0",
"packages/google-cloud-networkmanagement": "3.1.0",
"packages/google-cloud-networksecurity": "2.0.1",
"packages/google-cloud-networkservices": "0.1.0",
"packages/google-cloud-notebooks": "3.1.0",
"packages/google-cloud-optimization": "3.1.0",
"packages/google-cloud-orchestration-airflow-service": "3.0.1",
"packages/google-cloud-orgpolicy": "3.0.1",
"packages/google-cloud-osconfig": "3.0.1",
"packages/google-cloud-oslogin": "5.1.0",
"packages/google-cloud-phishingprotection": "4.0.1",
"packages/google-cloud-policysimulator": "0.1.0",
"packages/google-cloud-policytroubleshooter": "3.1.1",
"packages/google-cloud-policytroubleshooter-iam": "0.2.1",
"packages/google-cloud-privatecatalog": "3.0.1",
Expand Down Expand Up @@ -137,6 +142,7 @@
"packages/google-dataflow": "3.0.1",
"packages/google-devtools-artifactregistry": "3.0.1",
"packages/google-devtools-cloudbuild": "4.0.1",
"packages/google-devtools-cloudprofiler": "0.1.0",
"packages/google-devtools-containeranalysis": "5.1.1",
"packages/google-iam": "1.0.1",
"packages/google-iam-credentials": "3.0.1",
Expand All @@ -149,10 +155,5 @@
"packages/google-privacy-dlp": "5.0.1",
"packages/google-storagetransfer": "3.0.1",
"packages/grafeas": "5.0.1",
"packages/typeless-sample-bot": "2.0.0",
"packages/google-cloud-connectors": "0.1.0",
"packages/google-cloud-edgecontainer": "0.1.0",
"packages/google-cloud-networkservices": "0.1.0",
"packages/google-cloud-policysimulator": "0.1.0",
"packages/google-devtools-cloudprofiler": "0.1.0"
"packages/typeless-sample-bot": "2.0.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@
# 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

deep-copy-regex:
- source: /google/cloud/bigquery/migration/(.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/cloud/bigquery/migration/(.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-bigquery-migration/$1
2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-migration/.mocharc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Google LLC
// 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.
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-migration/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 Google LLC
// 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.
Expand Down
28 changes: 14 additions & 14 deletions packages/google-cloud-bigquery-migration/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "bigquerymigration",
"name_pretty": "BigQuery Migration API",
"product_documentation": "https://cloud.google.com/bigquery/docs/migration-intro",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/bigquery-migration/latest",
"issue_tracker": "https://github.com/googleapis/nodejs-bigquery-migration/issues",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/nodejs-bigquery-migration",
"distribution_name": "@google-cloud/bigquery-migration",
"api_id": "bigquerymigration.googleapis.com",
"default_version": "v2",
"requires_billing": true,
"library_type": "GAPIC_AUTO"
}
"name": "bigquerymigration",
"name_pretty": "BigQuery Migration API",
"product_documentation": "https://cloud.google.com/bigquery/docs/migration-intro",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/bigquery-migration/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"release_level": "stable",
"language": "nodejs",
"repo": "googleapis/google-cloud-node",
"distribution_name": "@google-cloud/bigquery-migration",
"api_id": "bigquerymigration.googleapis.com",
"default_version": "v2",
"requires_billing": true,
"library_type": "GAPIC_AUTO"
}
36 changes: 30 additions & 6 deletions packages/google-cloud-bigquery-migration/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"/>

# [BigQuery Migration API: Node.js Client](https://github.com/googleapis/nodejs-bigquery-migration)
# [BigQuery Migration API: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-migration)

[![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-migration.svg)](https://www.npmjs.org/package/@google-cloud/bigquery-migration)
Expand All @@ -14,11 +14,11 @@ bigquery-migration client for Node.js


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

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

Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
Expand All @@ -32,7 +32,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
* [Before you begin](#before-you-begin)
* [Installing the client library](#installing-the-client-library)


* [Samples](#samples)
* [Versioning](#versioning)
* [Contributing](#contributing)
* [License](#license)
Expand All @@ -56,6 +56,30 @@ npm install @google-cloud/bigquery-migration



## Samples

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

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Migration_service.create_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.create_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.create_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.delete_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.delete_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.delete_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.get_migration_subtask | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.get_migration_subtask.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.get_migration_subtask.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.get_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.get_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.get_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.list_migration_subtasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.list_migration_subtasks.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.list_migration_subtasks.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.list_migration_workflows | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.list_migration_workflows.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.list_migration_workflows.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.start_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.start_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2/migration_service.start_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.create_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.create_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.create_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.delete_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.delete_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.delete_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.get_migration_subtask | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.get_migration_subtask.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.get_migration_subtask.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.get_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.get_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.get_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.list_migration_subtasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.list_migration_subtasks.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.list_migration_subtasks.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.list_migration_workflows | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.list_migration_workflows.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.list_migration_workflows.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Migration_service.start_migration_workflow | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.start_migration_workflow.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/migration_service.start_migration_workflow.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Sql_translation_service.translate_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/samples/generated/v2alpha/sql_translation_service.translate_query.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=packages/google-cloud-bigquery-migration/samples/generated/v2alpha/sql_translation_service.translate_query.js,packages/google-cloud-bigquery-migration/samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-bigquery-migration/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=packages/google-cloud-bigquery-migration/samples/quickstart.js,packages/google-cloud-bigquery-migration/samples/README.md) |



The [BigQuery Migration API Node.js Client API Reference][client-docs] documentation
also contains samples.
Expand Down Expand Up @@ -103,7 +127,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]

## Contributing

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-bigquery-migration/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 @@ -115,7 +139,7 @@ to its templates in

Apache Version 2.0

See [LICENSE](https://github.com/googleapis/nodejs-bigquery-migration/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-migration/latest
[product-docs]: https://cloud.google.com/bigquery/docs/migration-intro
Expand Down
13 changes: 9 additions & 4 deletions packages/google-cloud-bigquery-migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@google-cloud/bigquery-migration",
"version": "1.0.1",
"description": "bigquery-migration client for Node.js",
"repository": "googleapis/nodejs-bigquery-migration",
"repository": {
"type": "git",
"directory": "packages/google-cloud-bigquery-migration",
"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 @@ -33,9 +37,9 @@
"fix": "gts fix",
"lint": "gts check",
"prepare": "npm run compile-protos && npm run compile",
"system-test": "c8 mocha build/system-test",
"system-test": "npm run compile && c8 mocha build/system-test",
"test": "c8 mocha build/test",
"samples-test": "cd samples/ && npm link ../ && npm test",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"prelint": "cd samples; npm link ../; npm i"
},
"dependencies": {
Expand Down Expand Up @@ -63,5 +67,6 @@
},
"engines": {
"node": ">=14.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-migration"
}
Loading

0 comments on commit 3e11865

Please sign in to comment.