Skip to content

Commit

Permalink
chore(nodejs_templates): add script logging to node_library populate-…
Browse files Browse the repository at this point in the history
…secrets.sh (#448)
  • Loading branch information
yoshi-automation authored Jun 19, 2020
1 parent 86ccab1 commit f07990f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion packages/google-cloud-compute/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
// There seems to be a regression such that overrides are not being
// supported by mocha:
"timeout": 1200000
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-compute/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-compute.git",
"sha": "a42c5e06d02b85a090b01e6c37ab1e665afe5ee4"
"sha": "c861b8c0754cecfa15cef22be3c030bb146ce987"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "1c92077459db3dc50741e878f98b08c6261181e0"
"sha": "e7034945fbdc0e79d3c57f6e299e5c90b0f11469"
}
}
]
Expand Down
4 changes: 3 additions & 1 deletion packages/google-cloud-compute/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

common_templates = gcp.CommonTemplates()
templates = common_templates.node_library()
s.copy(templates)
s.copy(templates, exclude=[
'.mocharc.js'
])
node.install()
node.fix()

0 comments on commit f07990f

Please sign in to comment.