Commit graph

192 commits

Author SHA1 Message Date
Seth Vargo
0e353d718c
Merge pull request #87 from GoogleCloudPlatform/sethvargo/doc_v2
Document actions/checkout@v2 requirement
2020-03-31 15:29:06 -04:00
Seth Vargo
79b8076cbc
Update Cloud Run example workflow 2020-03-31 14:28:53 -04:00
Seth Vargo
f4b29e961b
Merge pull request #83 from tnguyen14/service-account-instructions
Add instructions to set up service account and repo secrets
2020-03-31 10:54:19 -04:00
Seth Vargo
3758dad2b2
Document actions/checkout@v2 requirement
The workspace isn't share in v1. Refs: GH-80.
2020-03-31 10:49:14 -04:00
Tri Nguyen
cc7ed7e13e Add instructions to set up service account and repo secrets 2020-03-28 13:05:45 -04:00
Seth Vargo
c6a3086a37
Re-order docs 2020-03-23 12:03:05 -04:00
Seth Vargo
03ca7a8e86
Merge pull request #79 from maxday/maxday/document-project_id-input-option
Document the project_id input option
2020-03-23 12:01:14 -04:00
Maxime DAVID
5b8068cc26 Document the project_id input option 2020-03-21 15:44:14 -04:00
Seth Vargo
7cfc6d0fef
Merge pull request #78 from GoogleCloudPlatform/sethvargo/less_ci
Only run CI checks that correspond to changed files
2020-03-19 14:43:42 -04:00
Seth Vargo
97aa40a71a
Merge pull request #77 from GoogleCloudPlatform/sethvargo/issue_template
Add GitHub issue template
2020-03-19 13:31:38 -04:00
Seth Vargo
5a30cdd5d3
Add GitHub issue templates 2020-03-18 10:24:45 -04:00
Seth Vargo
34d211c669
Only run CI checks that correspond to changed files
This reduces the number of tests we need to run by mapping the tests to
the files changed.
2020-03-17 12:02:12 -04:00
Seth Vargo
f76712a787
Merge pull request #74 from GoogleCloudPlatform/dependabot/npm_and_yarn/get-secretmanager-secrets/acorn-7.1.1
Bump acorn from 7.1.0 to 7.1.1 in /get-secretmanager-secrets
2020-03-16 11:14:48 -04:00
Seth Vargo
f9d506d95e
Merge pull request #71 from gjgd/issue-62-missing-permission
Add missing permission for cloud run build
2020-03-16 11:14:27 -04:00
dependabot[bot]
85ea0a0b22
Bump acorn from 7.1.0 to 7.1.1 in /get-secretmanager-secrets
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-16 15:14:27 +00:00
Seth Vargo
324197eab1
Merge pull request #72 from GoogleCloudPlatform/dependabot/npm_and_yarn/setup-gcloud/acorn-7.1.1
Bump acorn from 7.1.0 to 7.1.1 in /setup-gcloud
2020-03-16 11:13:54 -04:00
dependabot[bot]
105ece7907
Bump acorn from 7.1.0 to 7.1.1 in /setup-gcloud
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-14 11:31:22 +00:00
gjgd
9da1c02268
Add missing permission for cloud run build 2020-03-14 20:13:00 +09:00
Seth Vargo
7cfcdc71e1
Merge pull request #69 from GoogleCloudPlatform/sethvargo/update-readme
Update README to include Secret Manager action
2020-03-12 16:12:22 -04:00
Seth Vargo
e78c4f30b8
Update README to include Secret Manager action 2020-03-12 15:28:04 -04:00
Seth Vargo
d445816484
Merge pull request #68 from sethvargo/sethvargo/project
Allow setting a default project ID
2020-03-12 15:02:19 -04:00
Seth Vargo
255cbcc9f9
Bump test timeouts 2020-03-12 14:56:55 -04:00
Seth Vargo
94600200ac
Allow setting project ID 2020-03-10 18:41:10 -04:00
Seth Vargo
e51b9908a9
Remove extra files 2020-03-10 18:41:10 -04:00
Seth Vargo
48d639dba7
Merge pull request #67 from GoogleCloudPlatform/sethvargo/yaml
Unify action.yaml format
2020-03-10 18:40:38 -04:00
Seth Vargo
c77ebf14e2
Unify action.yaml format
There was some disparity around the author field and also some discrepancies between the root action.yaml and the setup-gcloud action.yaml. This also improve the description of some of the attributes.
2020-03-10 14:23:00 -04:00
Seth Vargo
fa4ed8f125
Merge pull request #66 from enochcheung/patch-1
Document export_default_credentials file creation
2020-03-10 11:21:44 -04:00
Enoch Cheung
fde0ae7a5c
Document export_default_credentials file creation
Document the fact that turning on export_default_credentials will cause a file to be generated

