Disallow localhost in deployment (#1064)

* disallow localhost in deployment

* tests

* fmt

* integration tests do not have a flag to check

* fmt
This commit is contained in:
anatoly yakovenko
2018-08-25 21:09:18 -07:00
committed by GitHub
parent 8e98c7c9d6
commit f7c0d30167
8 changed files with 22 additions and 6 deletions

View File

@ -42,4 +42,4 @@ if [[ $(sysctl -n net.core.wmem_max) -lt 1610612736 ]]; then
fi
set -x
exec cargo test --release --features=erasure test_multi_node_dynamic_network -- --ignored
exec cargo test --release --features=erasure,test test_multi_node_dynamic_network -- --ignored

View File

@ -11,7 +11,7 @@ _() {
}
_ cargo build --verbose --features unstable
_ cargo test --verbose --features unstable
_ cargo test --verbose --features=unstable,test
_ cargo clippy -- --deny=warnings
exit 0

View File

@ -19,7 +19,7 @@ _() {
"$@"
}
_ cargo test --features=cuda,erasure
_ cargo test --features=cuda,erasure,test
echo --- ci/localnet-sanity.sh
(

View File

@ -12,7 +12,7 @@ _() {
_ cargo fmt -- --check
_ cargo build --verbose
_ cargo test --verbose
_ cargo test --features=test --verbose
echo --- ci/localnet-sanity.sh
(