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 30, 2022
1 parent fe3fea9 commit 6c4db03
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
5 changes: 3 additions & 2 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"packages/google-analytics-admin": "4.3.0",
"packages/google-analytics-data": "3.1.1",
"packages/google-api-apikeys": "0.1.3",
"packages/google-area120-tables": "2.1.2",
"packages/google-api-servicecontrol": "2.0.3",
"packages/google-api-servicemanagement": "1.1.3",
"packages/google-api-serviceusage": "2.1.2",
"packages/google-appengine": "2.1.2",
"packages/google-area120-tables": "2.1.2",
"packages/google-cloud-accessapproval": "2.1.2",
"packages/google-cloud-apigateway": "2.1.2",
"packages/google-cloud-apigeeconnect": "2.1.3",
Expand Down Expand Up @@ -36,6 +36,7 @@
"packages/google-cloud-compute": "3.6.0",
"packages/google-cloud-contactcenterinsights": "2.1.2",
"packages/google-cloud-contentwarehouse": "0.1.2",
"packages/google-cloud-datacatalog": "3.1.1",
"packages/google-cloud-datafusion": "2.1.2",
"packages/google-cloud-datalabeling": "3.1.1",
"packages/google-cloud-dataplex": "2.2.2",
Expand Down Expand Up @@ -94,8 +95,8 @@
"packages/google-cloud-securitycenter": "7.0.0",
"packages/google-cloud-servicedirectory": "4.0.4",
"packages/google-cloud-shell": "2.0.4",
"packages/google-cloud-tasks": "3.0.5",
"packages/google-cloud-talent": "5.0.1",
"packages/google-cloud-tasks": "3.0.5",
"packages/google-cloud-texttospeech": "4.0.4",
"packages/google-cloud-tpu": "2.2.0",
"packages/google-cloud-translate": "7.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
# 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/datacatalog/(v.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/cloud/datacatalog/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-datacatalog/$1

begin-after-commit-hash: eebcfa346c9963da765cd71722c40e04dc3621dd

2 changes: 1 addition & 1 deletion packages/google-cloud-datacatalog/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"distribution_name": "@google-cloud/datacatalog",
"language": "nodejs",
"api_id": "datacatalog.googleapis.com",
"repo": "googleapis/nodejs-datacatalog",
"repo": "googleapis/google-cloud-node",
"name_pretty": "Data Catalog",
"issue_tracker": "",
"requires_billing": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-datacatalog/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"""This script is used to synthesize generated parts of this library."""

import synthtool as s
import synthtool.languages.node as node
import synthtool.languages.node_mono_repo as node

node.owlbot_main(staging_excludes=[
node.owlbot_main(relative_dir="packages/google-cloud-datacatalog",staging_excludes=[
'README.md', 'linkinator.config.json', '.mocharc.json', 'package.json'])

# TODO: Remove the following replace once Datacatalog is ready to release a break change
Expand Down
13 changes: 9 additions & 4 deletions packages/google-cloud-datacatalog/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"repository": "googleapis/nodejs-datacatalog",
"repository": {
"type": "git",
"directory": "packages/google-cloud-datacatalog",
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"name": "@google-cloud/datacatalog",
"version": "3.1.1",
"author": "Google LLC",
Expand Down Expand Up @@ -50,8 +54,8 @@
"test": "c8 mocha build/test/*.js",
"predocs-test": "npm run docs",
"docs-test": "linkinator docs",
"samples-test": "cd samples/ && npm link ../ && npm test",
"system-test": "c8 mocha --timeout=5000 build/system-test/*.js",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"system-test": "npm run compile && c8 mocha build/system-test",
"compile": "tsc -p . && cp -r protos build/",
"compile-protos": "compileProtos src",
"prepare": "npm run compile-protos && npm run compile",
Expand All @@ -63,5 +67,6 @@
"license": "Apache-2.0",
"engines": {
"node": ">=12.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-datacatalog"
}
7 changes: 4 additions & 3 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"packages/google-analytics-admin": {},
"packages/google-analytics-data": {},
"packages/google-api-apikeys": {},
"packages/google-area120-tables": {},
"packages/google-api-servicecontrol": {},
"packages/google-api-servicemanagement": {},
"packages/google-api-serviceusage": {},
"packages/google-appengine": {},
"packages/google-area120-tables": {},
"packages/google-cloud-accessapproval": {},
"packages/google-cloud-apigateway": {},
"packages/google-cloud-apigeeconnect": {},
Expand Down Expand Up @@ -37,6 +37,7 @@
"packages/google-cloud-compute": {},
"packages/google-cloud-contactcenterinsights": {},
"packages/google-cloud-contentwarehouse": {},
"packages/google-cloud-datacatalog": {},
"packages/google-cloud-datafusion": {},
"packages/google-cloud-datalabeling": {},
"packages/google-cloud-dataplex": {},
Expand Down Expand Up @@ -95,8 +96,8 @@
"packages/google-cloud-securitycenter": {},
"packages/google-cloud-servicedirectory": {},
"packages/google-cloud-shell": {},
"packages/google-cloud-tasks": {},
"packages/google-cloud-talent": {},
"packages/google-cloud-tasks": {},
"packages/google-cloud-texttospeech": {},
"packages/google-cloud-tpu": {},
"packages/google-cloud-translate": {},
Expand Down Expand Up @@ -129,4 +130,4 @@
}
],
"release-type": "node"
}
}

0 comments on commit 6c4db03

Please sign in to comment.