Switch to Brian's registry at 192.168.86.11:30095, add CI build+push+deploy jobs

- All services pull from 192.168.86.11:30095 instead of localhost:5000
- Removed self-hosted registry container (Brian runs his own)
- CI workflows: test → build → push to registry → deploy
- build-push.sh and watch-loop.sh updated with new registry address
This commit is contained in:
2026-03-02 05:28:35 +00:00
parent 1ea42bbb87
commit 6b79d3cbc9
8 changed files with 83 additions and 17 deletions

View File

@@ -49,3 +49,18 @@ jobs:
- name: Test
run: cd $GITHUB_WORKSPACE/products/02-iac-drift-detection/saas && npm test
build-push:
runs-on: ubuntu-latest
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

View File

@@ -24,3 +24,18 @@ jobs:
- name: Test
run: cd $GITHUB_WORKSPACE/products/03-alert-intelligence && npm test
build-push:
runs-on: ubuntu-latest
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

View File

@@ -24,3 +24,18 @@ jobs:
- name: Test
run: cd $GITHUB_WORKSPACE/products/04-lightweight-idp && npm test
build-push:
runs-on: ubuntu-latest
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

View File

@@ -24,3 +24,18 @@ jobs:
- name: Test
run: cd $GITHUB_WORKSPACE/products/05-aws-cost-anomaly && npm test
build-push:
runs-on: ubuntu-latest
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

View File

@@ -24,3 +24,18 @@ jobs:
- name: Test
run: cd $GITHUB_WORKSPACE/products/06-runbook-automation/saas && npm test
build-push:
runs-on: ubuntu-latest
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