Compare commits

...
5 Commits
Author SHA1 Message Date
zemion 3b1a13b84d chore(portal): bump embedded release to 0.20.2 with translator-tools 0.1.1
Verify / verify (push) Canceled after 0s
2026-09-03 09:16:53 +02:00
zemion cd54847af8 chore(portal): add deploy helper for untagged HEAD
Verify / verify (push) Canceled after 0s
2026-09-03 08:40:49 +02:00
zemion 9dbbdb5ed2 commit containerfile
Verify / verify (push) Canceled after 0s
2026-09-03 01:01:29 +02:00
zemion f3c634120c toolbox-portal: update translator-tools to v0.1.1
Verify / verify (push) Canceled after 0s
2026-09-02 23:58:17 +02:00
zemion ae74d22cde chore(toolbox-portal): default compose to release 0.20.1
Verify / verify (push) Canceled after 0s
2026-09-02 22:19:44 +02:00
8 changed files with 48 additions and 13 deletions
+2 -2
View File
@@ -5,5 +5,5 @@ TRAEFIK_NETWORK=internal
TRAEFIK_CERT_RESOLVER=netcup
# Keep these two values paired when deploying a newer published toolbox release.
TOOLBOX_RELEASE_VERSION=0.20.0
TOOLBOX_RELEASE_SHA256=450618902a1ee87405da463881e6f51f685691c2081259aff9c25a4aa6fe22ed
TOOLBOX_RELEASE_VERSION=0.20.2
TOOLBOX_RELEASE_SHA256=66f02f95092ef80b9e49cda91c8401400e2ee1d2c640ab20a3a7810bf265c2c7
+3 -2
View File
@@ -2,8 +2,8 @@ ARG NGINX_IMAGE=nginxinc/nginx-unprivileged:1.31.3-alpine@sha256:18d67281256ded3
FROM ${NGINX_IMAGE} AS release
ARG TOOLBOX_RELEASE_VERSION=0.20.0
ARG TOOLBOX_RELEASE_SHA256=450618902a1ee87405da463881e6f51f685691c2081259aff9c25a4aa6fe22ed
ARG TOOLBOX_RELEASE_VERSION=0.20.2
ARG TOOLBOX_RELEASE_SHA256=66f02f95092ef80b9e49cda91c8401400e2ee1d2c640ab20a3a7810bf265c2c7
ARG TOOLBOX_RELEASE_BASE_URL=https://git.add-ideas.de/lotobo/toolbox-portal/releases/download
RUN set -eu; \
@@ -43,6 +43,7 @@ RUN set -eu; \
test -f /tmp/toolbox/apps/diff/toolbox-app.json; \
test -f /tmp/toolbox/apps/time/toolbox-app.json; \
test -f /tmp/toolbox/apps/text/toolbox-app.json; \
test -f /tmp/toolbox/apps/translator/toolbox-app.json; \
test -f /tmp/toolbox/apps/unicode/toolbox-app.json; \
test -f /tmp/toolbox/apps/flow/toolbox-app.json; \
test -f /tmp/toolbox/apps/subtitle/toolbox-app.json; \
+11 -1
View File
@@ -99,7 +99,17 @@ Deploy a fresh clone with:
```sh
git clone https://git.add-ideas.de/lotobo/toolbox-portal.git
cd toolbox-portal
docker compose up -d --build
./scripts/deploy-update.sh
```
If you prefer the inline command:
```sh
git fetch origin --tags && \
git pull --ff-only origin main && \
{ TAG="$(git describe --tags --exact-match 2>/dev/null || git describe --tags --abbrev=0 2>/dev/null || true)"; \
if [ -n "$TAG" ]; then echo "$TAG"; else echo "warning: no matching tags found"; fi; } && \
docker compose up -d --build && \
docker compose ps
```
+1 -1
View File
@@ -3,7 +3,7 @@ services:
build:
context: .
dockerfile: Containerfile
image: git.add-ideas.de/lotobo/toolbox:0.20.0
image: git.add-ideas.de/lotobo/toolbox:0.20.2
restart: unless-stopped
read_only: true
ports:
+3 -3
View File
@@ -6,9 +6,9 @@ services:
context: .
dockerfile: Containerfile.release
args:
TOOLBOX_RELEASE_VERSION: "${TOOLBOX_RELEASE_VERSION:-0.20.0}"
TOOLBOX_RELEASE_SHA256: "${TOOLBOX_RELEASE_SHA256:-450618902a1ee87405da463881e6f51f685691c2081259aff9c25a4aa6fe22ed}"
image: "git.add-ideas.de/lotobo/toolbox:${TOOLBOX_RELEASE_VERSION:-0.20.0}"
TOOLBOX_RELEASE_VERSION: "${TOOLBOX_RELEASE_VERSION:-0.20.2}"
TOOLBOX_RELEASE_SHA256: "${TOOLBOX_RELEASE_SHA256:-66f02f95092ef80b9e49cda91c8401400e2ee1d2c640ab20a3a7810bf265c2c7}"
image: "git.add-ideas.de/lotobo/toolbox:${TOOLBOX_RELEASE_VERSION:-0.20.2}"
restart: unless-stopped
read_only: true
tmpfs:
+4 -4
View File
@@ -1,7 +1,7 @@
{
"$schema": "./toolbox-release-lock.schema.json",
"schemaVersion": 1,
"releaseVersion": "0.20.1",
"releaseVersion": "0.20.2",
"portalVersion": "0.2.23",
"catalogue": {
"id": "de.add-ideas.toolbox",
@@ -190,9 +190,9 @@
},
{
"id": "de.add-ideas.translator-tools",
"version": "0.1.0",
"artifact": "https://git.add-ideas.de/lotobo/translator-tools/releases/download/v0.1.0/translator-tools-0.1.0.zip",
"sha256": "8f18e7c629a51ed628e642945374f731b14e97168098318a2331bb419eceee8d",
"version": "0.1.1",
"artifact": "https://git.add-ideas.de/lotobo/translator-tools/releases/download/v0.1.1/translator-tools-0.1.1.zip",
"sha256": "9ff7a14f7b0730bee327d78d2e25364f53a16afd8b675acb0ad81bee9a1710f4",
"target": "translator"
},
{
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
cd "${PROJECT_DIR}"
git fetch origin --tags
git pull --ff-only origin main
if ! TAG="$(git describe --tags --exact-match 2>/dev/null)"; then
TAG="$(git describe --tags --abbrev=0 2>/dev/null || true)"
if [ -z "${TAG}" ]; then
echo "warning: current commit is untagged and no tagged ancestor was found"
else
echo "warning: current commit is untagged; nearest tag is ${TAG}"
fi
else
echo "tagged: ${TAG}"
fi
docker compose up -d --build
docker compose ps
+1
View File
@@ -53,6 +53,7 @@ const expectedAppTargets = [
'diff',
'time',
'text',
'translator',
'unicode',
'flow',
'subtitle',