change to version 0.4.0-SNAPSHOT
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
Thomas Peetz
2026-08-25 11:11:51 +02:00
parent a113f08ddc
commit bda453a92a
24 changed files with 418 additions and 405 deletions
+23 -17
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# script/cibuild:
@@ -6,20 +6,26 @@ set -e
cd "$(dirname "$0")/.."
echo " => Baue Image localhost/kontor-spring:0.3.0"
buildah build -t kontor-spring:0.3.0 kontor-spring
echo " => Baue Image localhost/kontor-api:0.3.0"
buildah build --volume /home/tpeetz/projects/kontor/kontor-model:/container/kontor-model -t kontor-api:0.3.0 kontor-api
echo " => Baue Image localhost/kontor-quarkus:0.3.0"
buildah build -t kontor-quarkus:0.3.0 kontor-quarkus
echo " => Baue Image localhost/kontor-echo:0.3.0"
buildah build -t kontor-echo:0.3.0 kontor-echo
echo " => Baue Image localhost/kontor-fiber:0.3.0"
buildah build -t kontor-fiber:0.3.0 kontor-fiber
echo " => Baue Image localhost/kontor-javalin:0.3.0"
buildah build -t kontor-javalin:0.3.0 kontor-javalin
echo " => Baue Image localhost/kontor-vue:0.3.0"
buildah build -t kontor-vue:0.3.0 kontor-vue
echo " => Baue Image localhost/kontor-angular:0.3.0"
buildah build -t kontor-angular:0.3.0 kontor-angular
. ./version
echo " => Baue Image localhost/kontor-spring:$kontorVersion"
#buildah build -t kontor-spring:$kontorVersion kontor-spring
cd kontor-spring
./gradlew bootJar
cd ..
buildah build -f Containerfile.local -t kontor-spring:$kontorVersion kontor-spring
echo " => Baue Image localhost/kontor-api:$kontorVersion"
buildah build --volume /home/tpeetz/projects/kontor/kontor-model:/container/kontor-model -t kontor-api:$kontorVersion kontor-api
echo " => Baue Image localhost/kontor-quarkus:$kontorVersion"
buildah build -t kontor-quarkus:$kontorVersion kontor-quarkus
echo " => Baue Image localhost/kontor-echo:$kontorVersion"
buildah build -t kontor-echo:$kontorVersion kontor-echo
echo " => Baue Image localhost/kontor-fiber:$kontorVersion"
buildah build -t kontor-fiber:$kontorVersion kontor-fiber
echo " => Baue Image localhost/kontor-javalin:$kontorVersion"
buildah build -t kontor-javalin:$kontorVersion kontor-javalin
echo " => Baue Image localhost/kontor-vue:$kontorVersion"
buildah build -t kontor-vue:$kontorVersion kontor-vue
echo " => Baue Image localhost/kontor-angular:$kontorVersion"
buildah build -t kontor-angular:$kontorVersion kontor-angular
+27 -25
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# script/setup: Set up container for the first time after cloning
@@ -6,6 +6,8 @@ set -e
cd "$(dirname "$0")/.."
source version
script/bootstrap
#script/cibuild
@@ -91,8 +93,8 @@ else
fi
echo "==> Setting up container kontor-spring"
if podman image exists localhost/kontor-spring:0.3.0; then
echo " => Image localhost/kontor-spring:0.3.0 available"
if podman image exists localhost/kontor-spring:i$kontorVersion; then
echo " => Image localhost/kontor-spring:$kontorVersion available"
fi
if podman container exists kontor-spring; then
if podman ps -q --filter "name=kontor-spring"; then
@@ -105,12 +107,12 @@ else
--name kontor-spring \
--label "io.containers.autoupdate=local" \
--label "PODMAN_SYSTEMD_UNIT=container-kontor-spring.service" \
localhost/kontor-spring:0.3.0
localhost/kontor-spring:$kontorVersion
fi
echo "==> Setting up container kontor-api"
if podman image exists localhost/kontor-api:0.3.0; then
echo " => Image localhost/kontor-api:0.3.0 available"
if podman image exists localhost/kontor-api:$kontorVersion; then
echo " => Image localhost/kontor-api:$kontorVersion available"
fi
if podman container exists kontor-api; then
if podman ps -q --filter "name=kontor-api"; then
@@ -127,12 +129,12 @@ else
--health-interval=1s \
--health-timeout=5s \
--health-retries=10 \
localhost/kontor-api:0.3.0
localhost/kontor-api:$kontorVersion
fi
echo "==> Setting up container kontor-quarkus"
if podman image exists localhost/kontor-quarkus:0.3.0; then
echo " => Image localhost/kontor-quarkus:0.3.0 available"
if podman image exists localhost/kontor-quarkus:$kontorVersion; then
echo " => Image localhost/kontor-quarkus:$kontorVersion available"
fi
if podman container exists kontor-quarkus; then
if podman ps -q --filter "name=kontor-quarkus"; then
@@ -149,12 +151,12 @@ else
--health-interval=1s \
--health-timeout=5s \
--health-retries=10 \
localhost/kontor-quarkus:0.3.0
localhost/kontor-quarkus:$kontorVersion
fi
echo "==> Setting up container kontor-echo"
if podman image exists localhost/kontor-echo:0.3.0; then
echo " => Image localhost/kontor-echo:0.3.0 available"
if podman image exists localhost/kontor-echo:$kontorVersion; then
echo " => Image localhost/kontor-echo:$kontorVersion available"
fi
if podman container exists kontor-echo; then
if podman ps -q --filter "name=kontor-echo"; then
@@ -171,12 +173,12 @@ else
--health-interval=1s \
--health-timeout=5s \
--health-retries=10 \
localhost/kontor-echo:0.3.0
localhost/kontor-echo:$kontorVersion
fi
echo "==> Setting up container kontor-fiber"
if podman image exists localhost/kontor-fiber:0.3.0; then
echo " => Image localhost/kontor-fiber:0.3.0 available"
if podman image exists localhost/kontor-fiber:$kontorVersion; then
echo " => Image localhost/kontor-fiber:$kontorVersion available"
fi
if podman container exists kontor-fiber; then
if podman ps -q --filter "name=kontor-fiber"; then
@@ -193,12 +195,12 @@ else
--health-interval=1s \
--health-timeout=5s \
--health-retries=10 \
localhost/kontor-fiber:0.3.0
localhost/kontor-fiber:$kontorVersion
fi
echo "==> Setting up container kontor-javalin"
if podman image exists localhost/kontor-javalin:0.3.0; then
echo " => Image localhost/kontor-javalin:0.3.0 available"
if podman image exists localhost/kontor-javalin:$kontorVersion; then
echo " => Image localhost/kontor-javalin:$kontorVersion available"
fi
if podman container exists kontor-javalin; then
if podman ps -q --filter "name=kontor-javalin"; then
@@ -215,12 +217,12 @@ else
--health-interval=1s \
--health-timeout=5s \
--health-retries=10 \
localhost/kontor-javalin:0.3.0
localhost/kontor-javalin:$kontorVersion
fi
echo "==> Setting up container kontor-vue"
if podman image exists localhost/kontor-vue:0.3.0; then
echo " => Image localhost/kontor-vue:0.3.0 available"
if podman image exists localhost/kontor-vue:$kontorVersion; then
echo " => Image localhost/kontor-vue:$kontorVersion available"
fi
if podman container exists kontor-vue; then
if podman ps -q --filter "name=kontor-vue"; then
@@ -233,12 +235,12 @@ else
--name kontor-vue \
--label "io.containers.autoupdate=local" \
--label "PODMAN_SYSTEMD_UNIT=container-kontor-vue.service" \
localhost/kontor-vue:0.3.0
localhost/kontor-vue:$kontorVersion
fi
echo "==> Setting up container kontor-angular"
if podman image exists localhost/kontor-angular:0.3.0; then
echo " => Image localhost/kontor-angular:0.3.0 available"
if podman image exists localhost/kontor-angular:$kontorVersion; then
echo " => Image localhost/kontor-angular:$kontorVersion available"
fi
if podman container exists kontor-angular; then
if podman ps -q --filter "name=kontor-angular"; then
@@ -251,6 +253,6 @@ else
--name kontor-angular \
--label "io.containers.autoupdate=local" \
--label "PODMAN_SYSTEMD_UNIT=container-kontor-angular.service" \
localhost/kontor-angular:0.3.0
localhost/kontor-angular:$kontorVersion
fi
+3 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# script/update:
@@ -6,6 +6,8 @@ set -e
cd "$(dirname "$0")/.."
source version
echo "==> Stopping and removing pod kontor"
if podman pod exists kontor; then
podman pod stop kontor