Source commit: a43e907efd9d1561c23fe73499478e881f868355 Public tree identity: sha256:453dea30195485dd8939f575a69b39f4bb7acd84c4df23f8aa29b55d044f2673
25 lines
1.1 KiB
Bash
Executable file
25 lines
1.1 KiB
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
repo="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$repo"
|
|
|
|
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 --manifest-path private/hosted-policy/Cargo.toml --all-targets
|
|
node private/hosted-policy/scripts/prepare-public-release-dryrun-deployment.js
|
|
node private/hosted-policy/scripts/hosted-deployment-smoke.js
|
|
node private/hosted-policy/scripts/hosted-client-compat-smoke.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_DRYRUN_SERVICE_ADDR:-}" ]]; then
|
|
node private/hosted-policy/scripts/public-release-dryrun-service-smoke.js
|
|
fi
|