97a89c3476
placement.AllowedCountry is the old way to specify placement, with the new approach we can use a more generic (dynamic method), which can check full node information instead of just the country code. The 90% of this patch is just search and replace: * we need to use NodeFilters instead of placement.AllowedCountry * which means, we need an initialized PlacementRules available everywhere * which means we need to configure the placement rules The remaining 10% is the placement.go, where we introduced a new type of configuration (lightweight expression language) to define any kind of placement without code change. Change-Id: Ie644b0b1840871b0e6bbcf80c6b50a947503d7df |
||
---|---|---|
.. | ||
deploy | ||
testdata | ||
tests | ||
waitlist | ||
build-wasm.sh | ||
cert-gating.sh | ||
changelog.py | ||
check-package-lock.sh | ||
deploy-storagenode.sh | ||
deploy-watchtower.sh | ||
draft-release.sh | ||
gerrit-cla.py | ||
gerrit-status.sh | ||
lint.go | ||
pg-to-crdb.go | ||
release.sh | ||
tag-release.sh | ||
test-certificates.sh | ||
test-network-stalls.go | ||
test-wasm-size.sh | ||
test-wasm.sh | ||
update-access.go | ||
utils.sh | ||
validate-jenkinsfile.sh |