Commit graph

72 commits

Author SHA1 Message Date
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
7159039b8c
chore: update dependabot schedule (#335) 2021-07-14 14:08:16 -05:00
Averi Kitsch
0aa92bcd70
chore: Add dependabot config (#326)
* chore: Add dependabot config

* update dependabot
2021-06-28 13:43:13 -07: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
Seth Vargo
1ee5ee9b60
8080? 2020-06-08 11:41:36 -04:00
Seth Vargo
280442a25c
Inline entire app 2020-06-08 11:34:17 -04:00
Seth Vargo
9cc2e5dbf0
Don't use dash in job name 2020-06-08 11:20:15 -04:00
Seth Vargo
d9fb0a0214
Retry connecting 2020-06-08 11:18:12 -04:00
Seth Vargo
a8e206b19c
Run when workflows change too 2020-06-07 09:55:56 -04:00
Seth Vargo
bf146084db
Keep versions 2020-06-06 15:46:39 -04:00
Seth Vargo
2f3b6dac5b
Only run setup-gcloud tests when those files change 2020-06-06 15:07:11 -04:00
Seth Vargo
6efa2c4c1f
Rename action file 2020-06-06 14:59:36 -04:00
Seth Vargo
8ad178ef9b
Allow GAE integration tests to run in parallel 2020-06-06 14:57:58 -04:00
averikitsch
6828bd5b22 update secret name 2020-06-05 11:42:46 -07:00
averikitsch
b5e41ac16d undo rename 2020-05-12 10:20:26 -07:00
averikitsch
0aa009f621 Update Readme 2020-05-07 11:53:46 -07:00
averikitsch
ac89bd3c18 merge 2020-05-07 09:38:01 -07:00
Averi Kitsch
62bad3ce28
Merge branch 'master' into appengine-action 2020-05-05 09:28:54 -07:00
averikitsch
8efe678d97 Rename action 2020-05-05 09:19:31 -07:00
Seth Vargo
a333abdde1
Add clarity around service_account_email
Fixes GH-95
2020-04-29 10:07:21 -04:00
averikitsch
7c22a653b7 Clean up 2020-04-17 10:14:59 -07:00
averikitsch
d153f05d28 Add appengine-deploy action and refactor setup-gcloud
initial

Add test app and tests

add license

Update ReadMe and runner

Fix lint errors

Missed fixes

Update tests to run integration on PR

rename pkg -> setupGloudSDK

Update ts congig

Remove project id requirement

Update gcloud set project id func

Add unit tests for pkg

Add set project to action

rebuild

Fix gcloud typo

lint pkg and update project id dependency

Update tmp JSON writer

Add cleanup to integration tests

Update get input validation

fix json string

Fix test order and version name

add project id to test

remove clean up step

Update project url

Add no promote flag

test stderr vs stdout

Update pkg build

refactor setup-gcloud

clean up

Fix tool command for isAuthenticated

debugging

test command

Fix isInstalled method

Clean up
2020-04-12 16:23:05 -07:00
averikitsch
2c7422e8e9 Initial outline 2020-04-12 16:17:06 -07:00
Seth Vargo
d6cbe4431c
Update to latest gcloud version in docs 2020-03-31 10:24:51 -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
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
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