diff --git a/packages/google-cloud-speech/.circleci/config.yml b/packages/google-cloud-speech/.circleci/config.yml index e2d6fbb1001..b9b03ac90aa 100644 --- a/packages/google-cloud-speech/.circleci/config.yml +++ b/packages/google-cloud-speech/.circleci/config.yml @@ -91,6 +91,7 @@ jobs: node4: docker: - image: node:4 + user: node steps: - checkout - run: @@ -106,30 +107,38 @@ jobs: node6: docker: - image: node:6 + user: node <<: *unit_tests node7: docker: - image: node:7 + user: node <<: *unit_tests node8: docker: - image: node:8 + user: node <<: *unit_tests node9: docker: - image: node:9 + user: node <<: *unit_tests lint: docker: - image: node:8 + user: node steps: - checkout - run: name: Install modules and dependencies. command: | + mkdir -p /home/node/.npm-global npm install npm link + environment: + NPM_CONFIG_PREFIX: /home/node/.npm-global - run: name: Link the module being tested to the samples. command: | @@ -137,13 +146,18 @@ jobs: npm link @google-cloud/speech npm install cd .. + environment: + NPM_CONFIG_PREFIX: /home/node/.npm-global - run: name: Run linting. command: npm run lint + environment: + NPM_CONFIG_PREFIX: /home/node/.npm-global docs: docker: - image: node:8 + user: node steps: - checkout - run: @@ -156,6 +170,7 @@ jobs: sample_tests: docker: - image: node:8 + user: node steps: - checkout - run: @@ -167,8 +182,11 @@ jobs: - run: name: Install and link the module. command: | + mkdir -p /home/node/.npm-global npm install npm link + environment: + NPM_CONFIG_PREFIX: /home/node/.npm-global - run: name: Link the module being tested to the samples. command: | @@ -176,21 +194,25 @@ jobs: npm link @google-cloud/speech npm install cd .. + environment: + NPM_CONFIG_PREFIX: /home/node/.npm-global - run: name: Run sample tests. command: npm run samples-test environment: GCLOUD_PROJECT: long-door-651 - GOOGLE_APPLICATION_CREDENTIALS: /var/speech/.circleci/key.json + GOOGLE_APPLICATION_CREDENTIALS: /home/node/speech-samples/.circleci/key.json + NPM_CONFIG_PREFIX: /home/node/.npm-global - run: name: Remove unencrypted key. command: rm .circleci/key.json when: always - working_directory: /var/speech/ + working_directory: /home/node/speech-samples/ system_tests: docker: - image: node:8 + user: node steps: - checkout - run: @@ -215,6 +237,7 @@ jobs: publish_npm: docker: - image: node:8 + user: node steps: - checkout - run: diff --git a/packages/google-cloud-speech/.cloud-repo-tools.json b/packages/google-cloud-speech/.cloud-repo-tools.json index bea559a8112..cbb3042d506 100644 --- a/packages/google-cloud-speech/.cloud-repo-tools.json +++ b/packages/google-cloud-speech/.cloud-repo-tools.json @@ -3,7 +3,7 @@ "requiresProjectId": true, "product": "speech", "client_reference_url": "https://cloud.google.com/nodejs/docs/reference/speech/latest/", - "release_quality": "beta", + "release_quality": "ga", "samples": [ { "id": "recognize", diff --git a/packages/google-cloud-speech/CONTRIBUTORS b/packages/google-cloud-speech/CONTRIBUTORS index 2b95ef32bb3..457447a7c02 100644 --- a/packages/google-cloud-speech/CONTRIBUTORS +++ b/packages/google-cloud-speech/CONTRIBUTORS @@ -20,4 +20,5 @@ Puneith Kaul Song Wang Stephen Sawchuk Tim Swast +greenkeeper[bot] wanacode diff --git a/packages/google-cloud-speech/README.md b/packages/google-cloud-speech/README.md index c3a885643d1..85236594e6c 100644 --- a/packages/google-cloud-speech/README.md +++ b/packages/google-cloud-speech/README.md @@ -2,7 +2,7 @@ # [Google Cloud Speech API: Node.js Client](https://github.com/googleapis/nodejs-speech) -[![release level](https://img.shields.io/badge/release%20level-beta-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages) +[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) [![CircleCI](https://img.shields.io/circleci/project/github/googleapis/nodejs-speech.svg?style=flat)](https://circleci.com/gh/googleapis/nodejs-speech) [![AppVeyor](https://ci.appveyor.com/api/projects/status/github/googleapis/nodejs-speech?branch=master&svg=true)](https://ci.appveyor.com/project/googleapis/nodejs-speech) [![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-speech/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-speech) @@ -127,10 +127,11 @@ also contains samples. This library follows [Semantic Versioning](http://semver.org/). -This library is considered to be in **beta**. This means it is expected to be -mostly stable while we work toward a general availability release; however, -complete stability is not guaranteed. We will address issues and requests -against beta libraries with a high priority. +This library is considered to be **General Availability (GA)**. This means it +is stable; the code surface will not change in backwards-incompatible ways +unless absolutely necessary (e.g. because of critical security issues) or with +an extensive deprecation period. Issues and requests against **GA** libraries +are addressed with the highest priority. More Information: [Google Cloud Platform Launch Stages][launch_stages] diff --git a/packages/google-cloud-speech/package.json b/packages/google-cloud-speech/package.json index d5d092ab9f7..b11bad2a554 100644 --- a/packages/google-cloud-speech/package.json +++ b/packages/google-cloud-speech/package.json @@ -1,7 +1,7 @@ { "name": "@google-cloud/speech", "description": "Cloud Speech Client Library for Node.js", - "version": "0.11.0", + "version": "1.0.0", "license": "Apache-2.0", "author": "Google Inc.", "engines": { @@ -46,6 +46,7 @@ "Song Wang ", "Stephen Sawchuk ", "Tim Swast ", + "greenkeeper[bot] ", "wanacode " ], "scripts": { diff --git a/packages/google-cloud-speech/samples/package.json b/packages/google-cloud-speech/samples/package.json index 5ca71db47a4..72c85b0be02 100644 --- a/packages/google-cloud-speech/samples/package.json +++ b/packages/google-cloud-speech/samples/package.json @@ -12,7 +12,7 @@ "test": "repo-tools test run --cmd ava -- -T 20s --verbose system-test/*.test.js" }, "dependencies": { - "@google-cloud/speech": "0.11.0", + "@google-cloud/speech": "1.0.0", "@google-cloud/storage": "1.4.0", "node-record-lpcm16": "0.3.0", "yargs": "10.0.3"