teor
e2a3a38047
Disable Rust beta tests in CI, due to a rust bug ( #2542 )
2021-07-29 13:02:12 +10: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
c8305fba1f
Stop using the wrong name for the coverage action ( #2453 )
...
Previously the action was called "CI", which could be confusing.
2021-07-07 11:36:54 -03:00
teor
4c321f6fa1
Skip IPv6 network tests in google cloud workflows
...
Also consistently use the zebra-test:latest docker image.
2021-06-28 23:34:57 -04:00
teor
efb2ffbf33
Stop ignoring failed cached state tests
...
Previously, Zebra's cached state workflows would run all of Zebra's
tests, but they would ignore the results for most tests. They would only
fail if the mainnet cached state test failed.
After this fix, the tests fail if any test or build step fails.
2021-06-28 23:34:57 -04:00
teor
17e94bd241
Stop skipping the cached sync tests in CI ( #2402 )
...
This is a bugfix on PR #2314 , which changed the name of the test
function in the code, but didn't change the CI workflow.
2021-06-29 12:49:42 +10:00
Alfredo Garcia
544d182d25
Add and use a function for mandatory checkpoint ( #2314 )
...
* add `mandatory_checkpoint_height()` function
* use mandatory checkpoint instead of canopy in acceptance tests
2021-06-18 10:05:28 +10:00
Deirdre Connolly
ea15ad1131
Use Swatinem/rust-cache@v1 ( #2291 )
2021-06-15 11:36:33 +10:00
Deirdre Connolly
28c3a23f14
Replace bespoke source-based coverage config with cargo-llvm-cov ( #2286 )
...
* Replace bespoke source-based coverage config with cargo-llvm-cov
* Keep incremental builds disabled
* Use cargo-llvm-cov ^0.1.0-alpha.4
Co-authored-by: teor <teor@riseup.net>
2021-06-15 11:35:26 +10:00
teor
0b4f32a324
Maybe GitHub actions doesn't like the variable substitution
2021-06-14 20:24:37 -04:00
teor
130e348b0f
Use a different name for clippy job and results
2021-06-14 20:24:37 -04:00
teor
0a34d506cf
CI: Remove duplicate Clippy job name
...
Naming the job and the task makes it show up twice
2021-06-14 20:24:37 -04:00
Deirdre Connolly
71b41f0206
cargo install mdbook
2021-06-14 17:12:31 -04:00
Deirdre Connolly
45cbfa8e67
Upgrade mdbook to 0.4.10
2021-06-14 17:12:31 -04:00
teor
53e50821ec
Remove outdated pinned nightly in coverage workflow
...
nightly-2021-03-24 is incompatible with semver 1.0.2.
2021-06-09 16:10:47 -04:00
dependabot[bot]
aac0b5d60f
build(deps): bump codecov/codecov-action from 1.5.0 to 1.5.2
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 1.5.0 to 1.5.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1.5.0...v1.5.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 15:55:36 -04:00
Deirdre Connolly
8b5b367c8a
Create workflow to regenerate cached state disks for tests ( #2247 )
...
* Create workflow to regenerate cached state disks for tests
* Mount testnet disk
2021-06-07 13:14:30 +10:00
Deirdre Connolly
584f35ce68
Update test job to use the updated state
2021-06-04 15:14:11 -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]
2ea1d8624d
build(deps): bump codecov/codecov-action from 1 to 1.5.0 ( #2142 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 1 to 1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 22:12:49 +00:00
dependabot[bot]
300ce12a29
build(deps): bump actions-rs/cargo from 1 to 1.0.3 ( #2140 )
...
Bumps [actions-rs/cargo](https://github.com/actions-rs/cargo ) from 1 to 1.0.3.
- [Release notes](https://github.com/actions-rs/cargo/releases )
- [Changelog](https://github.com/actions-rs/cargo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/actions-rs/cargo/compare/v1...v1.0.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 07:54:02 +10:00
dependabot[bot]
48657506c5
build(deps): bump actions-rs/clippy-check from 1 to 1.0.7 ( #2141 )
...
Bumps [actions-rs/clippy-check](https://github.com/actions-rs/clippy-check ) from 1 to 1.0.7.
- [Release notes](https://github.com/actions-rs/clippy-check/releases )
- [Changelog](https://github.com/actions-rs/clippy-check/blob/master/CHANGELOG.md )
- [Commits](https://github.com/actions-rs/clippy-check/compare/v1...v1.0.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 07:52:10 +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
teor
f33db69267
Remove broken ci-success check
...
Previously, Zebra made ci-success a required check for merges to main. And then we made ci-success depend on a bunch of other CI checks.
But this doesn't work as expected, because if the dependent checks fail, ci-success is skipped, and the branch protection rules allow the branch to be merged to main.
2021-04-29 18:28:47 -04:00
teor
7e395298f1
Just run builds on ubuntu stable
...
But keep the tests across ubuntu, macOS, Windows x Rust stable, beta
2021-04-30 07:35:46 +10:00
teor
d0e6597fec
Use minimal cargo components in docs workflow
2021-04-30 07:35:46 +10:00
teor
ea4d3b23f9
Use minimal cargo components in CI
2021-04-30 07:35:46 +10:00
Kirill Fomichev
fb799b202c
Update dependencies to support Apple M1, fix Windows CI LLVM paths ( #2026 )
...
* build(deps): update for Apple M1
* fix ci
* bump rocksdb
* bump zcash_script
2021-04-19 20:39:24 +10:00
Deirdre Connolly
a5ff0e983b
Pin coverage.yml nightly to 2021-03-24 for now
2021-03-26 11:24:16 -04:00
teor
ee0fc35380
Increase coverage CI timeout ( #1947 )
...
Since coverage uses nightly, it can be slightly slower than other CI.
2021-03-26 09:47:14 +10:00
Deirdre Connolly
4aedf08a95
Merge pull request #1927 from ZcashFoundation/ci
...
Add final job to ci.yml that passes when all other ci.yml jobs pass
2021-03-20 23:57:13 -04:00
Deirdre Connolly
5791ee3339
Sync _from_ canopy, not _to_, now that we have state
2021-03-20 19:34:33 -04:00
Deirdre Connolly
bbdecbe9ad
Update mainnet stateful sync tests to use new disk image
...
Leave testnet commented out until testnet disk image is ready.
2021-03-20 19:34:33 -04:00
Deirdre Connolly
9b2090b4a1
Update test.yml
2021-03-20 19:34:33 -04:00
Deirdre Connolly
a091f63c79
Generate Canopy activation disks
2021-03-20 19:34:33 -04:00
teor
c57baad7e8
Merge pull request #1923 from ZcashFoundation/coverage-no-incremental
...
Disable incremental compilation in coverage builds to avoid disk space errors.
2021-03-19 11:33:25 +10:00
teor
74cc30c307
Change the cached sync tests to canopy
...
This change requires a cached state rebuild. The rebuilt state will be
significantly larger.
2021-03-18 10:13:47 +10:00
Deirdre Connolly
159d5a22f2
auto-delete manual deploy disks
...
If you need to keep them from being deleted, you can update them manually from the gcloud console, as the instance will not be deleted automatically.
2021-03-06 01:54:00 -05: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
5b1a0b8658
Update and rename zcashd-cd.yml to zcashd-manual-deploy.yml
...
And rename the job name
2021-03-05 23:53:51 -05:00
Deirdre Connolly
c2e42d06d2
Fix grep in zcashd-cd.yml
2021-03-05 23:48:17 -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
Jane Lusby
db52d63b86
change machine type to one available in central region
2021-03-05 23:20:05 -05:00
Jane Lusby
3e60f9064f
fix bash syntax error
2021-03-05 23:20:05 -05:00
Jane Lusby
418d4ce9ce
Apply suggestions from code review
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-03-05 23:20:05 -05:00
Jane Lusby
42c5a7559e
Add manual deploy workflow for zcashd images
2021-03-05 23:20:05 -05:00
Alfredo Garcia
d8165ccb4d
Apply suggestions from code review
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-03-03 18:06:00 -05:00
Alfredo Garcia
97f400ff96
remove redundant step
2021-03-03 18:06:00 -05:00
Alfredo Garcia
efba34786c
re-enable docs CI with different firebase project IDs
2021-03-03 18:06:00 -05:00
teor
a445cfbd55
Set ZEBRA_SKIP_NETWORK_TESTS using Windows syntax ( #1782 )
...
Use Powershell syntax to set ZEBRA_SKIP_NETWORK_TESTS on Windows.
Also skip the entire large sync test step on Ubuntu and
Windows, because the tests are skipped anyway due to
ZEBRA_SKIP_NETWORK_TESTS. This saves some
compilation time.
2021-02-19 19:36:32 +10:00