Public release release-6756e5208c8b
Source commit: 6756e5208c8b79e83d55610251430bc1baef53a3 Public tree identity: sha256:2f58837c3759b4f466cbc274571ee71bc0d24c7552dc009c186394e99123da87
This commit is contained in:
commit
18cba9c609
210 changed files with 78616 additions and 0 deletions
27
scripts/acceptance-private.sh
Executable file
27
scripts/acceptance-private.sh
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
repo="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
cd "$repo"
|
||||
|
||||
if [[ ! -d private/hosted-policy ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
scripts/check-old-name.sh
|
||||
node scripts/check-docs.js
|
||||
scripts/check-code-size.sh
|
||||
cargo fmt --all --manifest-path private/hosted-policy/Cargo.toml --check
|
||||
cargo clippy --manifest-path private/hosted-policy/Cargo.toml --all-targets -- -D warnings
|
||||
cargo test --locked --manifest-path private/hosted-policy/Cargo.toml --all-targets
|
||||
node private/hosted-policy/scripts/prepare-hosted-deployment.js
|
||||
if command -v podman >/dev/null 2>&1; then
|
||||
node private/hosted-policy/scripts/postgres-durable-smoke.js
|
||||
elif command -v nix >/dev/null 2>&1; then
|
||||
nix shell nixpkgs#podman --command node private/hosted-policy/scripts/postgres-durable-smoke.js
|
||||
else
|
||||
node private/hosted-policy/scripts/postgres-durable-smoke.js
|
||||
fi
|
||||
if [[ -n "${CLUSTERFLUX_PUBLIC_RELEASE_SERVICE_ADDR:-}" ]]; then
|
||||
node private/hosted-policy/scripts/hosted-service-live-check.js
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue