diff --git a/scripts/quality.sh b/scripts/quality.sh index 38790b2..87a3f11 100755 --- a/scripts/quality.sh +++ b/scripts/quality.sh @@ -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" \