5 Commits

Author SHA1 Message Date
8643daa984 Use oqtane.framework and customer as submodule in the pipeline
Some checks failed
build-debian-package / Build the debian package (push) Failing after 38s
2026-01-15 10:37:00 +01:00
c373b194d6 Add Customer git repository as a submodule to deploy scripts as well 2026-01-15 10:32:49 +01:00
9f707e8504 Use only numbered tags...
All checks were successful
build-debian-package / Build the debian package (push) Successful in 3m8s
2026-01-15 09:42:32 +01:00
e0663ebfab Remove Version line from control since it'S populated via the script.
Some checks failed
build-debian-package / Build the debian package (push) Failing after 2m26s
2026-01-15 09:29:45 +01:00
492b55c313 Fix: Typo
Some checks failed
build-debian-package / Build the debian package (push) Failing after 2m20s
2026-01-15 09:18:46 +01:00
6 changed files with 12 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ name: build-debian-package
on:
push:
tags:
- v*
- '*'
jobs:
@@ -14,12 +14,12 @@ jobs:
run: git clone ${{ gitea.server_url }}/${{ gitea.repository }}.git .
- name: "Git checkout"
run: git checkout "${{ gitea.sha }}"
- name: "Submodules auschecken"
uses: snickerbockers/submodules-init@v4
- name: "Dotnet SDK einrichten"
uses: actions/setup-dotnet@v4
with:
dotnet-version: "10.0.x"
- name: "Oqtane Framework auschecken"
run: git clone ${{ gitea.server_url }}/Diplomarbeit-Absolventenverein/oqtane.framework.git
- name: "Oqtane Framework restore"
run: dotnet restore ./oqtane.framework/Oqtane.slnx --verbosity detailed
- name: "Oqtane Framework bauen"
@@ -27,6 +27,6 @@ jobs:
- name: "Oqtane Framework publish"
run: dotnet publish -c Release ./oqtane.framework/Oqtane.slnx -o ./alumnihub_10.0_amd64/opt/alumnihub
- name: "Build .deb"
run: ./run-build.sh "${{ gitea.ref_name }}"" "./alumnihub_10.0_amd64"
run: ./run-build.sh "${{ gitea.ref_name }}" "./alumnihub_10.0_amd64"
- name: "Upload .deb"
run: curl --user kocoder:${{ secrets.REGISTRY_TOKEN_KOCODER }} --upload-file ./alumnihub_10.0_amd64.deb https://git.kocoder.xyz/api/packages/Diplomarbeit-Absolventenverein/debian/pool/trixie/main/upload

6
.gitmodules vendored Normal file
View File

@@ -0,0 +1,6 @@
[submodule "alumnihub_10.0_amd64/opt/alumnihub-helpers"]
path = alumnihub_10.0_amd64/opt/alumnihub-helpers
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/Customer.git
[submodule "oqtane.framework"]
path = oqtane.framework
url = https://git.kocoder.xyz/Diplomarbeit-Absolventenverein/oqtane.framework.git

View File

@@ -1,5 +1,4 @@
Package: alumnihub
Version: 10.0-2
Architecture: amd64
Essential: no
Priority: optional

1
oqtane.framework Submodule

Submodule oqtane.framework added at f3175b6b06