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
+6 -3
View File
@@ -41,6 +41,9 @@ werkdock run --rm -v /repo:/repo -w /repo IMAGE sh -c './gradlew build'
Status: bootstrap. Status: bootstrap.
The implementation language is Go, decided in [RFC 0001](docs/rfcs/0001-implementation-language.md). The implementation language is Go, decided in [RFC 0001](docs/rfcs/0001-implementation-language.md).
Werkdock grows in this subdirectory of the Werkator repository and moves to its own repository once it stands on its own. Werkdock grew in the `werkdock/` subdirectory of the [Werkator](https://github.com/mhoennig/werkator) repository and
It must stay self-contained: no imports from Werkator code, no Gradle coupling to the Werkator build. moved here once it stood on its own (Werkator plan step 21, session E); the history above the split is preserved.
The roadmap is session B of [docs/plan/21-werkdock-extraction-and-webspace-install.md](../docs/plan/21-werkdock-extraction-and-webspace-install.md). It stays self-contained: no imports from Werkator code, no coupling to the Werkator build — Werkator consumes the
binary through `PATH` (`bwrap.werkdock`), the way it consumes `git`.
Its own CI is the `.werkator.yml` in this repository; the roadmap that created it is session B of Werkator's
[plan step 21](https://github.com/mhoennig/werkator/blob/main/docs/plan/21-werkdock-extraction-and-webspace-install.md).