File tree 3 files changed +17
-6
lines changed
packages/google-cloud-compute
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -149,21 +149,24 @@ jobs:
149
149
name : Decrypt credentials.
150
150
command : |
151
151
if ! [[ -z "${SYSTEM_TESTS_ENCRYPTION_KEY}" ]]; then
152
- openssl aes-256-cbc -d -in .circleci/key.json.enc \
153
- -out .circleci/key.json \
154
- -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
152
+ for encrypted_key in .circleci/*.json.enc; do
153
+ openssl aes-256-cbc -d -in $encrypted_key \
154
+ -out $(echo $encrypted_key | sed 's/\.enc//') \
155
+ -k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
156
+ done
155
157
fi
156
158
- run : *npm_install_and_link
157
159
- run :
158
160
name : Run system tests.
159
161
command : npm run system-test
160
162
environment :
163
+ GCLOUD_PROJECT : long-door-651
161
164
GOOGLE_APPLICATION_CREDENTIALS : .circleci/key.json
162
165
- run :
163
166
name : Remove unencrypted key.
164
167
command : |
165
168
if ! [[ -z "${SYSTEM_TESTS_ENCRYPTION_KEY}" ]]; then
166
- rm .circleci/key .json
169
+ rm .circleci/* .json
167
170
fi
168
171
when : always
169
172
publish_npm :
Original file line number Diff line number Diff line change 1
1
/*!
2
- * Copyright 2017 Google Inc . All Rights Reserved.
2
+ * Copyright 2018 Google LLC . All Rights Reserved.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ module.exports = {
36
36
includePattern : '\\.js$'
37
37
} ,
38
38
templates : {
39
- copyright : 'Copyright 2017 Google, Inc .' ,
39
+ copyright : 'Copyright 2018 Google, LLC .' ,
40
40
includeDate : false ,
41
41
sourceFiles : false ,
42
42
systemName : '@google-cloud/compute' ,
Original file line number Diff line number Diff line change
1
+ import synthtool as s
2
+ import synthtool .gcp as gcp
3
+ import logging
4
+
5
+ logging .basicConfig (level = logging .DEBUG )
6
+ common_templates = gcp .CommonTemplates ()
7
+ templates = common_templates .node_library ()
8
+ s .copy (templates )
You can’t perform that action at this time.
0 commit comments