Merge pull request 'DelforSender' (#67) from DelforSender into master
Reviewed-on: #67
This commit was merged in pull request #67.
This commit is contained in:
@@ -124,29 +124,29 @@ steps:
|
||||
dotnet test --configuration Release --logger "trx;LogFileName=tests.trx" --results-directory TestResults
|
||||
done < changed-projects.txt
|
||||
depends_on: [restore]
|
||||
ai-agent-gate:
|
||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
environment:
|
||||
OPENAI_API_KEY:
|
||||
from_secret: openai_api_key
|
||||
commands:
|
||||
- |
|
||||
set -euf
|
||||
cd "${CI_WORKSPACE}"
|
||||
# ai-agent-gate:
|
||||
# image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
# environment:
|
||||
# OPENAI_API_KEY:
|
||||
# from_secret: openai_api_key
|
||||
# commands:
|
||||
# - |
|
||||
# set -euf
|
||||
# cd "${CI_WORKSPACE}"
|
||||
#
|
||||
# if [ ! -s changed-projects.txt ]; then
|
||||
# echo "Brak zmienionych projektow – pomijam AI-gate."
|
||||
# exit 0
|
||||
# fi
|
||||
|
||||
if [ ! -s changed-projects.txt ]; then
|
||||
echo "Brak zmienionych projektow – pomijam AI-gate."
|
||||
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 "test-gate" "TestResults/tests.trx"
|
||||
depends_on: [test]
|
||||
# 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 "test-gate" "TestResults/tests.trx"
|
||||
# depends_on: [test]
|
||||
pack-datamodels:
|
||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
commands:
|
||||
@@ -195,7 +195,8 @@ steps:
|
||||
done < changed-projects.txt
|
||||
echo "=== Spakowane pakiety ==="
|
||||
ls -la nupkg/ || echo "Brak spakowanych pakietów!"
|
||||
depends_on: [ai-agent-gate]
|
||||
#depends_on: [ai-agent-gate]
|
||||
depends_on: [test]
|
||||
|
||||
publish-linux-local:
|
||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
@@ -248,7 +249,8 @@ steps:
|
||||
else
|
||||
echo "Brak aplikacji LinuxLocal do publikacji"
|
||||
fi
|
||||
depends_on: [ai-agent-gate]
|
||||
#depends_on: [ai-agent-gate]
|
||||
depends_on: [test]
|
||||
|
||||
publish-datamodels-to-baget:
|
||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||
|
||||
Reference in New Issue
Block a user