Zebra/.github/workflows
teor be5cfad07f
change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031)
* Move format upgrades to their own module and enum

* Launch a format change thread if needed, and shut it down during shutdown

* Add some TODOs and remove a redundant timer

* Regularly check for panics in the state upgrade task

* Only run example upgrade once, change version field names

* Increment database format to 25.0.2: add format change task

* Log the running and initial disk database format versions on startup

* Add initial disk and running state versions to cached state images in CI

* Fix missing imports

* Fix typo in logs workflow command

* Add a force_save_to_disk argument to the CI workflow

* Move use_internet_connection into zebrad_config()

* fastmod can_spawn_zebrad_for_rpc can_spawn_zebrad_for_test_type zebra*

* Add a spawn_zebrad_without_rpc() function

* Remove unused copy_state() test code

* Assert that upgrades and downgrades happen with the correct versions

* Add a kill_and_return_output() method for tests

* Add a test for new_state_format() versions (no upgrades or downgrades)

* Add use_internet_connection to can_spawn_zebrad_for_test_type()

* Fix workflow parameter passing

* Check that reopening a new database doesn't upgrade (or downgrade) the format

* Allow ephemeral to be set to false even if we don't have a cached state

* Add a test type that will accept any kind of state

* When re-using a directory, configure the state test config with that path

* Actually mark newly created databases with their format versions

* Wait for the state to be opened before testing the format

* Run state format tests on mainnet and testnet configs (no network access)

* run multiple reopens in tests

* Test upgrades run correctly

* Test that version downgrades work as expected (best effort)

* Add a TODO for testing partial updates

* Fix missing test arguments

* clippy if chain

* Fix typo

* another typo

* Pass a database instance to the format upgrade task

* Fix a timing issue in the tests

* Fix version matching in CI

* Use correct env var reference

* Use correct github env file

* Wait for the database to be written before killing Zebra

* Use correct workflow syntax

* Version changes aren't always upgrades

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-07-13 21:36:15 +00:00
..
scripts ci(ssh): revert using `ssh-compute` action & increase sshd connection limit (#5367) 2022-10-11 00:11:49 +00:00
build-crates-individually.patch.yml build(deps): bump actions/checkout from 3.5.2 to 3.5.3 (#6901) 2023-06-10 00:59:58 +00:00
build-crates-individually.yml build(deps): bump actions/checkout from 3.5.2 to 3.5.3 (#6901) 2023-06-10 00:59:58 +00:00
build-docker-image.yml fix(deps): Replace openssl with rustls in tests and experimental features (#7047) 2023-06-26 05:44:19 +00:00
continous-delivery.patch.yml Use correct name for CD build patch job (#7073) 2023-06-28 02:35:50 +00:00
continous-delivery.yml Stop requiring testnet job for CI to pass (#7208) 2023-07-12 09:33:51 +00:00
continous-integration-docker.patch-always.yml ci(lwd): run the send transactions test on each PR update (#6040) 2023-01-31 20:39:11 +00:00
continous-integration-docker.patch.yml add(ci): Run release builds and production Docker image tests on pull requests (#7055) 2023-06-25 23:24:10 +00:00
continous-integration-docker.yml change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
continous-integration-os.patch.yml Add extra patch job to continous-integration-os.patch.yml (#7086) 2023-07-06 01:04:45 +00:00
continous-integration-os.yml build(deps): bump Swatinem/rust-cache from 2.5.0 to 2.5.1 (#7138) 2023-07-05 02:09:45 +00:00
coverage.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
coverage.yml build(deps): bump actions/checkout from 3.5.2 to 3.5.3 (#6901) 2023-06-10 00:59:58 +00:00
delete-gcp-resources.yml build(deps): bump actions/checkout from 3.5.2 to 3.5.3 (#6901) 2023-06-10 00:59:58 +00:00
deploy-gcp-tests.yml change(state): Prepare for in-place database format upgrades, but don't make any format changes yet (#7031) 2023-07-13 21:36:15 +00:00
dockerhub-description.yml build(deps): bump peter-evans/dockerhub-description from 3.4.1 to 3.4.2 (#7023) 2023-06-21 22:19:32 +00:00
docs.yml build(deps): bump Swatinem/rust-cache from 2.5.0 to 2.5.1 (#7138) 2023-07-05 02:09:45 +00:00
find-cached-disks.yml build(deps): bump actions/checkout from 3.5.2 to 3.5.3 (#6901) 2023-06-10 00:59:58 +00:00
lint.patch.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
lint.yml build(deps): bump tj-actions/changed-files from 37.0.5 to 37.1.0 (#7183) 2023-07-10 10:47:10 +00:00
project-management.yml build(deps): bump actions/add-to-project from 0.4.1 to 0.5.0 (#6452) 2023-04-03 23:20:53 +00:00
release-binaries.yml fix(deps): Replace openssl with rustls in tests and experimental features (#7047) 2023-06-26 05:44:19 +00:00
release-crates-io.patch.yml change(release): Update release script and check it in CI (#7128) 2023-07-04 19:01:11 +00:00
release-crates-io.yml change(release): Update release script and check it in CI (#7128) 2023-07-04 19:01:11 +00:00
release-drafter.yml change(release): Automatically split CHANGELOG entries into categories (#5203) 2022-09-27 12:41:55 +00:00
zcash-lightwalletd.patch.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
zcash-lightwalletd.yml build(deps): bump docker/build-push-action from 4.1.0 to 4.1.1 (#6942) 2023-06-14 19:08:33 +00:00
zcash-params.yml change(docker): Replace the zcash-params Dockerfile build with a zebrad binary copy (#7054) 2023-06-28 02:34:46 +00:00
zcashd-manual-deploy.yml build(deps): bump actions/checkout from 3.5.2 to 3.5.3 (#6901) 2023-06-10 00:59:58 +00:00