Commit graph

53 commits

Author SHA1 Message Date
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
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
a371ccf2f2
Fix path to integration tests 2020-02-22 14:11:13 -05:00
Seth Vargo
eed4b0ccc8
Update linter and formatter to match 2020-02-21 15:36:49 -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
7dd8e6dd69
Add and run linter, update CI too 2020-02-19 21:49:09 -05:00
Seth Vargo
00d109f450
Include step names in CI 2020-02-19 21:49:08 -05:00
Seth Vargo
b85d80ad89
Initial commit 2020-02-19 21:49:08 -05:00
craigdbarber
6102f1dea3 Added exponential backup for flaky HTTP responses 2020-01-29 17:27:31 -08:00
craigdbarber
a46a92c2c0 code cleanup 2020-01-29 16:35:49 -08:00
craigdbarber
7dbfdefde8 separated versioned and latest int-test jobs 2020-01-29 16:18:21 -08:00
craigdbarber
4bd453f153 Added latest use-case to int-tests 2020-01-29 15:22:40 -08:00
craigdbarber
003a783cc1 Debugged integration tests with win32. 2020-01-29 14:39:59 -08:00
craigdbarber
67cc6ea9ad Segregated ITs into separate workflow 2020-01-29 14:39:59 -08:00
craigdbarber
5d9c627527 Added ITs for action 2020-01-29 14:39:59 -08:00