* Changed environment variables
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This commit is contained in:
@@ -125,11 +125,15 @@ steps:
|
||||
dotnet test --configuration Release --logger "trx;LogFileName=tests.trx" --results-directory TestResults
|
||||
done < changed-projects.txt
|
||||
depends_on: [restore]
|
||||
ai-agent-gate:
|
||||
pipeline-agent:
|
||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
environment:
|
||||
OPENAI_API_KEY:
|
||||
from_secret: openai_api_key
|
||||
VAULT_URL:
|
||||
from_secret: vault_url
|
||||
VAULT_TOKEN:
|
||||
from_secret: vault_token
|
||||
commands:
|
||||
- |
|
||||
set -euf
|
||||
@@ -140,14 +144,8 @@ steps:
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "=== AI-Gate: analiza wyników testów: ==="
|
||||
if [ ! -f "TestResults/tests.trx" ]; then
|
||||
echo "Brak pliku TestResults/tests.trx – blokuję pipeline."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dotnet run --project PipelineAgent/PipelineAgent.csproj "check-changes" "$(pwd)"
|
||||
depends_on: [test]
|
||||
depends_on: [detect-changed-projects]
|
||||
pack-datamodels:
|
||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
commands:
|
||||
|
||||
Reference in New Issue
Block a user