dependabot[bot]
bdf5f70557
Bump actions/checkout from 2.3.5 to 2.4.0 ( #3009 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.5...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-11-05 15:08:39 +10:00
dependabot[bot]
0b25257bef
Bump actions/checkout from 2.3.4 to 2.3.5 ( #2898 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-10-19 04:03:10 +00:00
teor
5684667a31
Update to google-github-actions/setup-gcloud in workflows ( #2533 )
...
* Update to google-github-actions/setup-gcloud in workflows
See https://github.com/google-github-actions/setup-gcloud#use-google-github-actionssetup-gcloud
* Also update the Google Cloud test workflow
* Also update regenerate stateful test disks
* Also update Manual Deploy
* Also update zcashd deploy
2021-07-27 12:13:04 -04:00
teor
dd7747bc69
Security: Remove checkout credentials from GitHub actions ( #2158 )
...
* Remove checkout credentials from CD action
* Remove checkout credentials from CI action
* Remove checkout credentials from coverage action
* Remove checkout credentials from docs action
* Remove checkout credentials from manual deploy action
* Remove checkout credentials from test action
* Remove checkout credentials from zcashd action
2021-05-17 09:32:38 +10:00
dependabot[bot]
e4ed072c28
build(deps): bump actions/checkout from 2 to 2.3.4 ( #2143 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 07:51:12 +10:00
Deirdre Connolly
b29294b4ee
Explicitly auto-delete additional cache disks
...
This property is supposedly set to 'true' by default, but we are still leaving disks behind.
Perhaps because: "...if the disk is later detached from the instance, this option won't apply."
https://cloud.google.com/sdk/gcloud/reference/compute/instance-templates/create-with-container#--disk
Resolves #1845
2021-03-06 01:54:00 -05:00
Deirdre Connolly
8f9e993fab
Fix grep now that `gcloud compute instance-groups list` has more than one result
2021-03-05 23:48:17 -05:00
Deirdre Connolly
487ee6d317
Use cloud disk default of auto-delete=true
2020-11-24 11:04:30 -05:00
Deirdre Connolly
f6dc92a256
Correctly grep for instance group & region
2020-11-19 18:55:19 -05:00
Deirdre Connolly
e325775bf3
Specify region not just zone
2020-11-19 16:50:08 -05:00
Deirdre Connolly
44970af929
Split up big test job into its own workflow
2020-11-19 16:20:36 -05:00
Deirdre Connolly
1a1240a943
Rearrange some deploy flags
2020-11-14 22:31:38 -05:00
Deirdre Connolly
8b5b1b49cc
Run acceptance tests post-merge with large cached state ( #1282 )
...
* Create and mount persistent disk to store zebrad state, update runner container config to use
* Enable checkpoint sync in zebrad image config
* Lower state memory cache from 500MB to 50MB
* Upgrade host to n2-standard-4
* Bump zebrad-cache disk size to 100GB
* Copy zebrad as the tests are compiled with a hardcoded path to it
* Rename all debug binaries for easy invocation
* Name state cache disk, use the correct path to binaries
* Create volume and all that jazz on instance creation
Otherwise there's a lot of on-instance commands to do that is just handled by this shortcut.
* Explicitly mount the state cache and cleanup test instance
* Wait for zebra-test container to start then attach
* Always clean up even if the tests step fails
* Keep fast sleep but only print 'waiting' once
2020-11-12 15:18:35 -05:00
Deirdre Connolly
10da2873fd
Set timeout-minutes per job
2020-10-12 18:39:33 -04:00
Deirdre Connolly
686071e023
Default all GitHub Actions jobs to timeout at 30 minutes
...
Resolves #1142
2020-10-12 18:39:33 -04:00
Deirdre Connolly
b4245f4d01
Fix healthcheck (tracing) endpoint ( #895 )
...
* Switch to n1-highcpu-2
* Add tracing.endpoint_addr config to release docker image
2020-08-13 03:31:09 -04:00
Deirdre Connolly
250e1af4f1
Use an n1-standard-2 machine for node deployments ( #893 )
...
We don't load the entire blockchain into memory anymore. 😂
Resolves #892
2020-08-12 20:08:19 -07:00
Deirdre Connolly
56361654c6
Fix CD workflow using cloudbuild.yaml ( #637 )
...
* Fix variable substitutions in CD workflow and gcloud build config
* Docker needs everything lowercase
* Store container image in GCR
* Don't use GITHUB_REPOSITORY
2020-07-10 07:37:54 -04:00
Deirdre Connolly
e0a71c229d
Trigger Google Cloud Builds via GitHub App integration ( #614 )
...
Use cloudbuild.yaml for all invocations including via gcloud cli and github build triggers
2020-07-09 14:22:56 -04:00
Deirdre Connolly
eff8a3889e
Revert "Sign container images for later binary authorization"
...
This reverts commit 0bb8b2b059
.
2020-06-25 17:03:07 -04:00
Deirdre Connolly
038a09ad36
Revert "Use gcloud sdk latest stable in actions; use --quiet for alpha commands"
...
This reverts commit 8367c765a0
.
2020-06-25 17:03:07 -04:00
Deirdre Connolly
839d4ab9fb
Revert "Move --quiet around"
...
This reverts commit 01e6d01d9b
.
2020-06-25 17:03:07 -04:00
Deirdre Connolly
e8ff7a1dd8
Revert "Verify that the attestation was created"
...
This reverts commit c1f97e21c9
.
2020-06-25 17:03:07 -04:00
Deirdre Connolly
c1f97e21c9
Verify that the attestation was created
2020-06-25 16:47:29 -04:00
Deirdre Connolly
01e6d01d9b
Move --quiet around
2020-06-25 16:47:29 -04:00
Deirdre Connolly
8367c765a0
Use gcloud sdk latest stable in actions; use --quiet for alpha commands
2020-06-25 16:47:29 -04:00
Deirdre Connolly
0bb8b2b059
Sign container images for later binary authorization
2020-06-25 16:47:29 -04:00
Deirdre Connolly
2bdd07c1bc
Create instance group if it doesn't exist, update it if it does ( #513 )
...
* Deploy instance group if it doesn't exist, update it if it does
* Rename push.yml to cd.yml
* Rename some CD steps
2020-06-21 04:39:47 -04:00