Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
release 1.0.0 for GA (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored Dec 19, 2017
1 parent c03dc87 commit 550277e
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 10 deletions.
27 changes: 25 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ jobs:
node4:
docker:
- image: node:4
user: node
steps:
- checkout
- run:
Expand All @@ -106,44 +107,57 @@ 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: |
cd samples/
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:
Expand All @@ -156,6 +170,7 @@ jobs:
sample_tests:
docker:
- image: node:8
user: node
steps:
- checkout
- run:
Expand All @@ -167,30 +182,37 @@ 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: |
cd samples/
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:
Expand All @@ -215,6 +237,7 @@ jobs:
publish_npm:
docker:
- image: node:8
user: node
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .cloud-repo-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ Puneith Kaul <[email protected]>
Song Wang <[email protected]>
Stephen Sawchuk <[email protected]>
Tim Swast <[email protected]>
greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>
wanacode <[email protected]>
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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&#x3D;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&#x3D;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)
Expand Down Expand Up @@ -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]

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -46,6 +46,7 @@
"Song Wang <[email protected]>",
"Stephen Sawchuk <[email protected]>",
"Tim Swast <[email protected]>",
"greenkeeper[bot] <greenkeeper[bot]@users.noreply.github.com>",
"wanacode <[email protected]>"
],
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 550277e

Please sign in to comment.