Its own `.werkator.yml` still used the deprecated `branches` section with an `autoBuild` schedule that was switched off. That section is read only while nothing defines a build at all, and step 18 rejects it by name — so this repository would have blocked the precondition of that step, which asks that no configuration still in play carries it. Nothing about the build changes: `builds.default` with `trigger.onPush` is a build of every new commit on every branch, which is what the branch section said. `config:print --full` resolves the definition completely and logs no deprecation warning any more. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
39 lines
1.5 KiB
YAML
39 lines
1.5 KiB
YAML
server:
|
|
# Public base URL of this Werkator installation — used for all links posted to Gitea.
|
|
publicBaseUrl: ""
|
|
|
|
# Gitea integration for fetching commits and posting build statuses.
|
|
gitea:
|
|
baseUrl: https://github.com # base URL of the Gitea instance
|
|
owner: mhoennig # repository owner (user or organisation) for Gitea API (e.g. status checks)
|
|
repo: werkator # repository name
|
|
statusContext: werkator # label shown on Gitea commit status checks (default: werkator)
|
|
|
|
# Build artifact retention.
|
|
artifacts:
|
|
# number of builds to keep per branch
|
|
retentionPerBranch: 3
|
|
|
|
# Controls the branch-polling loop.
|
|
watcher:
|
|
# max commit age for new origin branches to be pulled automatically
|
|
newBranchMaxAge: 5d
|
|
|
|
# Named build definitions. "default" is the base every other one inherits its
|
|
# settings from — never its trigger.
|
|
builds:
|
|
default:
|
|
# When this build runs and for which branches. The only part a build does
|
|
# NOT inherit from the default — everything below it does.
|
|
trigger:
|
|
onPush: true # build every new commit of the selected branches
|
|
# run before each build
|
|
cleanCommand: rm -rf build
|
|
# shell command for each build
|
|
buildCommand: ./gradlew --console=plain --no-daemon test
|
|
# directories copied as build artifacts
|
|
artifactDirs:
|
|
- build/reports
|
|
stdoutLog: build.stdout.log # filename for captured stdout
|
|
stderrLog: build.stderr.log # filename for captured stderr
|