Keep quality cache writable in fresh checkouts

This commit is contained in:
SimpleTest 2026-08-26 06:48:37 +03:00
parent f5e0c991ea
commit ad87539789

View File

@ -35,6 +35,7 @@ android_fingerprint_probe="$android_fingerprint_probe_dir/.quality-source-finger
android_metadata_probe="$ROOT/android/play-store/.quality-metadata-$run_id.md"
umask 077
mkdir -p "$ROOT/.tools/trivy-cache"
QUALITY_POSTGRES_USER="wnh_quality_$(openssl rand -hex 6)"
QUALITY_POSTGRES_PASSWORD=$(openssl rand -base64 48 | tr -d '\n')
export QUALITY_POSTGRES_USER QUALITY_POSTGRES_PASSWORD
@ -1648,7 +1649,6 @@ test "$(
test "$(
grep -c '^kind: NetworkPolicy$' "$scan_dir/rendered-helm.yaml"
)" -eq 1
mkdir -p "$ROOT/.tools/trivy-cache"
docker run --rm \
--volume "$scan_dir:/scan:ro" \
--volume "$ROOT/.tools/trivy-cache:/root/.cache/trivy" \