Seth Vargo
87d5265a43
Update README and CI to use latest version ( #665 )
2023-12-13 10:30:18 -05:00
Seth Vargo
7c7fdb013a
Add CI for release branches ( #661 )
2023-12-04 08:48:54 -05:00
Seth Vargo
63496e6521
Upgrade setup-cloud-sdk package ( #656 )
2023-11-08 06:21:19 -08:00
Seth Vargo
602747fdf0
Update deps to Node 20 ( #653 )
2023-11-07 07:00:56 -08:00
Seth Vargo
4e6442470f
Switch to pull non-secret values from env ( #624 )
2023-03-24 16:46:01 -04:00
Seth Vargo
10b5bd2b6d
Add support for specifying version constraints ( #612 )
...
This adds support for specifying a version _constraint_ for the version
of gcloud. Since the GitHub Actions runners pre-install a version of
gcloud, this can dramatically reduce CI times.
2023-02-02 19:21:19 -05:00
Seth Vargo
3639833216
Update CI and deps ( #603 )
...
Test
2022-12-10 09:46:16 -05:00
Seth Vargo
65a3df0bf4
Reduce duplicate in integration tests ( #591 )
...
⚠️ 🚧
As part of the 1.0 release, we removed service_account support from
setup-gcloud, but many of the integration tests were actually duplicates
now, since they used to test service_account. This updates the
integration tests to run all the tests in a single job (reducing the
number of times we install NPM packages and download gcloud).
2022-11-10 16:43:12 -05:00
Seth Vargo
1e0945d60c
Force authentication if GOOGLE_GHA_CREDS_PATH is set ( #587 )
...
* Force authentication if GOOGLE_GHA_CREDS_PATH is set
* Upgrade to latest setup-cloud-sdk package
2022-11-09 21:50:04 -05:00
Mike Verbanic
6c0e954483
fix: docker integration test ( #583 )
2022-11-08 19:37:00 -05:00
Mike Verbanic
35a510462d
fix: cleanup integration tests ( #582 )
2022-11-08 17:55:35 -05:00
Mike Verbanic
ec49dc1630
feat: update for 1.0 release ( #580 )
2022-11-08 15:56:43 -05:00
Mike Verbanic
f48fffe2a2
$'fix release workflow files' ( #566 )
2022-06-16 16:14:48 -04:00
Mike Verbanic
47db3401f5
$'fix release workflow files' ( #563 )
2022-06-13 11:17:12 -04:00
Seth Vargo
db80c6a94e
docs: update references from master -> main ( #544 )
2022-04-05 11:04:56 -04:00
Seth Vargo
6194e1dc59
chore!: Require Node 16 ( #532 )
2022-03-08 15:18:18 -08:00
Bharath KKB
c66a06cb89
feat: switch to node16 ( #524 )
...
* feat: switch to node16
* use an updated gcloud version
2022-03-04 13:38:21 -05:00
Averi Kitsch
489ab62c6e
feat: add install_component field ( #399 )
...
* feat:add install_component field
* lint
* fix install
* debug
* update test
* comments
* Update readme
* lint
* lint
2022-01-05 13:42:03 -08:00
Seth Vargo
6a46c264e1
chore: set release action branch to "master" ( #455 )
2021-12-22 13:54:15 -06:00
Seth Vargo
d4f608db25
Revert "Rename workflows and branches to main ( #449 )" ( #452 )
...
This reverts commit 190711d66f .
2021-12-22 12:54:08 -06:00
Seth Vargo
190711d66f
Rename workflows and branches to main ( #449 )
2021-12-22 12:47:36 -06:00
Bharath KKB
1c6ce2587a
chore: update branch name for release workflow ( #447 )
2021-12-22 12:11:19 -06:00
Bharath KKB
aaf4f27520
fix: support export auth export with envvar for backwards compat ( #426 )
...
* add export auth json test
* support export from envvar
* refactor export logic
* missing quotes
* fix stubs, add more tests
* add quotes
* unused dep
* project id precedence
* fix err
* add warning for future removal
2021-12-22 11:10:44 -06:00
Seth Vargo
b96d26fcc3
Update release process and add floating tags ( #441 )
2021-12-20 11:55:39 -06:00
Bharath KKB
f0d0410093
fix: fix auth precedence ( #423 )
...
* bump deps
* add test
2021-12-06 14:16:27 -06:00
Bharath KKB
f38d54f0d7
feat: Support WIF creds ( #413 )
...
* update sdk pkg
* add auth
* docs
* address comments
2021-12-02 11:38:22 -06:00
Seth Vargo
de988cc45d
Revert back to using GITHUB_WORKSPACE for storing credentials ( #412 )
2021-12-01 11:30:44 -06:00
Seth Vargo
0b8ec28b66
Run run ci instead of npm install in release please ( #407 )
...
This should ensure the lockfile doesn't change
2021-11-30 16:06:48 -06:00
Averi Kitsch
990c038e2c
feat: update to use setup-cloud-sdk package ( #397 )
...
* feat: update to use setup-cloud-sdk package
* Update deps
* fix lint
2021-11-24 13:04:06 -08:00
Bharath KKB
7fd8f0f8d4
Update setup-gcloud-it.yml ( #363 )
2021-09-15 14:29:44 -07:00
Bharath KKB
09f907be4c
chore: fix unit test triggers ( #345 )
2021-07-29 10:33:58 -07:00
Bharath KKB
aafca38db5
chore: switch release-please to google-github-actions ( #337 )
...
* Update release-please.yml
* fix path
2021-07-23 13:40:53 -05:00
T Hernandez
38fab8887c
feat: cleanup old actions( #331 )
...
* First pass of cleanup of old actions code
* fixed primary CHANGELOG file from setup-gcloud shift
* cleaning up old workflows
* removing working-directory spec as it's no longer needed
* Moar cleanup on the path to cleanup redemption
* "it now builds and tests pass locally"
* lint error cleanup
* More path cleanup
* addressing PR comments, more cleanup
* missed two files in last update
* Update README.md
Co-authored-by: Averi Kitsch <akitsch@google.com>
2021-07-23 13:24:52 -05:00
Averi Kitsch
6e86302e8e
chore: add dependabot workflow changes ( #332 )
2021-06-28 13:41:42 -07:00
Bharath KKB
95e2d15420
fix: Update action names ( #250 ) ( #251 )
...
Co-authored-by: Lewis Llobera <billobera@gmail.com>
2020-12-18 21:30:03 -06:00
Bharath KKB
aceed99011
fix: major/minor tags ( #242 )
2020-11-30 12:19:56 -06:00
Bharath KKB
b94035a6aa
chore: add notices to move to new repo ( #220 )
...
* add deprecation warnings
* retarget release please
* remove notice from setup-gcloud src
* target setup gcloud int tests to run from repo root
2020-11-16 13:19:48 -06:00
Bharath KKB
5ef9455828
chore: remove builds and releases for other actions ( #227 )
2020-11-13 14:25:38 -06:00
Bharath KKB
15dc2ebff1
fix: Add cf action dist gen ( #217 )
2020-10-29 13:06:06 -05:00
Bharath KKB
62a8e983c8
feat: Add get-gke-credentials Action ( #161 )
...
* add gke action
fix adc
fmt actions yml
address comments
setup int tests
update core
address comments, improve util tests
fix lint
fix util test
* add action to autobuild
2020-10-27 20:38:23 -05:00
Averi Kitsch
a4a3ab71b6
feat: Add optional credentials_file_path input for setup-gcloud ( #153 ) ( #213 )
...
* Add optional credentials_file_path input for setup-gcloud (#153 )
* Add optional credentials_file_path input to setup-gcloud
* Update setup-gcloud/tests/setup-gcloud.test.ts
Co-authored-by: Averi Kitsch <akitsch@google.com>
Co-authored-by: Averi Kitsch <akitsch@google.com>
* Respond to comments
* lint
* update timeout
Co-authored-by: Bryan Ricker <bryancricker@gmail.com>
2020-10-27 11:23:32 -07:00
Averi Kitsch
a85b04e409
feat!: Update Cloud Run action ( #207 )
...
* Refactor
* add merge
* linting
* update setup
* Update tests
* Add more e2e tests
* update workflow var
* fix typo
* Test workflow
* refactor tests
* Add clean up
* Add step
* fix env vars
* Fix typo
* fix readme
* update name
* remove dist
* remove dist
* fix dep
* Other IT run on push only
2020-10-23 18:42:03 -07:00
Bharath KKB
12b0ef03e4
feat: Deploy Cloud Functions action ( #160 )
...
* add cf action
* fix path
* fix lint configs
* check if ADC properly configured
* address comments
* address comments
* fix lint
* fix prop
* output when update/deploy complete
2020-10-23 18:26:38 -05:00
Averi Kitsch
aca688635c
Run IT for contributor code ( #211 )
...
* Add version when looking for installed gcloud sdk (#209 )
* Remove unused/broken workflow ids
Co-authored-by: Paolo Mainardi <paolo.mainardi@sparkfabrik.com>
2020-10-23 16:03:22 -07:00
Bharath KKB
8b66b2e3e7
feat: separate steps for release pr ( #198 )
2020-10-13 14:34:43 -05:00
Bharath KKB
0c18426d6b
feat: release via fork ( #196 )
2020-10-12 19:42:03 -05:00
Bharath KKB
11f1439978
feat: add build and release ( #190 )
2020-10-12 11:29:35 -05:00
Averi Kitsch
a244a889d6
Cloud Run Action ( #117 )
...
* Cloud Run Action Drafted
* Cloud Run action
* refactor
* rename
* Add metadata and tests
* Update Readme and required fields
* Update e2e tests
* Update tests
* Add log messages
* fix typo in obj field
* Update YAML
* Update Env Var names
* Update workflow tests
* Update tests
* Update testing
* Update tests
* Update workflow
* Update workflow dir
* fix typo
* test output
* Update integration tests
* add workdir
* set up auth for service request
* Add check for empty array
* Wait for URL
* fix test
* Update for PR comments
2020-07-30 12:59:17 -07:00
Bharath KKB
d72625cc00
Add GCS Action ( #121 )
...
* init
* fix types, set output
* init
* fix types, set output
* refactor
* enable tests
* get bucket name from secret
* rebuild
* remove prints
* rename action
* add DS_Store to gitignore
* lint
* address comments
* rename action
* addressed review comments
* fix pr comments, new testing approach
* update IT secret names
* fix filename
* update run paths
* fix readme add credentials field for setup gcloud
2020-06-29 17:23:26 -05:00
Seth Vargo
aa8a8572ea
Use server.js
2020-06-08 11:43:55 -04:00