Merge pull request '* Added more checks for apps to process' (#40) from DelforSender into master

Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
2026-01-20 11:59:37 +00:00

View File

@@ -91,6 +91,11 @@ steps:
set -euf
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam test."
exit 0
fi
echo "=== Konfiguracja NuGet sources ==="
cat <<EOF > NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
@@ -132,6 +137,12 @@ steps:
- |
set -euf
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam pack-datamodels."
exit 0
fi
echo "=== Instalacja MinVer CLI ==="
dotnet tool install --tool-path /tmp/minver minver-cli
echo "=== Obliczona wersja przez MinVer ==="
@@ -176,6 +187,12 @@ steps:
- |
set -euf
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam AI-gate."
exit 0
fi
mkdir -p linux-apps
echo "=== Konfiguracja NuGet sources ==="
@@ -224,6 +241,12 @@ steps:
- |
set -euf
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam publish-datamodels-to-baget."
exit 0
fi
echo "=== Test połączenia z BaGetter ==="
curl -f http://baget:80/v3/index.json || echo "Nie można połączyć się z BaGetter!"
cat <<EOF > NuGet.Config
@@ -253,6 +276,11 @@ steps:
set -euf
cd "${CI_WORKSPACE}"
> projects-to-build.txt
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam select-projects-for-container."
exit 0
fi
echo "=== Selekcja projektów do konteneryzacji ==="
find . -name "*.csproj" -type f | while read csproj; do
@@ -289,6 +317,11 @@ steps:
- |
set -euf
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam contenerize-apps."
exit 0
fi
REGISTRY_ORG="fa"
@@ -380,6 +413,11 @@ steps:
commands:
- |
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam deploy-linux-local."
exit 0
fi
echo "=== Sprawdzanie aplikacji LinuxLocal ==="
if [ ! -d "./linux-apps" ]; then