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 15cff79 commit 8611e4b
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 @@ -18,6 +18,7 @@
"packages/google-cloud-dataproc": "4.1.1",
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-discoveryengine": "0.2.0",
"packages/google-cloud-functions": "2.2.3",
"packages/google-cloud-gkeconnect-gateway": "2.0.5",
"packages/google-cloud-gkemulticloud": "0.1.4",
"packages/google-cloud-language": "5.1.2",
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/functions/(v.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/cloud/functions/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-functions/$1

begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b

2 changes: 1 addition & 1 deletion packages/google-cloud-functions/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"product_documentation": "https://cloud.google.com/functions",
"api_id": "cloudfunctions.googleapis.com",
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/functions/latest",
"repo": "googleapis/nodejs-functions",
"repo": "googleapis/google-cloud-node",
"release_level": "stable",
"requires_billing": false,
"name_pretty": "Google Cloud Functions",
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-functions/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.
"""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
from pathlib import Path

node.owlbot_main(staging_excludes=['README.md', 'package.json'])
node.owlbot_main(relative_dir="packages/google-cloud-functions",staging_excludes=['README.md', 'package.json'])
13 changes: 9 additions & 4 deletions packages/google-cloud-functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@google-cloud/functions",
"version": "2.2.3",
"description": "Functions client for Node.js",
"repository": "googleapis/nodejs-functions",
"repository": {
"type": "git",
"directory": "packages/google-cloud-functions",
"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",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "c8 mocha build/system-test",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"system-test": "npm run compile && c8 mocha build/system-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-functions"
}
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"packages/google-cloud-dataproc": {},
"packages/google-cloud-deploy": {},
"packages/google-cloud-discoveryengine": {},
"packages/google-cloud-functions": {},
"packages/google-cloud-gkeconnect-gateway": {},
"packages/google-cloud-gkemulticloud": {},
"packages/google-cloud-language": {},
Expand Down Expand Up @@ -49,4 +50,4 @@
}
],
"release-type": "node"
}
}

0 comments on commit 8611e4b

Please sign in to comment.