Merged in feature/minimal-test-parallelism (pull request #173)

Minimal test parallelism

* Minimal test parallelism

to fix issues with ci/cd memory
This commit is contained in:
Jay Brown
2025-07-01 17:28:17 +00:00
parent 79e0085fb3
commit 673ba503c8
2 changed files with 10 additions and 11 deletions
+4 -4
View File
@@ -25,13 +25,13 @@ vars:
else
echo "4" # Default fallback value
fi
# Optimized parallelism values for better performance
# Minimal parallelism values to avoid resource contention
THREAD_PARALLEL:
sh: echo $(( {{.CPU_COUNT}} * 2 ))
sh: echo "2" # Fixed minimal value
PKG_PARALLEL:
sh: echo $(( {{.CPU_COUNT}} + 2 )) # Increased package parallelism
sh: echo "1" # Single package at a time
TEST_PARALLEL:
sh: echo $(( {{.CPU_COUNT}} * 6 )) # Increased test parallelism for I/O-bound tests
sh: echo "2" # Minimal test parallelism
# yamllint disable-line rule:line-length
EXCLUDED_FILES: ".gen.go|internal/serviceconfig/observability/prometheus/generator/main.go|internal/cognitoauth/middleware.go|internal/cognitoauth/token.go|internal/cognitoauth/auth.go|internal/cognitoauth/handler.go|internal/cognitoauth/models.go|api/queryAPI/authHandlers.go|api/queryAPI/homehandler.go"
# yamllint disable-line rule:line-length