Test with explicit host labels in registration

Added --labels flag to registration command:
- Explicitly specify host execution during registration
- Should override any container-based execution
- Testing if Docker daemon errors are finally resolved

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Evan Carroll 2025-06-08 00:56:43 -05:00
parent d6f06c964a
commit 204066eae4
8 changed files with 341 additions and 0 deletions

View file

@ -0,0 +1,38 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "forgejo-runner.fullname" . }}-config
labels:
{{- include "forgejo-runner.labels" . | nindent 4 }}
data:
config.yaml: |
# Config for Forgejo runner
log:
level: info
runner:
file: .runner
capacity: 1
timeout: 3h
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels:
- "ubuntu-latest:host"
- "ubuntu-22.04:host"
- "node:host"
- "alpine:host"
cache:
enabled: true
dir: ""
host: ""
port: 0
container:
network: "bridge"
privileged: false
options: ""
workdir_parent: "/tmp/actions"
force_pull: true
valid_volumes: []
podman_binary: "podman"
host:
workdir_parent: "/tmp/actions"