From fdd946b3d49716ab4c1402ab1a26cd69fe9331b0 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Thu, 18 Jun 2026 13:43:52 -0500 Subject: [PATCH] fix(ci): serialize build+deploy via concurrency group to prevent Docker exhaustion --- .gitea/workflows/ci.yaml | 6 ++++++ .gitea/workflows/deploy-gke.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 56b0090..d65f2da 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -9,6 +9,12 @@ on: - main workflow_dispatch: +# Same group as deploy-gke so builds and deploys queue behind each other. +# Prevents concurrent Docker daemon exhaustion on the single GCE runner. +concurrency: + group: neuron-runner + cancel-in-progress: false + jobs: build: runs-on: ubuntu-latest diff --git a/.gitea/workflows/deploy-gke.yaml b/.gitea/workflows/deploy-gke.yaml index 0f72df0..a7fab40 100644 --- a/.gitea/workflows/deploy-gke.yaml +++ b/.gitea/workflows/deploy-gke.yaml @@ -18,6 +18,12 @@ on: required: false default: "green" +# Serialize all builds on this runner — concurrent jobs exhaust the Docker daemon. +# A queued deploy runs after the in-progress build finishes. +concurrency: + group: neuron-runner + cancel-in-progress: false + jobs: deploy: runs-on: ubuntu-latest