Addresses https://github.com/GoogleCloudPlatform/github-actions/issues/65
2020-03-06 13:42:07 -08:00
Craig Barber
61938f8714
Merge pull request #64 from craigdbarber/release/0.1.2
Created release v0.1.2
2020-03-02 11:23:39 -06:00
Craig Barber
aae4bc702e Update CHANGELOG.md
Co-Authored-By: Averi Kitsch <akitsch@google.com>
2020-03-02 10:55:30 -06:00
craigdbarber
9f1b34c9aa Created release v0.1.2 2020-02-28 17:39:26 -06:00
Seth Vargo
5f5ef3df93
Merge pull request #60 from sethvargo/sethvargo/match
Update linter and formatter to match
2020-02-28 14:13:31 -05:00
Seth Vargo
be588b928b
Skip tests that don't work on Windows 2020-02-22 14:21:09 -05:00
Seth Vargo
5d5ae0fdbd
Use consistent function for tests 2020-02-22 14:15:50 -05:00
Seth Vargo
3642fb95fd
Fix linter errors 2020-02-22 14:11:52 -05:00
Seth Vargo
a371ccf2f2
Fix path to integration tests 2020-02-22 14:11:13 -05:00
Seth Vargo
8f6cf501f9
Recompile 2020-02-22 14:08:04 -05:00
Seth Vargo
57c99c187a
Migrate jest -> mocah 2020-02-22 14:07:40 -05:00
Seth Vargo
278fad831f
Cache tool test path
There was a bug in the current tests where, depending on execution order, the tool path would differ. That's because actions/toolcache reads the RUNNER_TOOL_CACHE and RUNNER_TEMP environment variables only once on initial import/require. So, depending on which test ran first, future tests might fail.

This commit introduces a different way to create cache directories, caching the cached directory across tests (irony recognized).

Alternative approaches included re-requiring the actions/toolcache package, but that added 3min to the total build.
2020-02-22 14:06:12 -05:00
Seth Vargo
c0bc2add9b
Drop base64 package
14kb drop in compiled package
2020-02-22 14:03:45 -05:00
Seth Vargo
96eae0aa25
Unify package dependencies 2020-02-22 14:03:18 -05:00
Seth Vargo
eed4b0ccc8
Update linter and formatter to match 2020-02-21 15:36:49 -05:00
Craig Barber
2a9cbc6181
Merge pull request #53 from sethvargo/sethvargo/secretmanager
Add Secret Manager action
2020-02-21 12:34:15 -08:00
Seth Vargo
9a56528eec
Add husky configuration 2020-02-21 09:30:03 -05:00
Seth Vargo
88d609b72f
Don't repeat function names in doc 2020-02-21 09:29:50 -05:00
Seth Vargo
c887e57662
Document that ADC sets an envvar 2020-02-21 08:34:23 -05:00
Seth Vargo
b060325aeb
Export ADC from setup-gcloud 2020-02-19 22:55:42 -05:00
Seth Vargo
f369d4cb0b
Use dedicated GitHub secrets for tests 2020-02-19 21:49:09 -05:00
Seth Vargo
75b1101ee0
Use better envvar 2020-02-19 21:49:09 -05:00
Seth Vargo
6fc1578aaf
Add a test for failed credentials 2020-02-19 21:49:09 -05:00