Add CI build-push jobs targeting reg.dd0c.net with docker login + deploy
Some checks failed
CI — P2 Drift (Go + Node) / saas (push) Successful in 26s
CI — P2 Drift (Go + Node) / agent (push) Successful in 53s
CI — P3 Alert / test (push) Successful in 26s
CI — P5 Cost / test (push) Successful in 22s
CI — P4 Portal / test (push) Successful in 38s
CI — P2 Drift (Go + Node) / build-push (push) Failing after 4s
CI — P3 Alert / build-push (push) Failing after 2s
CI — P6 Run / saas (push) Successful in 22s
CI — P5 Cost / build-push (push) Failing after 2s
CI — P4 Portal / build-push (push) Failing after 3s
CI — P6 Run / build-push (push) Failing after 2s
Some checks failed
CI — P2 Drift (Go + Node) / saas (push) Successful in 26s
CI — P2 Drift (Go + Node) / agent (push) Successful in 53s
CI — P3 Alert / test (push) Successful in 26s
CI — P5 Cost / test (push) Successful in 22s
CI — P4 Portal / test (push) Successful in 38s
CI — P2 Drift (Go + Node) / build-push (push) Failing after 4s
CI — P3 Alert / build-push (push) Failing after 2s
CI — P6 Run / saas (push) Successful in 22s
CI — P5 Cost / build-push (push) Failing after 2s
CI — P4 Portal / build-push (push) Failing after 3s
CI — P6 Run / build-push (push) Failing after 2s
This commit is contained in:
@@ -50,3 +50,19 @@ 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: Login and push
|
||||
run: |
|
||||
echo "secret" | docker login reg.dd0c.net --username dd0c --password-stdin
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker build -t reg.dd0c.net/dd0c-drift:latest ./02-iac-drift-detection/saas
|
||||
docker push reg.dd0c.net/dd0c-drift:latest
|
||||
- name: Deploy
|
||||
run: cd $GITHUB_WORKSPACE/products && docker compose pull drift && docker compose up -d drift
|
||||
|
||||
@@ -25,3 +25,19 @@ 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: Login and push
|
||||
run: |
|
||||
echo "secret" | docker login reg.dd0c.net --username dd0c --password-stdin
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker build -t reg.dd0c.net/dd0c-alert:latest ./03-alert-intelligence
|
||||
docker push reg.dd0c.net/dd0c-alert:latest
|
||||
- name: Deploy
|
||||
run: cd $GITHUB_WORKSPACE/products && docker compose pull alert && docker compose up -d alert
|
||||
|
||||
@@ -25,3 +25,19 @@ 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: Login and push
|
||||
run: |
|
||||
echo "secret" | docker login reg.dd0c.net --username dd0c --password-stdin
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker build -t reg.dd0c.net/dd0c-portal:latest ./04-lightweight-idp
|
||||
docker push reg.dd0c.net/dd0c-portal:latest
|
||||
- name: Deploy
|
||||
run: cd $GITHUB_WORKSPACE/products && docker compose pull portal && docker compose up -d portal
|
||||
|
||||
@@ -25,3 +25,19 @@ 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: Login and push
|
||||
run: |
|
||||
echo "secret" | docker login reg.dd0c.net --username dd0c --password-stdin
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker build -t reg.dd0c.net/dd0c-cost:latest ./05-aws-cost-anomaly
|
||||
docker push reg.dd0c.net/dd0c-cost:latest
|
||||
- name: Deploy
|
||||
run: cd $GITHUB_WORKSPACE/products && docker compose pull cost && docker compose up -d cost
|
||||
|
||||
@@ -25,3 +25,19 @@ 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: Login and push
|
||||
run: |
|
||||
echo "secret" | docker login reg.dd0c.net --username dd0c --password-stdin
|
||||
cd $GITHUB_WORKSPACE/products
|
||||
docker build -t reg.dd0c.net/dd0c-run:latest ./06-runbook-automation/saas
|
||||
docker push reg.dd0c.net/dd0c-run:latest
|
||||
- name: Deploy
|
||||
run: cd $GITHUB_WORKSPACE/products && docker compose pull run && docker compose up -d run
|
||||
|
||||
Reference in New Issue
Block a user