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 1a99aed commit 1263f18
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"packages/gapic-node-templating": "0.0.0",
"packages/google-api-apikeys": "0.1.3",
"packages/google-appengine": "2.1.2",
"packages/google-cloud-batch": "0.3.2",
"packages/google-cloud-beyondcorp-appconnections": "0.2.3",
"packages/google-cloud-beyondcorp-appconnectors": "0.3.3",
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/appengine/(v.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/appengine/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-appengine/$1

begin-after-commit-hash: 40278112d2922ec917140dcb5cc6d5ef2923aeb2

4 changes: 2 additions & 2 deletions packages/google-appengine/.repo-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"language": "nodejs",
"api_id": "appengine.googleapis.com",
"distribution_name": "@google-cloud/appengine-admin",
"repo": "googleapis/nodejs-appengine-admin",
"issue_tracker": "https://github.com/googleapis/nodejs-appengine-admin/issues",
"repo": "googleapis/google-cloud-node",
"issue_tracker": "https://github.com/googleapis/google-cloud-node/issues",
"name_pretty": "App Engine Admin API",
"default_version": "v1",
"api_shortname": "appengine",
Expand Down
4 changes: 2 additions & 2 deletions packages/google-appengine/owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
# 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(staging_excludes=["package.json"])
node.owlbot_main(relative_dir="packages/google-appengine",staging_excludes=["package.json"])
13 changes: 9 additions & 4 deletions packages/google-appengine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"name": "@google-cloud/appengine-admin",
"version": "2.1.2",
"description": "Appengine client for Node.js",
"repository": "googleapis/nodejs-appengine-admin",
"repository": {
"type": "git",
"directory": "packages/google-appengine",
"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 @@ -40,9 +44,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 All @@ -69,5 +73,6 @@
},
"engines": {
"node": ">=12.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-appengine"
}
3 changes: 2 additions & 1 deletion release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"initial-version": "0.1.0",
"packages": {
"packages/google-api-apikeys": {},
"packages/google-appengine": {},
"packages/google-cloud-batch": {},
"packages/google-cloud-beyondcorp-appconnections": {},
"packages/google-cloud-beyondcorp-appconnectors": {},
Expand Down Expand Up @@ -49,4 +50,4 @@
}
],
"release-type": "node"
}
}

0 comments on commit 1263f18

Please sign in to comment.