From ee11ef9e9b5ad327ad20957742a8e04a736d7616 Mon Sep 17 00:00:00 2001 From: Max Mayfield Date: Mon, 2 Mar 2026 05:35:46 +0000 Subject: [PATCH] =?UTF-8?q?Remove=20build-push=20from=20CI=20=E2=80=94=20N?= =?UTF-8?q?as=20runner=20lacks=20Docker=20socket=20inside=20containers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build+push must happen on the NAS host via watch-loop.sh or build-push.sh --- .gitea/workflows/ci-p2-drift.yml | 14 -------------- .gitea/workflows/ci-p3-alert.yml | 14 -------------- .gitea/workflows/ci-p4-portal.yml | 14 -------------- .gitea/workflows/ci-p5-cost.yml | 14 -------------- .gitea/workflows/ci-p6-run.yml | 14 -------------- 5 files changed, 70 deletions(-) diff --git a/.gitea/workflows/ci-p2-drift.yml b/.gitea/workflows/ci-p2-drift.yml index d630027..b6524fb 100644 --- a/.gitea/workflows/ci-p2-drift.yml +++ b/.gitea/workflows/ci-p2-drift.yml @@ -50,17 +50,3 @@ jobs: run: cd $GITHUB_WORKSPACE/products/02-iac-drift-detection/saas && npm test - build-push: - runs-on: ubuntu-24.04 - needs: test - if: github.ref == 'refs/heads/main' - steps: - - name: Checkout - run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true - - name: Build and push - run: | - cd $GITHUB_WORKSPACE/products - docker build -t 192.168.86.11:30095/dd0c-drift:latest ./02-iac-drift-detection/saas - docker push 192.168.86.11:30095/dd0c-drift:latest - - name: Deploy - run: cd $GITHUB_WORKSPACE/products && docker compose pull drift && docker compose up -d drift diff --git a/.gitea/workflows/ci-p3-alert.yml b/.gitea/workflows/ci-p3-alert.yml index c831ec0..d4af3b4 100644 --- a/.gitea/workflows/ci-p3-alert.yml +++ b/.gitea/workflows/ci-p3-alert.yml @@ -25,17 +25,3 @@ jobs: run: cd $GITHUB_WORKSPACE/products/03-alert-intelligence && npm test - build-push: - runs-on: ubuntu-24.04 - needs: test - if: github.ref == 'refs/heads/main' - steps: - - name: Checkout - run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true - - name: Build and push - run: | - cd $GITHUB_WORKSPACE/products - docker build -t 192.168.86.11:30095/dd0c-alert:latest ./03-alert-intelligence - docker push 192.168.86.11:30095/dd0c-alert:latest - - name: Deploy - run: cd $GITHUB_WORKSPACE/products && docker compose pull alert && docker compose up -d alert diff --git a/.gitea/workflows/ci-p4-portal.yml b/.gitea/workflows/ci-p4-portal.yml index 0d72e1b..22f7e17 100644 --- a/.gitea/workflows/ci-p4-portal.yml +++ b/.gitea/workflows/ci-p4-portal.yml @@ -25,17 +25,3 @@ jobs: run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npm test - build-push: - runs-on: ubuntu-24.04 - needs: test - if: github.ref == 'refs/heads/main' - steps: - - name: Checkout - run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true - - name: Build and push - run: | - cd $GITHUB_WORKSPACE/products - docker build -t 192.168.86.11:30095/dd0c-portal:latest ./04-lightweight-idp - docker push 192.168.86.11:30095/dd0c-portal:latest - - name: Deploy - run: cd $GITHUB_WORKSPACE/products && docker compose pull portal && docker compose up -d portal diff --git a/.gitea/workflows/ci-p5-cost.yml b/.gitea/workflows/ci-p5-cost.yml index f7c009e..5391292 100644 --- a/.gitea/workflows/ci-p5-cost.yml +++ b/.gitea/workflows/ci-p5-cost.yml @@ -25,17 +25,3 @@ jobs: run: cd $GITHUB_WORKSPACE/products/05-aws-cost-anomaly && npm test - build-push: - runs-on: ubuntu-24.04 - needs: test - if: github.ref == 'refs/heads/main' - steps: - - name: Checkout - run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true - - name: Build and push - run: | - cd $GITHUB_WORKSPACE/products - docker build -t 192.168.86.11:30095/dd0c-cost:latest ./05-aws-cost-anomaly - docker push 192.168.86.11:30095/dd0c-cost:latest - - name: Deploy - run: cd $GITHUB_WORKSPACE/products && docker compose pull cost && docker compose up -d cost diff --git a/.gitea/workflows/ci-p6-run.yml b/.gitea/workflows/ci-p6-run.yml index f2e1848..77d40a9 100644 --- a/.gitea/workflows/ci-p6-run.yml +++ b/.gitea/workflows/ci-p6-run.yml @@ -25,17 +25,3 @@ jobs: run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npm test - build-push: - runs-on: ubuntu-24.04 - needs: test - if: github.ref == 'refs/heads/main' - steps: - - name: Checkout - run: git clone --depth=1 http://192.168.86.11:3005/jarvis/dd0c.git $GITHUB_WORKSPACE || true - - name: Build and push - run: | - cd $GITHUB_WORKSPACE/products - docker build -t 192.168.86.11:30095/dd0c-run:latest ./06-runbook-automation/saas - docker push 192.168.86.11:30095/dd0c-run:latest - - name: Deploy - run: cd $GITHUB_WORKSPACE/products && docker compose pull run && docker compose up -d run