76 Commits

Author SHA1 Message Date
3b1a72cc28 Merge pull request '* Changed interval to 30' (#11) from Warehouses into master
Reviewed-on: #11
2026-01-11 12:45:27 +00:00
8d626356c7 * Changed interval to 30
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 13:45:02 +01:00
6dac17cbd1 Merge pull request '* Changed interval to 25' (#10) from Warehouses into master
Reviewed-on: #10
2026-01-11 12:43:02 +00:00
9fd026ce71 * Changed interval to 25
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 13:42:34 +01:00
325d56e7f9 Merge pull request 'Warehouses' (#9) from Warehouses into master
Reviewed-on: #9
2026-01-11 12:36:01 +00:00
0a81374164 test webhook
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 13:34:58 +01:00
c586e2875a test webhook 2026-01-11 13:34:58 +01:00
638d7faf56 test webhook 2026-01-11 13:34:58 +01:00
792283f8e2 test webhook 2026-01-11 13:34:58 +01:00
8eda96003f test webhook 2026-01-11 13:34:58 +01:00
639a3547b2 test webhook 2026-01-11 13:34:58 +01:00
7a55775562 test webhook 2026-01-11 13:34:58 +01:00
a4b5bced79 test webhook 2026-01-11 13:34:58 +01:00
c6dadb2d61 Update .woodpecker.yml 2026-01-11 13:34:58 +01:00
9ef085b582 test webhook 2026-01-11 13:34:58 +01:00
815165b496 test webhook 2026-01-11 13:34:58 +01:00
9b4b075b0c test webhook 2026-01-11 13:34:58 +01:00
41c9c69eb1 test webhook 2026-01-11 13:34:58 +01:00
8e8ea7a929 Merge pull request '* Changed query interval to 30' (#8) from Warehouses into master
Reviewed-on: #8
2026-01-11 12:29:57 +00:00
42f5ef38c8 * Changed query interval to 30
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 13:26:04 +01:00
a41e05045b Merge pull request 'Warehouses' (#7) from Warehouses into master
Reviewed-on: #7
2026-01-11 12:22:45 +00:00
ed93202fd4 * Changed query interval to 25
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 13:22:09 +01:00
7842696a34 test webhook 2026-01-11 13:22:09 +01:00
fe49432d0c test webhook 2026-01-11 13:22:09 +01:00
865211131e test webhook 2026-01-11 13:22:09 +01:00
ad2268d642 test webhook 2026-01-11 13:22:09 +01:00
f97e3d82b2 Merge pull request '* Changed QueryInterval back' (#6) from Warehouses into master
Reviewed-on: #6
2026-01-11 12:17:31 +00:00
f2686188e0 * Changed QueryInterval back
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 13:14:49 +01:00
05d9fdbbe3 Merge pull request '* Changed query interval' (#5) from Warehouses into master
Reviewed-on: #5
2026-01-11 11:50:35 +00:00
048a2097c3 * Changed query interval
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-11 12:49:48 +01:00
bf1d50db34 Merge pull request 'OrdersManagement: Fixed references' (#4) from Warehouses into master
Reviewed-on: #4
2026-01-11 11:43:56 +00:00
2fd327e3b8 Merge branch 'master' into Warehouses 2026-01-11 11:43:47 +00:00
cb71d6abed * Fixed references 2026-01-11 12:42:41 +01:00
9cedf4402e * Changed nugets for API 2026-01-10 22:23:02 +01:00
94c5c8c436 Merge pull request 'Warehouses' (#3) from Warehouses into master
Reviewed-on: http://git.modwad.pl/FA/FA_WEB/pulls/3
2026-01-10 21:16:09 +00:00
8cc1981305 Update .woodpecker.yml 2026-01-10 21:15:43 +00:00
8e9a2a0975 * Added removing generating package on build
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-01-10 22:06:04 +01:00
51a96f6c6a Change .woodpecker.yml 2026-01-10 21:59:06 +01:00
7d37b7744c * Added missing info to OrderManagementDataModel.csproj 2026-01-10 21:53:38 +01:00
a26a52b078 force pipeline detection - dodanie cache buster w .woodpecker.yml 2026-01-10 21:53:38 +01:00
2f80dbc13c test webhook 2026-01-10 21:53:38 +01:00
929e41e312 test webhook 2026-01-10 21:53:38 +01:00
1e7c6a6694 test webhook 2026-01-10 21:53:38 +01:00
6297ae92eb test webhook 2026-01-10 21:53:38 +01:00
14b83bf9d2 Update .gitea/workflows/build-and-publish.yml 2026-01-10 21:53:38 +01:00
8ea4a4139e Merge pull request 'force pipeline detection - dodanie cache buster w .woodpecker.yml' (#2) from Warehouses into master
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending
Reviewed-on: http://git.modwad.pl/FA/FA_WEB/pulls/2
2026-01-10 20:41:51 +00:00
d04e2ec56d force pipeline detection - dodanie cache buster w .woodpecker.yml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
2026-01-10 21:39:37 +01:00
2c97c5054e Add Gitea Actions workflow for build & publish 2026-01-09 12:50:12 +01:00
6fed42ee64 * Test change 2026-01-09 12:16:26 +01:00
1321c88a31 * Test change 2026-01-09 12:03:19 +01:00
38ff2c1673 * Test change 2026-01-08 22:40:27 +01:00
070b538cb2 * Another change 2026-01-08 22:31:11 +01:00
d832f1b960 * Another change 2026-01-08 22:26:16 +01:00
db03b35292 * Another test 2026-01-08 22:23:14 +01:00
6f9b94a97c * Bring back change 2026-01-08 22:14:30 +01:00
c4a99e3c35 * Test change 2026-01-08 22:08:44 +01:00
1e796e2c13 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
26d00213d2 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
03b28eed6e Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
0baee2be8b Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
a49efec313 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
96bfccdd55 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
1f3a29b293 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
49f685f109 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
2c196c68d7 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
f0c4fef3cb Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
2b3bc03049 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
913a1ce49d Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
eb8dc3cd4f Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
4368129802 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
5d64abace3 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
1f9ae3998c Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
3c62579a49 Update .woodpecker.yml 2026-01-08 22:08:25 +01:00
9f0f0d703e Merge remote-tracking branch 'origin/Warehouses' into Warehouses 2026-01-08 21:56:52 +01:00
dae2a08390 * Test change 2026-01-08 21:56:42 +01:00
4f40f33666 * Bring back change 2026-01-08 21:39:26 +01:00
6 changed files with 41 additions and 45 deletions

View File

@@ -1,10 +1,18 @@
skip_clone: true skip_clone: true
when: when:
event: [push, tag, manual] event: pull_request
branch: [master] action:
- merge
branch: master
steps: steps:
debug-location:
image: alpine
commands:
- pwd # gdzie aktualnie jesteśmy
- ls -la # co jest w bieżącym katalogu
- find /woodpecker -maxdepth 4 -type d 2>/dev/null
clone-manual: clone-manual:
image: woodpeckerci/plugin-git image: woodpeckerci/plugin-git
settings: settings:
@@ -17,8 +25,8 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB" cd "${CI_WORKSPACE}"
cd "$CODE_DIR" echo "Aktualna ścieżka: $(pwd)"
echo "=== Restore wszystkich projektów ===" echo "=== Restore wszystkich projektów ==="
find . -name "*.csproj" -type f -exec dotnet restore "{}" \; find . -name "*.csproj" -type f -exec dotnet restore "{}" \;
@@ -27,8 +35,7 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB" cd "${CI_WORKSPACE}"
cd "$CODE_DIR"
echo "=== Uruchamianie testów ===" echo "=== Uruchamianie testów ==="
dotnet test --no-restore --configuration Release --logger "trx" dotnet test --no-restore --configuration Release --logger "trx"
depends_on: [restore] depends_on: [restore]
@@ -38,22 +45,19 @@ steps:
commands: commands:
- | - |
set -euf set -euf
cd "${CI_WORKSPACE}"
echo "=== Instalacja MinVer CLI ===" echo "=== Instalacja MinVer CLI ==="
dotnet tool install --tool-path /tmp/minver minver-cli dotnet tool install --tool-path /tmp/minver minver-cli
CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB"
cd "$CODE_DIR"
echo "=== Obliczona wersja przez MinVer ===" echo "=== Obliczona wersja przez MinVer ==="
MINVER_VERSION=$(/tmp/minver/minver \ MINVER_VERSION=$(/tmp/minver/minver \
--auto-increment patch \ --auto-increment patch \
--minimum-major-minor 2.0 \ --minimum-major-minor 2.0 \
--default-pre-release-identifiers alpha.0 \ --default-pre-release-identifiers alpha.0 \
--verbosity info) --verbosity info)
echo "Wersja: $MINVER_VERSION" echo "Wersja: $MINVER_VERSION"
mkdir -p nupkg mkdir -p nupkg
echo "=== Pełniejsze fetch git (unshallow + tags) ===" echo "=== Pełniejsze fetch git (unshallow + tags) ==="
git fetch --prune --unshallow || echo "Już full clone OK" git fetch --prune --unshallow || echo "Już full clone OK"
git fetch --tags git fetch --tags
@@ -63,7 +67,6 @@ steps:
git tag -l git tag -l
echo "=== Aktualny commit i opis ===" echo "=== Aktualny commit i opis ==="
git describe --tags --always --dirty git describe --tags --always --dirty
echo "=== Diagnostyka projektów ===" echo "=== Diagnostyka projektów ==="
find . -name "*.csproj" -type f | sort find . -name "*.csproj" -type f | sort
mkdir -p nupkg mkdir -p nupkg
@@ -72,11 +75,10 @@ steps:
if grep -q '<PackageId>' "$csproj"; then if grep -q '<PackageId>' "$csproj"; then
PROJECT_NAME=$(basename "$csproj" .csproj) PROJECT_NAME=$(basename "$csproj" .csproj)
echo "→ Pakuję $PROJECT_NAME ($csproj)" echo "→ Pakuję $PROJECT_NAME ($csproj)"
#dotnet pack "$csproj" --configuration Release -o "$CODE_DIR/nupkg" /p:PackageVersion=$MINVER_VERSION
dotnet pack "$csproj" \ dotnet pack "$csproj" \
--configuration Release \ --configuration Release \
-o "./nupkg" \ -o "./nupkg" \
/p:PackageVersion=$MINVER_VERSION /p:PackageVersion=$MINVER_VERSION
else else
PROJECT_NAME=$(basename "$csproj" .csproj) PROJECT_NAME=$(basename "$csproj" .csproj)
echo "→ Pomijam $PROJECT_NAME brak <PackageId> (nie jest to biblioteka NuGet)" echo "→ Pomijam $PROJECT_NAME brak <PackageId> (nie jest to biblioteka NuGet)"
@@ -94,12 +96,9 @@ steps:
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB" cd "${CI_WORKSPACE}"
cd "$CODE_DIR"
echo "=== Test połączenia z BaGetter ===" echo "=== Test połączenia z BaGetter ==="
curl -f http://baget:80/v3/index.json || echo "Nie można połączyć się z BaGetter!" curl -f http://baget:80/v3/index.json || echo "Nie można połączyć się z BaGetter!"
# Tworzymy minimalny NuGet.Config tylko po to, żeby odblokować HTTP dla nazwanego źródła # Tworzymy minimalny NuGet.Config tylko po to, żeby odblokować HTTP dla nazwanego źródła
cat <<EOF > NuGet.Config cat <<EOF > NuGet.Config
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
@@ -111,10 +110,8 @@ steps:
</packageSources> </packageSources>
</configuration> </configuration>
EOF EOF
echo "=== Użyty NuGet.Config (tylko do odblokowania HTTP) ===" echo "=== Użyty NuGet.Config (tylko do odblokowania HTTP) ==="
cat NuGet.Config cat NuGet.Config
echo "=== Publikacja pakietów do BaGetter ===" echo "=== Publikacja pakietów do BaGetter ==="
find ./nupkg -name "*.nupkg" -type f | while read pkg; do find ./nupkg -name "*.nupkg" -type f | while read pkg; do
echo "→ Push $(basename "$pkg")" echo "→ Push $(basename "$pkg")"
@@ -123,20 +120,15 @@ steps:
--api-key "$BAGETTER_API_KEY" \ --api-key "$BAGETTER_API_KEY" \
--skip-duplicate --skip-duplicate
done done
echo "Wszystkie pakiety DataModel opublikowane w BaGetter!" echo "Wszystkie pakiety DataModel opublikowane w BaGetter!"
depends_on: [pack-datamodels] depends_on: [pack-datamodels]
build-and-publish-apps: build-and-publish-apps:
image: mcr.microsoft.com/dotnet/sdk:latest image: mcr.microsoft.com/dotnet/sdk:latest
# environment:
# DEPLOY_SSH_KEY:
# from_secret: deploy_ssh_key
commands: commands:
- | - |
set -euf set -euf
CODE_DIR="/woodpecker/src/localhost/git/FA/FA_WEB" cd "${CI_WORKSPACE}"
cd "$CODE_DIR"
echo "=== Ponowny restore aplikacji (z najnowszymi pakietami z BaGetter) ===" echo "=== Ponowny restore aplikacji (z najnowszymi pakietami z BaGetter) ==="
find . -name "*.csproj" -type f -exec dotnet restore "{}" \; find . -name "*.csproj" -type f -exec dotnet restore "{}" \;
echo "=== Publish aplikacji ===" echo "=== Publish aplikacji ==="
@@ -150,7 +142,7 @@ steps:
continue continue
fi fi
echo "→ Publish $PROJECT_NAME ($csproj)" echo "→ Publish $PROJECT_NAME ($csproj)"
dotnet publish "$csproj" --no-restore -c Release -o "$CODE_DIR/publish-$PROJECT_NAME" dotnet publish "$csproj" --no-restore -c Release -o "./publish-$PROJECT_NAME"
# ←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←← # ←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←
# Tu wstaw swój kod deployu (rsync/ssh itp.) # Tu wstaw swój kod deployu (rsync/ssh itp.)
# ←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←← # ←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←←

View File

@@ -9,7 +9,7 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="BCrypt.Net-Core" Version="1.6.0" /> <PackageReference Include="BCrypt.Net-Core" Version="1.6.0" />
<PackageReference Include="FaKrosnoEfDataModel" Version="2.0.0" /> <PackageReference Include="FaKrosnoEfDataModel" Version="2.0.1-alpha.0.65" />
<PackageReference Include="Hangfire" Version="1.8.17" /> <PackageReference Include="Hangfire" Version="1.8.17" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.11" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.11" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.11" /> <PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.11" />
@@ -20,13 +20,10 @@
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="NSwag.AspNetCore" Version="14.2.0" /> <PackageReference Include="NSwag.AspNetCore" Version="14.2.0" />
<PackageReference Include="OrdersManagementDataModel" Version="2.0.0-alpha.0" />
<PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="29.2.4" /> <PackageReference Include="Syncfusion.XlsIO.Net.Core" Version="29.2.4" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.3.0" />
<PackageReference Include="SytelineSaAppEfDataModel" Version="1.1.2" /> <PackageReference Include="SytelineSaAppEfDataModel" Version="2.0.1-alpha.0.65" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OrdersManagementDataModel\OrdersManagementDataModel.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -10,6 +10,7 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<MinVerAutoIncrement>patch</MinVerAutoIncrement> <MinVerAutoIncrement>patch</MinVerAutoIncrement>
<MinVerMinimumMajorMinor>1.0</MinVerMinimumMajorMinor> <MinVerMinimumMajorMinor>1.0</MinVerMinimumMajorMinor>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@@ -10,9 +10,11 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="BCrypt.Net-Core" Version="1.6.0" /> <PackageReference Include="BCrypt.Net-Core" Version="1.6.0" />
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" /> <PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="FaKrosnoEfDataModel" Version="2.0.1-alpha.0.65" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.11" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.11" />
<PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.6.1" /> <PackageReference Include="Microsoft.IdentityModel.Protocols" Version="8.6.1" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.6.1" /> <PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.6.1" />
<PackageReference Include="OrdersManagementDataModel" Version="2.0.0-alpha.0" />
<PackageReference Include="Syncfusion.Blazor.Buttons" Version="28.2.3" /> <PackageReference Include="Syncfusion.Blazor.Buttons" Version="28.2.3" />
<PackageReference Include="Syncfusion.Blazor.Cards" Version="28.2.3" /> <PackageReference Include="Syncfusion.Blazor.Cards" Version="28.2.3" />
<PackageReference Include="Syncfusion.Blazor.Core" Version="28.2.3" /> <PackageReference Include="Syncfusion.Blazor.Core" Version="28.2.3" />
@@ -21,11 +23,7 @@
<PackageReference Include="Syncfusion.Blazor.SplitButtons" Version="28.2.3" /> <PackageReference Include="Syncfusion.Blazor.SplitButtons" Version="28.2.3" />
<PackageReference Include="Syncfusion.Blazor.Themes" Version="28.2.3" /> <PackageReference Include="Syncfusion.Blazor.Themes" Version="28.2.3" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.6.1" /> <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.6.1" />
<PackageReference Include="SytelineSaAppEfDataModel" Version="2.0.1-alpha.0.1" /> <PackageReference Include="SytelineSaAppEfDataModel" Version="2.0.1-alpha.0.65" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\OrdersManagementDataModel\OrdersManagementDataModel.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@@ -5,6 +5,13 @@
<ProjectType>DataModel</ProjectType> <ProjectType>DataModel</ProjectType>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<PackageId>OrdersManagementDataModel</PackageId>
<Authors>Piotr Kus</Authors>
<Description>OrdersManagement Entity Framework Data Model</Description>
<MinVerAutoIncrement>patch</MinVerAutoIncrement>
<MinVerMinimumMajorMinor>1.0</MinVerMinimumMajorMinor>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@@ -12,6 +12,7 @@
<Description>Syteline Entity Framework Data Model</Description> <Description>Syteline Entity Framework Data Model</Description>
<MinVerAutoIncrement>patch</MinVerAutoIncrement> <MinVerAutoIncrement>patch</MinVerAutoIncrement>
<MinVerMinimumMajorMinor>1.0</MinVerMinimumMajorMinor> <MinVerMinimumMajorMinor>1.0</MinVerMinimumMajorMinor>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>