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 11, 2022
1 parent ed31a67 commit c5ffbc5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"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-certificatemanager": "0.6.2",
"packages/google-cloud-contentwarehouse": "0.1.2",
"packages/google-cloud-dataplex": "2.2.2",
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-preserve-regex:
- /owl-bot-staging/v1alpha2
Expand All @@ -23,8 +21,8 @@ deep-remove-regex:
- /owl-bot-staging

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

begin-after-commit-hash: e0ea8b51f30e2ff6104abd1e4c8d1eb67078c86a

2 changes: 1 addition & 1 deletion packages/google-cloud-bigquery-storage/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"distribution_name": "@google-cloud/bigquery-storage",
"release_level": "stable",
"product_documentation": "https://cloud.google.com/bigquery/docs/reference/storage",
"repo": "googleapis/nodejs-bigquery-storage",
"repo": "googleapis/google-cloud-node",
"default_version": "v1",
"language": "nodejs",
"requires_billing": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-bigquery-storage/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""This script is used to synthesize generated parts of this library."""
import synthtool.languages.node as node
import synthtool.languages.node_mono_repo as node

node.owlbot_main(
node.owlbot_main(relative_dir="packages/google-cloud-bigquery-storage",
staging_excludes=['package.json', 'README.md', 'src/index.ts'],
templates_excludes=['src/index.ts']
)
13 changes: 9 additions & 4 deletions packages/google-cloud-bigquery-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@google-cloud/bigquery-storage",
"version": "3.2.0",
"description": "Client for the BigQuery Storage API",
"repository": "googleapis/nodejs-bigquery-storage",
"repository": {
"type": "git",
"directory": "packages/google-cloud-bigquery-storage",
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"license": "Apache-2.0",
"author": "Google LLC",
"files": [
Expand All @@ -21,9 +25,9 @@
"prelint": "cd samples; npm link ../; npm install",
"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 && cd ../",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"precompile": "gts clean"
},
"dependencies": {
Expand All @@ -50,5 +54,6 @@
},
"engines": {
"node": ">=12.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-bigquery-storage"
}
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"packages/google-cloud-bigquery-datapolicies": {},
"packages/google-cloud-bigquery-datatransfer": {},
"packages/google-cloud-bigquery-reservation": {},
"packages/google-cloud-bigquery-storage": {},
"packages/google-cloud-certificatemanager": {},
"packages/google-cloud-contentwarehouse": {},
"packages/google-cloud-dataplex": {},
Expand Down Expand Up @@ -49,4 +50,4 @@
}
],
"release-type": "node"
}
}

0 comments on commit c5ffbc5

Please sign in to comment.