Skip to content

Commit 43c2971

Browse files
docs: add instructions for authenticating for system tests (#244)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/e893c041-f585-44a0-8a3b-f1f3eee08f43/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@363fe30
1 parent eb82296 commit 43c2971

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

core/promisify/CONTRIBUTING.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ accept your pull requests.
3737
1. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
3838
1. Submit a pull request.
3939

40+
### Before you begin
41+
42+
1. [Select or create a Cloud Platform project][projects].
43+
1. [Set up authentication with a service account][auth] so you can access the
44+
API from your local workstation.
45+
46+
4047
## Running the tests
4148

4249
1. [Prepare your environment for Node.js setup][setup].
@@ -51,15 +58,17 @@ accept your pull requests.
5158
npm test
5259

5360
# Run sample integration tests.
54-
gcloud auth application-default login
5561
npm run samples-test
5662

5763
# Run all system tests.
58-
gcloud auth application-default login
5964
npm run system-test
6065

6166
1. Lint (and maybe fix) any changes:
6267

6368
npm run fix
6469

6570
[setup]: https://cloud.google.com/nodejs/docs/setup
71+
[projects]: https://console.cloud.google.com/project
72+
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
73+
74+
[auth]: https://cloud.google.com/docs/authentication/getting-started

core/promisify/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ installed as a dependency when you install other `@google-cloud` packages.
8080

8181
## Samples
8282

83-
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-promisify/tree/master/samples) directory. The samples' `README.md`
84-
has instructions for running the samples.
83+
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-promisify/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
8584

8685
| Sample | Source Code | Try it |
8786
| --------------------------- | --------------------------------- | ------ |

core/promisify/synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-promisify.git",
7-
"sha": "19a750953acdb2b264cc03886cd0eb97447577b5"
7+
"sha": "ee6524fe9030259540c241c9bcad452a42e1ac3c"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "15013eff642a7e7e855aed5a29e6e83c39beba2a"
14+
"sha": "363fe305e9ce34a6cd53951c6ee5f997094b54ee"
1515
}
1616
}
1717
]

0 commit comments

Comments
 (0)