-
Notifications
You must be signed in to change notification settings - Fork 208
feat(config)!: migrate zebrad to use a layered configuration #9768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 88 commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
6301c3b
ref(docker): improve cargo caching by aligning mounts with CARGO_HOME
gustavovalverde 683db84
chore: fix typo
gustavovalverde 6463d15
test: do not use cache mounts
gustavovalverde b3048dd
chore: trigger a build
gustavovalverde c53b392
imp(docker): revert to binds with `-Z checksum-freshness` Rust flag
gustavovalverde bf3605f
chore: trigger a build
gustavovalverde fec84d8
chore: reduce diff
gustavovalverde 72d967f
fix: remove extra steps
gustavovalverde 4b4ac6e
fix: reduce complexity
gustavovalverde f809abc
revert: use a better approach
gustavovalverde a5b0633
fix: create and own the cargo and cargo target folders
gustavovalverde ae5b63c
test building several features
gustavovalverde 30cabdb
use nextest and avoid rustup compilation at runtime
gustavovalverde 430579f
refactor: consolidate test features and migrate to cargo-nextest
gustavovalverde 0fd48e5
fix: use correct package management
gustavovalverde a62ac20
fix: better handle different test cases
gustavovalverde 3df79b9
refactor(ci): use nextest for triggering tests
gustavovalverde 391e580
fix: use nextest overrides
gustavovalverde fc934b0
fix: delete extra profiles
gustavovalverde 643452f
fix: use default filter instead
gustavovalverde cbf8507
refactor(testing): Use envars and nextest profiles for test control
gustavovalverde b766e68
refactor: remove compile-time feature gates from tests in favor of ru…
gustavovalverde e8cfc05
fix: build
gustavovalverde a5e10c9
feat: add indexer as a default feature
gustavovalverde 3a883f0
refactor: make lightwalletd-grpc-tests and indexer features optional
gustavovalverde 4a0755f
refactor(tests): remove unused import and use fully qualified path
gustavovalverde 93311d0
refactor(docker): simplify dockerfile
gustavovalverde ed0607c
fix: formatting
gustavovalverde d7e72e0
fix: use the default cargo directories
gustavovalverde f1cd560
fix: build
gustavovalverde e88ddf0
fix: cargo ownership
gustavovalverde 6da21f1
fix: use correct test filtering with nextest
gustavovalverde 74a2e3e
fix: avoid cargo cache invalidation
gustavovalverde 15a07ef
fix(ci): Correct Docker test execution and platform filtering
gustavovalverde ca325dc
fix: improve caching
gustavovalverde b844371
fix: segregate sync-past-mandatory test
gustavovalverde 06efc95
fix: show output for specific test
gustavovalverde d99090e
revert: most sync and lwd changes
gustavovalverde dd9aeaf
fix: remove indexer
gustavovalverde 45cf591
chore: reduce diff
gustavovalverde 59fd617
fix: nextest timeouts
gustavovalverde a364067
Apply suggestions from code review
gustavovalverde c90c674
fix: linting errors
gustavovalverde d06e0f1
chore: update documentation and add missing profiles
gustavovalverde 0e84e1e
chore: more documentation fixes
gustavovalverde b5b3d11
feat(config)!: migrate zebrad to config-rs; drop legacy env vars; upd…
gustavovalverde c6371f1
fix: remove extra variable validation
gustavovalverde 7463aa4
Merge branch 'main' into imp-caching
gustavovalverde 6dccf96
Merge branch 'imp-caching' into feat-config-rs
gustavovalverde e64534c
chore(deps,deny): bump workspace toml to 0.9; add skip for toml_datet…
gustavovalverde dc3882b
fix(test): adapt Docker tests to new config-rs and entrypoint
gustavovalverde aad07fa
fix: use correct test approach with Docker
gustavovalverde c76c6a5
fix: remaining bans
gustavovalverde 12c3982
fix(test): correctly log the mining address
gustavovalverde 159f685
refactor: remove STATE_CACHE_DIR and LWD_CACHE_DIR from workflows
gustavovalverde 24451fc
fix: avoid test filesystem collisions with tests
gustavovalverde 4244951
fix: use better mining configuration
gustavovalverde 67d315a
chore: reduce diff and update docs
gustavovalverde 22d3e9c
docs: update CHANGELOG with breaking changes
gustavovalverde 274a890
chore: use a single `config.rs` for testing configurations
gustavovalverde 661dd90
fix: linting
gustavovalverde 565f53d
fix: simplify the grep command for mining
gustavovalverde 19ab32a
chore: remove flaky test
gustavovalverde fa65b34
Merge branch 'main' into feat-config-rs
gustavovalverde 0dad76f
Merge branch 'main' into feat-config-rs
gustavovalverde 709ff0a
feat(config): deny sensitive env var overrides via suffix-based filter
gustavovalverde 223a6c1
Merge branch 'main' into feat-config-rs
gustavovalverde be17a0d
fix:
gustavovalverde 37def73
fix: SKIP_NETWORK_TESTS for all OSes
gustavovalverde 8918aa1
fix: allow to change the Docker driver for building
gustavovalverde 5aec055
fix: do not set provenance with default driver
gustavovalverde f55f067
fix: provenance default to none
gustavovalverde a17a2fd
fix: disable provenance
gustavovalverde 06f5f17
fix: remove sbom as part of attestation
gustavovalverde 6183b1e
feat(zebrad-config): error on sensitive env vars instead of ignoring
gustavovalverde 1158848
Merge branch 'main' into feat-config-rs
gustavovalverde 440bdf2
chore: Apply suggestions from code review
gustavovalverde 1a1c5a0
fix: use `ZEBRA_NETWORK__NETWORK` instead of `NETWORK` in Zebra CI
gustavovalverde 87e1605
refactor(config): simplify deprecated format checks and error handling
gustavovalverde baca560
chore: better comment
gustavovalverde ca9112f
chore: enhance comments for `all-tests` profile
gustavovalverde d967099
chore(deps): centralize `config` crate and bump to 0.15.14
gustavovalverde a0ed480
fix: wrong replace
gustavovalverde 6abbcda
chore: delete extra committed file
gustavovalverde a14a504
feat(config): add env-prefix loader and use ZEBRA_TARGET for copy-state
gustavovalverde 6dbd4ed
fix: PoisonError issues
gustavovalverde b655f1b
feat(config): add env prefix overrides for `copy-state` command
gustavovalverde 7796f78
fix: temporarily move some tests out of test-all
gustavovalverde 2a8776e
Removes `ZEBRA_NETWORK__NETWORK` env var from `Run all tests` (#9830)
arya2 ed53836
chore: apply suggestions from code review
gustavovalverde ebc9674
fix: format and clippy
gustavovalverde bcfce06
fix(tests): make `sync-to-mandatory-checkpoint` network-specific
gustavovalverde 1cb799b
chore: remove `json` feature from `config`
gustavovalverde 594874a
chore(test): add ZEBRA_ENV_PREFIX and use expect_err in tests
gustavovalverde afb0e5f
Merge branch 'main' into feat-config-rs
gustavovalverde 76d3d18
fix: cargo.lock merge conflict
gustavovalverde 72e588d
chore: suggestions from code review
gustavovalverde 64aa261
chore: format
gustavovalverde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.