From 757ccea5b9408d2f49d0b7c23220463908061b36 Mon Sep 17 00:00:00 2001 From: Emil Simeonov Date: Tue, 22 Sep 2026 18:56:48 +0200 Subject: [PATCH] style: trim comments for size gate --- ansible/roles/gitea_runner/defaults/main.yml | 4 ++-- ansible/roles/gitea_runner/templates/runner-cleanup.sh.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/gitea_runner/defaults/main.yml b/ansible/roles/gitea_runner/defaults/main.yml index bd995af..9221d9f 100644 --- a/ansible/roles/gitea_runner/defaults/main.yml +++ b/ansible/roles/gitea_runner/defaults/main.yml @@ -136,8 +136,8 @@ gitea_runner_containerd_max_compatible_major: 2 gitea_runner_containerd_max_compatible_minor: 2 # Production-host exclusion (GRM-173): the role fails when the target is a -# production host — either via this flag or the /etc/oblachno/production-host -# marker file — unless allow_production_host explicitly overrides. +# production host — via this flag or the marker file — unless +# allow_production_host explicitly overrides. gitea_runner_on_production_host: false gitea_runner_allow_production_host: false gitea_runner_production_marker_path: "/etc/oblachno/production-host" diff --git a/ansible/roles/gitea_runner/templates/runner-cleanup.sh.j2 b/ansible/roles/gitea_runner/templates/runner-cleanup.sh.j2 index 2ef6447..009165c 100644 --- a/ansible/roles/gitea_runner/templates/runner-cleanup.sh.j2 +++ b/ansible/roles/gitea_runner/templates/runner-cleanup.sh.j2 @@ -10,9 +10,9 @@ DOCKER_HOST="unix:///run/user/{{ gitea_runner_uid }}/docker.sock" XDG_RUNTIME_DIR="/run/user/{{ gitea_runner_uid }}" export DOCKER_HOST XDG_RUNTIME_DIR +# REQ-1 label contract: `org.oblachno.lease-until` (epoch) protects an object +# while in the future; `org.oblachno.owner` records the owning run. TIER="${1:-routine}" -# REQ-1 label contract: `org.oblachno.lease-until` (epoch) protects an -# object while in the future; `org.oblachno.owner` records the owning run. LEASE_UNTIL_LABEL="org.oblachno.lease-until" KEEP_IMAGES_RE="{{ gitea_runner_keep_images | join('|') }}" now_epoch=$(date +%s)