chore: eigenes Repository — .werkator.yml und README nach der Herauslösung

Werkdock ist aus dem Werkator-Repository herausgelöst (Plan-Schritt 21,
Sitzung E). Die Historie der neun Commits unterhalb von `werkdock/` bleibt
erhalten (`git subtree split`), die Pfade rücken um das Präfix nach oben.

Die Build-Definition zieht unverändert mit — sie wird hier zur einzigen und
heißt deshalb `default`. Werkator baut Werkdock damit nicht mehr mit; es
konsumiert das Binary über PATH, wie es `git` konsumiert.

Zuhause ist https://git.javagil.de/mi/werkdock; der Gitea-Block der
Konfiguration zeigt dorthin, damit Statusmeldungen am richtigen Commit
landen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Michael Hönnig
2026-09-03 14:40:04 +02:00
co-authored by Claude Opus 5
parent 76792086e6
commit ccc6176caf
2 changed files with 41 additions and 3 deletions
+35
View File
@@ -0,0 +1,35 @@
# Werkator CI configuration for Werkdock (built by https://werkator.javagil.de).
# Reference: https://github.com/mhoennig/werkator/blob/main/docs/configuration.md
#
# Werkdock lived in the Werkator repository until the extraction (plan step 21,
# session E); its build definition moved here unchanged, minus the werkdock/
# path prefix it needed as a subdirectory.
werkator:
version:
since: "1.0.1"
gitea:
baseUrl: https://git.javagil.de
owner: mi
repo: werkdock
statusContext: werkator
artifacts:
retentionPerBranch: 3
watcher:
newBranchMaxAge: 5d
builds:
# One build: the Go module at the repository root. The first gofmt call
# prints any unformatted files, the second fails the build on them.
# Needs the go toolchain in the build environment.
default:
trigger:
onPush: true
cleanCommand: rm -rf dist
buildCommand: gofmt -l . && test -z "$(gofmt -l .)" && go vet ./... && go test ./... && CGO_ENABLED=0 go build -o dist/werkdock .
artifactDirs:
- dist
stdoutLog: build.stdout.log
stderrLog: build.stderr.log