Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update release configuration #545

Merged
merged 3 commits into from
Mar 6, 2019
Merged

build: update release configuration #545

merged 3 commits into from
Mar 6, 2019

Conversation

yoshi-automation
Copy link
Contributor

This PR was generated using Autosynth. 🌈

Here's the log from Synthtool:

synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7
Status: Image is up to date for googleapis/artman:latest
synthtool > Cloning googleapis.
synthtool > Running generator for google/spanner/artman_spanner.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-v1.
synthtool > Running generator for google/spanner/admin/database/artman_spanner_admin_database.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-admin-database-v1.
synthtool > Running generator for google/spanner/admin/instance/artman_spanner_admin_instance.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/spanner-admin-instance-v1.
.eslintignore
.eslintrc.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/docs.cfg
.kokoro/continuous/node8/lint.cfg
.kokoro/continuous/node8/samples-test.cfg
.kokoro/continuous/node8/system-test-grpcjs.cfg
.kokoro/continuous/node8/system-test.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/docs.cfg
.kokoro/presubmit/node8/lint.cfg
.kokoro/presubmit/node8/samples-test.cfg
.kokoro/presubmit/node8/system-test-grpcjs.cfg
.kokoro/presubmit/node8/system-test.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/publish.sh
.kokoro/release/publish.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
codecov.yaml
renovate.json
synthtool > Replaced "(const SpannerClient = require\\('\\./spanner_client'\\);)" in src/v1/index.js.
synthtool > Replaced '(module\\.exports\\.SpannerClient = SpannerClient;)' in src/v1/index.js.
synthtool > Replaced '../../package.json' in src/v1/database_admin_client.js.
synthtool > Replaced '../../package.json' in src/v1/instance_admin_client.js.
synthtool > Replaced '../../package.json' in src/v1/spanner_client.js.
synthtool > Replaced 'https:\\/\\/cloud\\.google\\.com[\\s\\*]*http:\\/\\/(.*)[\\s\\*]*\\)' in src/v1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced 'toISOString\\]' in src/v1/doc/google/protobuf/doc_timestamp.js.
synthtool > Replaced '`\\[a-z\\]\\(https:\\/\\/cloud\\.google\\.com\\[-a-z0-9\\]\\*\\[a-z0-9\\]\\)\\?`' in src/v1/doc/google/spanner/admin/instance/v1/doc_spanner_instance_admin.js.
synthtool > Replaced '`\\[a-z\\]\\(https:\\/\\/cloud\\.google\\.com\\[-a-z0-9\\]\\*\\[a-z0-9\\]\\)\\?`' in src/v1/doc/google/spanner/v1/doc_spanner.js.
synthtool > Replaced '`\\(\\[a-z\\]\\(https:\\/\\/cloud\\.google\\.com\\[-a-z0-9\\]\\*\\[a-z0-9\\]\\)\\?\\)\\?`' in src/v1/doc/google/spanner/admin/instance/v1/doc_spanner_instance_admin.js.
synthtool > Replaced '`\\(\\[a-z\\]\\(https:\\/\\/cloud\\.google\\.com\\[-a-z0-9\\]\\*\\[a-z0-9\\]\\)\\?\\)\\?`' in src/v1/doc/google/spanner/v1/doc_spanner.js.
npm WARN deprecated @types/p-limit@2.2.0: This is a stub types definition. p-limit provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/p-queue@3.2.1: This is a stub types definition. p-queue provides its own type definitions, so you do not need this installed.

> grpc@1.19.0 install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using needle for node-pre-gyp https download 
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall


> @google-cloud/spanner@3.0.0 prepare /tmpfs/src/git/autosynth/working_repo
> npm run compile


