Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
Expand All @@ -37,7 +37,7 @@ jobs:
npm run build

- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: frontend-build
path: frontend/dist
Expand All @@ -51,10 +51,10 @@ jobs:
service: [worker-ml, model-service, storage, monitoring, worker-node]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'

Expand Down Expand Up @@ -86,10 +86,10 @@ jobs:
service: [api-gateway, orchestrator, worker, worker-ml, model-service, storage, monitoring]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build Docker Image
run: |
Expand All @@ -103,7 +103,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
Expand All @@ -114,7 +114,7 @@ jobs:
output: 'trivy-results.sarif'

- name: Upload Trivy results to GitHub Security
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'

Expand All @@ -125,10 +125,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

Expand All @@ -151,10 +151,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ DEBUG=false
LOG_LEVEL=warning

# MongoDB (use managed service)
MONGODB_URL=mongodb+srv://aditya:k8wcfwhwbFw6ejct@cluster0.poidcg0.mongodb.net/tensorfleet?retryWrites=true&w=majority
MONGODB_URL=mongodb+srv://username:password@cluster.mongodb.net/tensorfleet?retryWrites=true&w=majority
MONGODB_DB=tensorfleet

# Redis (use managed service)
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ services:
ports:
- "8000:8000"
environment:
- MONGODB_URL=mongodb+srv://aditya:k8wcfwhwbFw6ejct@cluster0.poidcg0.mongodb.net/tensorfleet?retryWrites=true&w=majority
- MONGODB_URL=mongodb+srv://aditya:N6dZepf9h6v8hSyQ@cluster0.poidcg0.mongodb.net/tensorfleet?retryWrites=true&w=majority
- MONGODB_DB=tensorfleet
depends_on:
mongodb:
Expand All @@ -230,7 +230,7 @@ services:
- "8083:8083"
environment:
- PORT=8083
- MONGODB_URL=mongodb://admin:password123@mongodb:27017/tensorfleet?authSource=admin
- MONGODB_URL=mongodb+srv://aditya:N6dZepf9h6v8hSyQ@cluster0.poidcg0.mongodb.net/tensorfleet?retryWrites=true&w=majority
- MONGODB_DB=tensorfleet
depends_on:
mongodb:
Expand Down
2 changes: 1 addition & 1 deletion k8s/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
MINIO_ENDPOINT: "minio-service:9000"
MINIO_SECURE: "false"
ORCHESTRATOR_ADDR: "orchestrator-service:50051"
MONGODB_URL: "mongodb+srv://aditya:k8wcfwhwbFw6ejct@cluster0.poidcg0.mongodb.net/tensorfleet?retryWrites=true&w=majority"
MONGODB_URL: "mongodb+srv://aditya:N6dZepf9h6v8hSyQ@cluster0.poidcg0.mongodb.net/tensorfleet?retryWrites=true&w=majority"
MONGODB_DB: "tensorfleet"
---
apiVersion: v1
Expand Down
Loading