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 18, 2022
1 parent e5a27c9 commit 12a3c82
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
"packages/google-cloud-secretmanager": "4.1.4",
"packages/google-cloud-security-privateca": "4.1.2",
"packages/google-cloud-security-publicca": "0.1.3",
"packages/google-cloud-securitycenter": "7.0.0",
"packages/google-cloud-servicedirectory": "4.0.4",
"packages/google-cloud-shell": "2.0.4",
"packages/google-cloud-talent": "5.0.1",
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/securitycenter/(v.*)/.*-nodejs/(.*)
dest: /owl-bot-staging/$1/$2
- source: /google/cloud/securitycenter/(v.*)/.*-nodejs
dest: /owl-bot-staging/google-cloud-securitycenter/$1

begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b

2 changes: 1 addition & 1 deletion packages/google-cloud-securitycenter/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"language": "nodejs",
"api_id": "securitycenter.googleapis.com",
"repo": "googleapis/nodejs-security-center",
"repo": "googleapis/google-cloud-node",
"release_level": "stable",
"distribution_name": "@google-cloud/security-center",
"default_version": "v1",
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-securitycenter/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.

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-securitycenter",
staging_excludes=['package.json', 'README.md'],
templates_excludes=['.kokoro/samples-test.sh', '.kokoro/samples-test.sh']
)
13 changes: 9 additions & 4 deletions packages/google-cloud-securitycenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"engines": {
"node": ">=12.0.0"
},
"repository": "googleapis/nodejs-security-center",
"repository": {
"type": "git",
"directory": "packages/google-cloud-securitycenter",
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"files": [
"build/src",
"build/protos"
Expand All @@ -22,9 +26,9 @@
"lint": "gts check",
"predocs-test": "npm run docs",
"prepare": "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",
"prelint": "cd samples; npm link ../; npm install",
"precompile": "gts clean"
},
Expand Down Expand Up @@ -60,5 +64,6 @@
"sinon": "^14.0.0",
"ts-loader": "^8.0.0",
"typescript": "^4.6.4"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-securitycenter"
}
1 change: 1 addition & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"packages/google-cloud-secretmanager": {},
"packages/google-cloud-security-privateca": {},
"packages/google-cloud-security-publicca": {},
"packages/google-cloud-securitycenter": {},
"packages/google-cloud-servicedirectory": {},
"packages/google-cloud-shell": {},
"packages/google-cloud-talent": {},
Expand Down

0 comments on commit 12a3c82

Please sign in to comment.