v0.43.1
This commit is contained in:
1 parent
5b6d4a7903
commit
4d1087e357
160 files changed
+2407
-1933
No files matched your search
@@ -35,7 +35,6 @@ PY
|
||||
VERSION="$(python3 scripts/version.py)"
|
||||
printf 'Validating RustProxy %s\n' "$VERSION"
|
||||
|
||||
# Project-owned source/layout validation.
|
||||
python3 scripts/preflight.py
|
||||
python3 scripts/build/panel_css.py --check
|
||||
|
||||
@@ -44,15 +43,12 @@ if [[ ! -f Cargo.lock ]]; then
|
||||
cargo generate-lockfile
|
||||
fi
|
||||
|
||||
# Rust quality gates.
|
||||
cargo fmt --all -- --check
|
||||
cargo check --locked --all-targets
|
||||
cargo test --locked --all-targets
|
||||
cargo clippy --locked --all-targets -- -D warnings
|
||||
cargo build --release --locked
|
||||
|
||||
# The Docker discovery agent is shipped with the source tree, but is a separate Go module.
|
||||
# Set CHECK_DOCKER_AGENT=0 when intentionally validating only the Rust binary.
|
||||
if [[ -f "$ROOT/docker-agent/go.mod" && "${CHECK_DOCKER_AGENT:-1}" != "0" ]]; then
|
||||
command -v go >/dev/null 2>&1 || fail "Go is required to validate docker-agent (or set CHECK_DOCKER_AGENT=0)"
|
||||
(
|
||||
|
||||
Reference in new issue
Block a user