Skip to content

Commit 702a8c5

Browse files
docs: add instructions for authenticating for system tests (#212)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/959b7829-922a-41dc-a5a7-1178c3a8f0e7/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: googleapis/synthtool@363fe30
1 parent 072b25e commit 702a8c5

File tree

2 files changed

+13
-55
lines changed

2 files changed

+13
-55
lines changed

CONTRIBUTING.md

+11-2
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

synth.metadata

+2-53
Original file line numberDiff line numberDiff line change
@@ -4,66 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/teeny-request.git",
7-
"sha": "84812cdc9445e5cc25e86f9ac9d4c0486a9f2a24"
7+
"sha": "072b25ec847e9a5aa597836ad35ab85450b757f7"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "ba9918cd22874245b55734f57470c719b577e591"
14+
"sha": "363fe305e9ce34a6cd53951c6ee5f997094b54ee"
1515
}
1616
}
17-
],
18-
"generatedFiles": [
19-
".eslintignore",
20-
".eslintrc.json",
21-
".gitattributes",
22-
".github/ISSUE_TEMPLATE/bug_report.md",
23-
".github/ISSUE_TEMPLATE/feature_request.md",
24-
".github/ISSUE_TEMPLATE/support_request.md",
25-
".github/PULL_REQUEST_TEMPLATE.md",
26-
".github/release-please.yml",
27-
".github/workflows/ci.yaml",
28-
".kokoro/.gitattributes",
29-
".kokoro/common.cfg",
30-
".kokoro/continuous/node10/common.cfg",
31-
".kokoro/continuous/node10/docs.cfg",
32-
".kokoro/continuous/node10/test.cfg",
33-
".kokoro/continuous/node12/common.cfg",
34-
".kokoro/continuous/node12/lint.cfg",
35-
".kokoro/continuous/node12/samples-test.cfg",
36-
".kokoro/continuous/node12/system-test.cfg",
37-
".kokoro/continuous/node12/test.cfg",
38-
".kokoro/docs.sh",
39-
".kokoro/lint.sh",
40-
".kokoro/populate-secrets.sh",
41-
".kokoro/presubmit/node10/common.cfg",
42-
".kokoro/presubmit/node12/common.cfg",
43-
".kokoro/presubmit/node12/samples-test.cfg",
44-
".kokoro/presubmit/node12/system-test.cfg",
45-
".kokoro/presubmit/node12/test.cfg",
46-
".kokoro/publish.sh",
47-
".kokoro/release/docs-devsite.cfg",
48-
".kokoro/release/docs-devsite.sh",
49-
".kokoro/release/docs.cfg",
50-
".kokoro/release/docs.sh",
51-
".kokoro/release/publish.cfg",
52-
".kokoro/samples-test.sh",
53-
".kokoro/system-test.sh",
54-
".kokoro/test.bat",
55-
".kokoro/test.sh",
56-
".kokoro/trampoline.sh",
57-
".kokoro/trampoline_v2.sh",
58-
".mocharc.js",
59-
".nycrc",
60-
".prettierignore",
61-
".prettierrc.js",
62-
".trampolinerc",
63-
"CODE_OF_CONDUCT.md",
64-
"CONTRIBUTING.md",
65-
"LICENSE",
66-
"api-extractor.json",
67-
"renovate.json"
6817
]
6918
}

0 commit comments

Comments
 (0)