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
|
dotnet test --configuration Release --logger "trx;LogFileName=tests.trx" --results-directory TestResults
|
||||||
done < changed-projects.txt
|
done < changed-projects.txt
|
||||||
depends_on: [restore]
|
depends_on: [restore]
|
||||||
ai-agent-gate:
|
# ai-agent-gate:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
# image: mcr.microsoft.com/dotnet/sdk:latest
|
||||||
environment:
|
# environment:
|
||||||
OPENAI_API_KEY:
|
# OPENAI_API_KEY:
|
||||||
from_secret: openai_api_key
|
# from_secret: openai_api_key
|
||||||
commands:
|
# commands:
|
||||||
- |
|
# - |
|
||||||
set -euf
|
# set -euf
|
||||||
cd "${CI_WORKSPACE}"
|
# 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 "=== AI-Gate: analiza wyników testów: ==="
|
||||||
echo "Brak zmienionych projektow – pomijam AI-gate."
|
# if [ ! -f "TestResults/tests.trx" ]; then
|
||||||
exit 0
|
# echo "Brak pliku TestResults/tests.trx – blokuję pipeline."
|
||||||
fi
|
# exit 1
|
||||||
|
# fi
|
||||||
echo "=== AI-Gate: analiza wyników testów: ==="
|
#
|
||||||
if [ ! -f "TestResults/tests.trx" ]; then
|
# dotnet run --project PipelineAgent/PipelineAgent.csproj "test-gate" "TestResults/tests.trx"
|
||||||
echo "Brak pliku TestResults/tests.trx – blokuję pipeline."
|
# depends_on: [test]
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
dotnet run --project PipelineAgent/PipelineAgent.csproj "test-gate" "TestResults/tests.trx"
|
|
||||||
depends_on: [test]
|
|
||||||
pack-datamodels:
|
pack-datamodels:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||||
commands:
|
commands:
|
||||||
@@ -195,7 +195,8 @@ steps:
|
|||||||
done < changed-projects.txt
|
done < changed-projects.txt
|
||||||
echo "=== Spakowane pakiety ==="
|
echo "=== Spakowane pakiety ==="
|
||||||
ls -la nupkg/ || echo "Brak spakowanych pakietów!"
|
ls -la nupkg/ || echo "Brak spakowanych pakietów!"
|
||||||
depends_on: [ai-agent-gate]
|
#depends_on: [ai-agent-gate]
|
||||||
|
depends_on: [test]
|
||||||
|
|
||||||
publish-linux-local:
|
publish-linux-local:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||||
@@ -248,7 +249,8 @@ steps:
|
|||||||
else
|
else
|
||||||
echo "Brak aplikacji LinuxLocal do publikacji"
|
echo "Brak aplikacji LinuxLocal do publikacji"
|
||||||
fi
|
fi
|
||||||
depends_on: [ai-agent-gate]
|
#depends_on: [ai-agent-gate]
|
||||||
|
depends_on: [test]
|
||||||
|
|
||||||
publish-datamodels-to-baget:
|
publish-datamodels-to-baget:
|
||||||
image: mcr.microsoft.com/dotnet/sdk:latest
|
image: mcr.microsoft.com/dotnet/sdk:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user