From cb548ee09a81cafd43b7fd5511b8e30020525e6c Mon Sep 17 00:00:00 2001 From: snothub Date: Wed, 8 Apr 2026 12:56:07 +0200 Subject: [PATCH] gitea actions --- .gitignore | 3 +- infra/gitea-actions.yaml | 2 +- infra/values/gitea-actions-values.yaml | 46 +++++++++++++------------- 3 files changed, 26 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index 61960a7..6f744e3 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ CLAUDE.md .claude/ devbox.d/ devbox.lock -.devbox/ \ No newline at end of file +.devbox/ +bash.exe.stackdump \ No newline at end of file diff --git a/infra/gitea-actions.yaml b/infra/gitea-actions.yaml index f9d5ce0..0f763cf 100644 --- a/infra/gitea-actions.yaml +++ b/infra/gitea-actions.yaml @@ -17,7 +17,7 @@ spec: sources: - repoURL: https://dl.gitea.com/charts chart: actions - targetRevision: "*" + targetRevision: "0.0.5" helm: releaseName: gitea-actions valueFiles: diff --git a/infra/values/gitea-actions-values.yaml b/infra/values/gitea-actions-values.yaml index 5f68173..288fda5 100644 --- a/infra/values/gitea-actions-values.yaml +++ b/infra/values/gitea-actions-values.yaml @@ -1,18 +1,15 @@ ## Gitea Act Runner - Helm values -## Chart: actions (https://dl.gitea.com/charts) +## Chart: actions v0.0.5 (https://dl.gitea.com/charts) -replicaCount: 3 +enabled: true -runner: - config: | - log: - level: info - runner: - labels: - - "ubuntu-latest:docker://node:20-bookworm" - - "ubuntu-22.04:docker://node:20-bookworm" +giteaRootURL: http://gitea-http.gitea.svc.cluster.local:3000 - existingSecret: gitea-runner-token +existingSecret: gitea-runner-token +existingSecretKey: token + +statefulset: + replicas: 3 resources: requests: @@ -22,16 +19,19 @@ runner: cpu: "1" memory: 1Gi -gitea: - instance: - url: http://gitea-http.gitea.svc.cluster.local:3000 + actRunner: + config: | + log: + level: info + cache: + enabled: false + container: + require_docker: true + docker_timeout: 300s + runner: + labels: + - "ubuntu-latest:docker://node:20-bookworm" + - "ubuntu-22.04:docker://node:20-bookworm" -dind: - enabled: true - resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: "1" - memory: 1Gi + dind: + rootless: false