From 42ebc2b122e54ba56bb9b6101a102604e88bb3b8 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Wed, 11 Feb 2026 16:53:41 -0800 Subject: [PATCH] Fix Forgejo runner timezone (UTC -> America/Los_Angeles) (#159) ## Summary - Set `TZ=America/Los_Angeles` on the Forgejo runner container The runner pod defaults to UTC. When releases are cut in the evening PST, towncrier stamps changelog entries with tomorrow's date (e.g., v1.6.2 shows 2026-02-12 despite being released on the evening of Feb 11 PST). ## Deployment After merge, sync the forgejo-runner ArgoCD app: ``` argocd app sync forgejo-runner ``` The runner pod will restart with the new timezone. Note: the v1.6.2 changelog entry will remain dated 2026-02-12; future entries will use PST dates, so dates may appear non-sequential once. Reviewed-on: https://forge.ops.eblu.me/eblume/blumeops/pulls/159 --- argocd/manifests/forgejo-runner/deployment.yaml | 2 ++ docs/changelog.d/fix-runner-timezone.bugfix.md | 1 + 2 files changed, 3 insertions(+) create mode 100644 docs/changelog.d/fix-runner-timezone.bugfix.md diff --git a/argocd/manifests/forgejo-runner/deployment.yaml b/argocd/manifests/forgejo-runner/deployment.yaml index 28d2c65..9720033 100644 --- a/argocd/manifests/forgejo-runner/deployment.yaml +++ b/argocd/manifests/forgejo-runner/deployment.yaml @@ -20,6 +20,8 @@ spec: - name: runner image: code.forgejo.org/forgejo/runner:6.3.1 env: + - name: TZ + value: America/Los_Angeles - name: DOCKER_HOST value: tcp://localhost:2375 command: diff --git a/docs/changelog.d/fix-runner-timezone.bugfix.md b/docs/changelog.d/fix-runner-timezone.bugfix.md new file mode 100644 index 0000000..b7bcacb --- /dev/null +++ b/docs/changelog.d/fix-runner-timezone.bugfix.md @@ -0,0 +1 @@ +Set Forgejo runner timezone to America/Los_Angeles. The runner previously used UTC, causing towncrier changelog entries to show tomorrow's date when releases were cut in the evening. Note: the v1.6.2 changelog entry shows 2026-02-12 due to this bug; dates may appear non-sequential as a result.