> @google-cloud/spanner@3.0.0 compile /tmpfs/src/git/autosynth/working_repo
> tsc -p . && cp -r src/v1 build/src && cp -r protos build && cp test/*.js build/test

src/session-pool.ts:211:14 - error TS2709: Cannot use namespace 'PQueue' as a type.

211   _acquires: PQueue;
                 ~~~~~~

src/session-pool.ts:216:14 - error TS2709: Cannot use namespace 'PQueue' as a type.

216   _requests: PQueue;
                 ~~~~~~

src/session-pool.ts:324:22 - error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.

324     this._requests = new PQueue({
                         ~~~~~~~~~~~~
325       concurrency: this.options.concurrency!,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
326     });
    ~~~~~~

src/session-pool.ts:328:22 - error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.

328     this._acquires = new PQueue({
                         ~~~~~~~~~~~~
329       concurrency: 1,
    ~~~~~~~~~~~~~~~~~~~~~
330     });
    ~~~~~~

system-test/spanner.ts:4194:17 - error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'typeof import("/tmpfs/src/git/autosynth/working_repo/node_modules/p-limit/index")' has no compatible call signatures.

4194   const limit = pLimit(5);
                     ~~~~~~~~~

test/session-pool.ts:34:10 - error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.

34   return new (pQueueOverride || PQueue)(options);
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

test/session-pool.ts:275:24 - error TS2352: Conversion of type 'typeof (Anonymous class)' to type 'typeof import("/tmpfs/src/git/autosynth/working_repo/node_modules/p-queue/index")' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Property 'PQueue' is missing in type 'typeof (Anonymous class)' but required in type 'typeof import("/tmpfs/src/git/autosynth/working_repo/node_modules/p-queue/index")'.

275       pQueueOverride = (class {
                           ~~~~~~~~
276                          constructor(options) {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... 
278                          }
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
279                        }) as typeof PQueue;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/p-queue/index.d.ts:78:22
    78 export default class PQueue<
                            ~~~~~~
    'PQueue' is declared here.

test/session-pool.ts:288:24 - error TS2352: Conversion of type 'typeof (Anonymous class)' to type 'typeof import("/tmpfs/src/git/autosynth/working_repo/node_modules/p-queue/index")' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Property 'PQueue' is missing in type 'typeof (Anonymous class)' but required in type 'typeof import("/tmpfs/src/git/autosynth/working_repo/node_modules/p-queue/index")'.

288       pQueueOverride = (class {
                           ~~~~~~~~
289                          constructor(options) {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... 
291                          }
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
292                        }) as typeof PQueue;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  node_modules/p-queue/index.d.ts:78:22
    78 export default class PQueue<
                            ~~~~~~
    'PQueue' is declared here.


Found 16 errors.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@3.0.0 compile: `tsc -p . && cp -r src/v1 build/src && cp -r protos build && cp test/*.js build/test`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@3.0.0 compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-03-05T12_24_56_745Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@3.0.0 prepare: `npm run compile`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@3.0.0 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-03-05T12_24_56_802Z-debug.log

> @google-cloud/spanner@3.0.0 fix /tmpfs/src/git/autosynth/working_repo
> eslint --fix '**/*.js'


/tmpfs/src/git/autosynth/working_repo/benchmark/ycsb.js
  25:27  error  "../" is not found  node/no-missing-require

/tmpfs/src/git/autosynth/working_repo/scripts/cleanup.js
  17:27  error  "../" is not found  node/no-missing-require

✖ 2 problems (2 errors, 0 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @google-cloud/spanner@3.0.0 fix: `eslint --fix '**/*.js'`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @google-cloud/spanner@3.0.0 fix script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/kbuilder/.npm/_logs/2019-03-05T12_25_00_937Z-debug.log
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Mar 5, 2019
@callmehiphop callmehiphop changed the title [CHANGE ME] Re-generated to pick up changes in the API or client library generator. build: update release configuration Mar 6, 2019
@callmehiphop callmehiphop merged commit 36e316e into master Mar 6, 2019
@stephenplusplus stephenplusplus deleted the autosynth branch March 6, 2019 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants