59 Commits

Author SHA1 Message Date
49a98f9b1b Merge pull request '* Removed comments' (#26) from Warehouses into master
Reviewed-on: #26
2026-04-10 05:37:30 +00:00
775c7a2d5c * Removed comments
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-04-10 07:12:09 +02:00
0a35608d78 Merge pull request 'Warehouses' (#25) from Warehouses into master
Reviewed-on: #25
2026-04-10 05:00:22 +00:00
7c61f6c80f * Removed comment
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-04-10 06:59:20 +02:00
a559e5bad6 Merge pull request '* Removed comment' (#24) from Warehouses into master
Reviewed-on: #24
2026-04-10 04:44:33 +00:00
b17411de19 * Removed comment
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-04-10 06:41:26 +02:00
d64672d8af Merge pull request 'Update .woodpecker.yml' (#23) from Warehouses into master
Reviewed-on: #23
2026-04-10 04:31:37 +00:00
6fac50225a Update .woodpecker.yml 2026-04-10 04:29:31 +00:00
f5ba09f58d * Fixed issue with wrong prices in columns
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-04-10 06:06:25 +02:00
4f48158bc7 * Fixed precision 2026-03-25 13:11:35 +01:00
448e9c554d Update .woodpecker.yml
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-15 12:55:30 +00:00
c5b6b10928 Update .woodpecker.yml
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-15 12:37:08 +00:00
9a6f2040cf Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 12:17:32 +00:00
f7926c78ad Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 12:11:29 +00:00
c15b325950 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 12:04:46 +00:00
1051e22ab3 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:55:05 +00:00
6b985d2cf7 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:48:23 +00:00
8f859e0cc7 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:46:07 +00:00
d007e36081 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:42:51 +00:00
d5c8e3a683 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:37:06 +00:00
9efa5a132f Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:21:05 +00:00
0200cd4b61 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:17:06 +00:00
ed508765eb Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:14:18 +00:00
b0f78e395f Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:09:37 +00:00
260897dd87 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:07:15 +00:00
065744d15a Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 11:04:27 +00:00
78806115ba Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:57:33 +00:00
cfe7924d25 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:54:43 +00:00
f3060013d3 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:52:31 +00:00
3d59cb1b68 Update .woodpecker.yml 2026-01-15 10:51:23 +00:00
8b3d04c6aa Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:48:53 +00:00
ea6c490edc Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:46:10 +00:00
353737bae0 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:43:37 +00:00
89de720f93 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:40:10 +00:00
492c70f384 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:37:16 +00:00
7d8de5c78f Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:32:39 +00:00
e9d6dbaa5c Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:25:34 +00:00
c501a84d53 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:18:49 +00:00
08800a4c10 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:08:01 +00:00
dfc405f4b0 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:05:44 +00:00
29ef6383b1 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:02:58 +00:00
86ff97b311 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 10:00:20 +00:00
cf878470a5 Update .woodpecker.yml 2026-01-15 09:57:25 +00:00
a0451c42de Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 09:53:19 +00:00
76b069a51e Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:44:14 +00:00
606bd31e21 Update .woodpecker.yml 2026-01-15 08:36:34 +00:00
e391d06085 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:27:16 +00:00
216a966f39 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:20:55 +00:00
fa8c0f3eb2 Update .woodpecker.yml
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-15 08:17:53 +00:00
c064479a2f Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:14:41 +00:00
531260eb9c Update .woodpecker.yml 2026-01-15 08:14:11 +00:00
81af6f02d9 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:08:45 +00:00
7c2001ad34 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:04:34 +00:00
9aaeaa0548 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 08:01:28 +00:00
7a8d3cf10c Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 07:58:05 +00:00
27dbb780ec Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 07:54:22 +00:00
4863d9120b Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 07:52:08 +00:00
b04546260a Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 07:48:41 +00:00
6d1f87f9d9 Update .woodpecker.yml
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline failed
2026-01-15 07:43:48 +00:00
2 changed files with 76 additions and 352 deletions

View File

@@ -5,158 +5,42 @@ when:
- merge
branch: master
steps:
clone-manual:
image: woodpeckerci/plugin-git
settings:
remote: http://gitea:3000/${CI_REPO}.git
branch: ${CI_COMMIT_BRANCH}
depth: 1
detect-changed-projects:
image: alpine
commands:
- |
set -euf
cd "${CI_WORKSPACE}"
echo "CI_PIPELINE_FILES=${CI_PIPELINE_FILES:-<empty>}"
apk add --no-cache findutils
> changed-projects.txt
echo "${CI_PIPELINE_FILES:-}" \
| sed 's/^\[//; s/\]$//' \
| tr ',' '\n' \
| sed 's/^ *//; s/ *$//' \
| sed '/^$/d' \
| while read path; do
echo "→ changed file: $path"
dir=$(dirname "$path")
while [ "$dir" != "." ] && [ "$dir" != "/" ]; do
csproj=$(find "$dir" -maxdepth 1 -name "*.csproj" -type f | head -n 1 || true)
if [ -n "$csproj" ]; then
echo "$csproj" >> changed-projects.txt
break
fi
dir=$(dirname "$dir")
done
done
# unikalne projekty
sort -u -o changed-projects.txt changed-projects.txt
echo "Zmienione projekty:"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pipeline zakonczony."
# exit 0 = sukces, wiec kolejne kroki, ktore od niego zaleza, nie poleca
exit 0
fi
cat changed-projects.txt
depends_on: [clone-manual]
debug-location:
image: alpine
commands:
- pwd
- ls -la
- find /woodpecker -maxdepth 4 -type d 2>/dev/null
depends_on: [detect-changed-projects]
clone-manual:
image: woodpeckerci/plugin-git
settings:
remote: http://gitea:3000/FA/FA_WEB.git
branch: master
depth: 1
restore:
image: mcr.microsoft.com/dotnet/sdk:latest
commands:
- |
set -euf
cd "${CI_WORKSPACE}"
echo "Aktualna ścieżka do pliku: $(pwd)"
echo "Aktualna ścieżka: $(pwd)"
echo "=== Restore wszystkich projektów ==="
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektów nic do restore."
exit 0
fi
cat <<EOF > NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="BaGet" value="http://baget:80/v3/index.json" allowInsecureConnections="true" />
</packageSources>
</configuration>
EOF
echo "=== Restore zmienionych projektów ==="
while read csproj; do
echo "→ dotnet restore $csproj"
dotnet restore "$csproj"
done < changed-projects.txt
# find . -name "*.csproj" -type f -exec dotnet restore "{}" \;
depends_on: [detect-changed-projects]
find . -name "*.csproj" -type f -exec dotnet restore "{}" \;
test:
image: mcr.microsoft.com/dotnet/sdk:latest
commands:
- |
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"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="BaGet" value="http://baget:80/v3/index.json" allowInsecureConnections="true" />
</packageSources>
</configuration>
EOF
echo "=== Uruchamianie testów dla zmienionych projektow ==="
while read csproj; do
echo "→ dotnet test $csproj"
dotnet test --configuration Release --logger "trx;LogFileName=tests.trx" --results-directory TestResults
done < changed-projects.txt
echo "=== Uruchamianie testów ==="
dotnet test --no-restore --configuration Release --logger "trx"
depends_on: [restore]
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
cd "${CI_WORKSPACE}"
if [ ! -s changed-projects.txt ]; then
echo "Brak zmienionych projektow pomijam AI-gate."
exit 0
fi
dotnet run --project PipelineAgent/PipelineAgent.csproj "check-changes" "$(pwd)"
depends_on: [detect-changed-projects]
pack-datamodels:
image: mcr.microsoft.com/dotnet/sdk:latest
commands:
- |
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 ==="
@@ -178,7 +62,7 @@ steps:
find . -name "*.csproj" -type f | sort
mkdir -p nupkg
echo "=== Pakowanie projektów DataModel (wykrywane po obecności <PackageId>) ==="
while read csproj; do
find . -name "*.csproj" -type f | while read csproj; do
if grep -q '<PackageId>' "$csproj"; then
PROJECT_NAME=$(basename "$csproj" .csproj)
echo "→ Pakuję $PROJECT_NAME ($csproj)"
@@ -190,66 +74,10 @@ steps:
PROJECT_NAME=$(basename "$csproj" .csproj)
echo "→ Pomijam $PROJECT_NAME brak <PackageId>"
fi
done < changed-projects.txt
done
echo "=== Spakowane pakiety ==="
ls -la nupkg/ || echo "Brak spakowanych pakietów!"
#depends_on: [ai-agent-gate]
depends_on: [test]
publish-linux-local:
image: mcr.microsoft.com/dotnet/sdk:latest
commands:
- |
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 ==="
cat <<EOF > NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="BaGet" value="http://baget:80/v3/index.json" allowInsecureConnections="true" />
</packageSources>
</configuration>
EOF
echo "=== Publikacja aplikacji LinuxLocal ==="
#find . -name "*.csproj" -type f | while read csproj; do
while read csproj; do
PROJECT_TYPE=$(dotnet msbuild "$csproj" -getProperty:ProjectType -noLogo 2>/dev/null || echo "Unknown")
if [ "$PROJECT_TYPE" = "LinuxLocal" ]; then
PROJECT_NAME=$(basename "$csproj" .csproj)
echo "→ Publishing $PROJECT_NAME"
dotnet publish "$csproj" \
--configuration Release \
--output "./linux-apps/$PROJECT_NAME" \
--runtime linux-x64 \
--self-contained false
fi
#done
done < changed-projects.txt
echo ""
if [ -d "./linux-apps" ] && [ "$(ls -A ./linux-apps)" ]; then
echo "Opublikowane aplikacje:"
ls -la linux-apps/
else
echo "Brak aplikacji LinuxLocal do publikacji"
fi
#depends_on: [ai-agent-gate]
depends_on: [test]
publish-datamodels-to-baget:
image: mcr.microsoft.com/dotnet/sdk:latest
environment:
@@ -259,12 +87,6 @@ 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
@@ -286,7 +108,6 @@ steps:
--skip-duplicate
done
depends_on: [pack-datamodels]
select-projects-for-container:
image: mcr.microsoft.com/dotnet/sdk:latest
commands:
@@ -295,37 +116,24 @@ steps:
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
while read csproj; do
PROJECT_NAME=$(basename "$csproj" .csproj)
find . -name "*.csproj" -type f | while read csproj; do
PROJECT_TYPE=$(dotnet msbuild "$csproj" -getProperty:ProjectType -noLogo 2>/dev/null || echo "Unknown")
if [ "$PROJECT_TYPE" = "Linux" ] || [ "$PROJECT_TYPE" = "Api" ] || [ "$PROJECT_TYPE" = "ServerProcess" ] || [ "$PROJECT_TYPE" = "Blazor" ] || [ "$PROJECT_TYPE" = "LinuxLocal" ]; then
if [[ "$PROJECT_TYPE" == "Linux" || "$PROJECT_TYPE" == "Api" || "$PROJECT_TYPE" == "ServerProcess" || "$PROJECT_TYPE" == "Blazor" ]]; then
PROJECT_NAME=$(basename "$csproj" .csproj)
PROJECT_DIR=$(dirname "$csproj")
echo "→ Dodaję $PROJECT_NAME (typ: $PROJECT_TYPE)"
echo "$PROJECT_DIR|$PROJECT_NAME" >> projects-to-build.txt
else
PROJECT_NAME=$(basename "$csproj" .csproj)
echo "→ Pomijam $PROJECT_NAME (typ: $PROJECT_TYPE)"
fi
#done
done < changed-projects.txt
done
echo ""
if [ -s projects-to-build.txt ]; then
echo "Znalezione projekty:"
cat projects-to-build.txt
echo "Łącznie: $(wc -l < projects-to-build.txt)"
else
echo "BRAK PROJEKTÓW DO BUDOWY!"
fi
echo "=== Znaleziono projektow do budowy ==="
cat projects-to-build.txt || echo "Brak projektów!"
wc -l < projects-to-build.txt
depends_on: [publish-datamodels-to-baget]
containerize-apps:
image: docker:27-cli
environment:
@@ -338,17 +146,6 @@ 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"
echo "=== DEBUG: Zawartość projects-to-build.txt ==="
cat projects-to-build.txt || echo "Plik nie istnieje!"
echo "=== DEBUG: REGISTRY_ORG = '$REGISTRY_ORG' ==="
echo "$GITEA_TOKEN" | docker login git.modwad.pl -u "$GITEA_USER" --password-stdin
if [ ! -s projects-to-build.txt ]; then
@@ -373,16 +170,12 @@ steps:
PDIR=$(echo "$PDIR" | xargs)
PNAME=$(echo "$PNAME" | xargs)
echo "=== DEBUG: PDIR='$PDIR' PNAME='$PNAME' ==="
test -z "$PNAME" && continue
test ! -d "$PDIR" && continue
echo -n "git.modwad.pl/fa/" > /tmp/tag.txt
echo "$PNAME" | tr 'A-Z' 'a-z' | tr -d '\n' >> /tmp/tag.txt
echo "=== DEBUG: Generated tag: $(cat /tmp/tag.txt) ==="
echo "$PNAME" > /tmp/pname.txt
echo "$PDIR" | sed 's|^\./||' > /tmp/pdir.txt
@@ -412,13 +205,16 @@ steps:
-t "$(cat /tmp/tag.txt):${CI_COMMIT_SHA}" \
-t "$(cat /tmp/tag.txt):latest" \
-f "Dockerfile.final" \
.
. || { echo "BUILD FAILED"; exit 1; }
echo "=== Obraz zbudowany, sprawdzam ==="
docker images | grep "$(cat /tmp/tag.txt | sed 's|git.modwad.pl/||')" || echo "Obraz nie znaleziony w docker images"
echo "=== Pushing SHA tag ==="
docker push "$(cat /tmp/tag.txt):${CI_COMMIT_SHA}"
docker push "$(cat /tmp/tag.txt):${CI_COMMIT_SHA}" || { echo "PUSH SHA FAILED"; exit 1; }
echo "=== Pushing latest tag ==="
docker push "$(cat /tmp/tag.txt):latest"
docker push "$(cat /tmp/tag.txt):latest" || { echo "PUSH LATEST FAILED"; exit 1; }
echo "=== SUCCESS: $(cat /tmp/tag.txt) ==="
@@ -427,88 +223,18 @@ steps:
echo "=== WSZYSTKIE PROJEKTY ZAKONCZONE ==="
depends_on: [select-projects-for-container]
deploy-linux-local:
image: alpine:latest
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
echo "Folder ./linux-apps nie istnieje"
exit 0
fi
echo "=== DEBUG: Zawartość ./linux-apps/ ==="
ls -la ./linux-apps/
echo "=== Wdrażanie aplikacji LinuxLocal do /opt/fa-apps/ ==="
mkdir -p /opt/fa-apps
cd ./linux-apps
for app in *; do
echo "→ DEBUG: Sprawdzam $app"
if [ ! -d "$app" ]; then
echo " → $app nie jest folderem, pomijam"
continue
fi
echo " → Kopiuję $app"
echo " → Zawartość:"
ls -la "$app/"
rm -rf "/opt/fa-apps/$app"
cp -r "$app" "/opt/fa-apps/$app"
find "/opt/fa-apps/$app" -type f -executable -exec chmod +x {} \;
echo " → Skopiowano!"
done
cd "${CI_WORKSPACE}"
echo ""
echo "=== Wdrożone aplikacje ==="
ls -laR /opt/fa-apps/
depends_on: [publish-linux-local, containerize-apps]
cleanup-docker:
image: docker:27-cli
commands:
- |
echo "=== Status przed czyszczeniem ==="
docker system df
echo ""
echo "=== Usuwanie dangling images ==="
docker image prune -f
echo ""
echo "=== Usuwanie starych wersji aplikacji ==="
docker images --format "{{.Repository}}:{{.Tag}}" | grep "git.modwad.pl/" | grep -v ":latest" | grep -v ":${CI_COMMIT_SHA}" | while read img; do
echo "Usuwam: $img"
docker rmi "$img" || true
done
echo ""
echo "=== Usuwanie kontenerów ==="
echo "=== Czyszczenie starych obrazów ==="
docker image prune -af --filter "until=24h"
echo "=== Czyszczenie nieużywanych kontenerów ==="
docker container prune -f
echo ""
echo "=== Usuwanie build cache ==="
docker builder prune -af
echo ""
echo "=== Czyszczenie build cache ==="
docker builder prune -af --filter "until=24h"
echo "=== Status po czyszczeniu ==="
docker system df
depends_on: [deploy-linux-local]
depends_on: [containerize-apps]
when:
status: [success, failure]

View File

@@ -161,13 +161,13 @@ namespace SytelineSaAppEfDataModel
entity.Property(e => e.BlanketQty).IsRequired(false).HasColumnName("blanket_qty");
entity.Property(e => e.EffectiveDate).HasColumnName("eff_date");
entity.Property(e => e.ExpirationDate).HasColumnName("exp_date");
entity.Property(e => e.ContPrice).IsRequired(false).HasColumnName("cont_price");
entity.Property(e => e.ContPrice).IsRequired(false).HasColumnName("cont_price").HasColumnType("decimal(20, 8)");
entity.Property(e => e.Status).IsRequired(false).HasColumnName("stat").HasMaxLength(1);
entity.Property(e => e.PromiseDate).HasColumnName("promise_date");
entity.Property(e => e.PriceCode).IsRequired(false).HasColumnName("pricecode").HasMaxLength(3);
entity.Property(e => e.Uom).IsRequired(false).HasColumnName("u_m").HasMaxLength(3);
entity.Property(e => e.BlanketQtyReleased).IsRequired(false).HasColumnName("blanket_qty_conv");
entity.Property(e => e.ContPriceReleased).IsRequired(false).HasColumnName("cont_price_conv");
entity.Property(e => e.ContPriceReleased).HasColumnType("decimal(20, 8)").IsRequired(false).HasColumnName("cont_price_conv");
entity.Property(e => e.QtySent).IsRequired(false).HasColumnName("qty_bco");
entity.Property(e => e.SentCode).IsRequired(false).HasColumnName("bco_code").HasMaxLength(1);
entity.Property(e => e.NonAppliedData).IsRequired(false).HasColumnName("non_appl_data").HasMaxLength(75);
@@ -216,8 +216,8 @@ namespace SytelineSaAppEfDataModel
entity.Property(e => e.QtyShipped).IsRequired(false).HasColumnName("qty_shipped");
entity.Property(e => e.QtyPacked).IsRequired(false).HasColumnName("qty_packed");
entity.Property(e => e.Discount).IsRequired(false).HasColumnName("disc");
entity.Property(e => e.Cost).IsRequired(false).HasColumnName("cost");
entity.Property(e => e.Price).IsRequired(false).HasColumnName("price");
entity.Property(e => e.Cost).IsRequired(false).HasColumnName("cost").HasColumnType("decimal(20, 8)");
entity.Property(e => e.Price).IsRequired(false).HasColumnName("price").HasColumnType("decimal(20, 8)");
entity.Property(e => e.RefType).IsRequired(false).HasColumnName("ref_type").HasMaxLength(1);
entity.Property(e => e.RefNumber).IsRequired(false).HasColumnName("ref_num").HasMaxLength(10);
entity.Property(e => e.RefLineSuf).IsRequired(false).HasColumnName("ref_line_suf");
@@ -261,7 +261,7 @@ namespace SytelineSaAppEfDataModel
entity.Property(e => e.PriceCode).IsRequired(false).HasColumnName("pricecode").HasMaxLength(3);
entity.Property(e => e.Uom).IsRequired(false).HasColumnName("u_m").HasMaxLength(3);
entity.Property(e => e.QtyOrderedReleased).IsRequired(false).HasColumnName("qty_ordered_conv");
entity.Property(e => e.PriceReleased).IsRequired(false).HasColumnName("price_conv");
entity.Property(e => e.PriceReleased).IsRequired(false).HasColumnName("price_conv").HasColumnType("decimal(20, 8)");
entity.Property(e => e.CustomerOrderCustomerNumber).IsRequired(false).HasColumnName("co_cust_num").HasMaxLength(7);
entity.Property(e => e.Packed).IsRequired(false).HasColumnName("packed");
entity.Property(e => e.Bol).IsRequired(false).HasColumnName("bol");
@@ -474,7 +474,7 @@ namespace SytelineSaAppEfDataModel
entity.Property(e => e.BlanketQty).HasColumnName("blanket_qty");
entity.Property(e => e.EffDate).HasColumnName("eff_date").IsRequired(false);
entity.Property(e => e.ExpDate).HasColumnName("exp_date").IsRequired(false);
entity.Property(e => e.ContPrice).HasColumnName("cont_price").IsRequired(false);
entity.Property(e => e.ContPrice).HasColumnName("cont_price").HasColumnType("decimal(20, 8)").IsRequired(false);
entity.Property(e => e.Stat).HasColumnName("stat").HasMaxLength(2).IsRequired(false);
entity.Property(e => e.PromiseDate).HasColumnName("promise_date").IsRequired(false);
entity.Property(e => e.Pricecode).HasColumnName("pricecode").HasMaxLength(6).IsRequired(false);
@@ -918,7 +918,6 @@ namespace SytelineSaAppEfDataModel
.HasMaxLength(500)
.IsRequired(false);
// Relationship
entity.HasOne(e => e.Client)
.WithMany()
.HasForeignKey(e => e.FK_Client)
@@ -1026,7 +1025,6 @@ namespace SytelineSaAppEfDataModel
.HasMaxLength(100)
.IsRequired(false);
// Relationship
entity.HasOne(e => e.Header)
.WithMany()
.HasForeignKey(e => e.FK_Header)
@@ -2344,6 +2342,7 @@ namespace SytelineSaAppEfDataModel
entity.Property(e => e.ContPrice)
.HasColumnName("cont_price")
.HasColumnType("decimal(20, 8)")
.IsRequired(false);
entity.Property(e => e.BrkQty1)
@@ -2578,7 +2577,6 @@ namespace SytelineSaAppEfDataModel
.HasColumnType("int")
.IsRequired(false);
// Foreign Key
entity.HasOne(e => e.Header)
.WithMany()
.HasForeignKey(e => e.FKHeader)