Skip to content

Commit

Permalink
fix all deploys right way
Browse files Browse the repository at this point in the history
  • Loading branch information
veckatimest committed May 22, 2024
1 parent 3ac9234 commit 0e365fe
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions build/production/core-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: core-api
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/core-api:latest
command: ["yarn"]
args: ["start:core"]
command: ["node"]
args: ["core/main.js"]
readinessProbe:
httpGet:
path: /health-check
Expand Down
4 changes: 2 additions & 2 deletions build/production/core-tasks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: core-tasks
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/core-tasks:latest
command: ["yarn"]
args: ["start:tasks"]
command: ["node"]
args: ["tasks/main.js"]
envFrom:
- secretRef:
name: core-secrets
Expand Down
4 changes: 2 additions & 2 deletions build/production/media-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: media-api
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/core-api:latest
command: ["yarn"]
args: ["start:core"]
command: ["node"]
args: ["core/main.js"]
readinessProbe:
httpGet:
path: /health-check
Expand Down
4 changes: 2 additions & 2 deletions build/production/noncore-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: noncore-api
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/noncore-api:latest
command: ["yarn"]
args: ["start:noncore"]
command: ["node"]
args: ["noncore/main.js"]
readinessProbe:
httpGet:
path: /v1/health-check
Expand Down
4 changes: 2 additions & 2 deletions build/production/noncore-mqtt/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: noncore-mqtt
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/noncore-mqtt:latest
command: ["yarn"]
args: ["start:mqtt"]
command: ["node"]
args: ["mqtt/main.js"]
envFrom:
- secretRef:
name: noncore-secrets
Expand Down
4 changes: 2 additions & 2 deletions build/staging/core-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: core-api
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/core-api:latest
command: ["yarn"]
args: ["start:core"]
command: ["node"]
args: ["core/main.js"]
readinessProbe:
httpGet:
path: /health-check
Expand Down
4 changes: 2 additions & 2 deletions build/staging/core-tasks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: core-tasks
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/core-tasks:latest
command: ["yarn"]
args: ["start:tasks"]
command: ["node"]
args: ["tasks/main.js"]
envFrom:
- secretRef:
name: core-secrets
Expand Down
4 changes: 2 additions & 2 deletions build/staging/noncore-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: noncore-api
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/noncore-api:latest
command: ["yarn"]
args: ["start:noncore"]
command: ["node"]
args: ["noncore/main.js"]
readinessProbe:
httpGet:
path: /v1/health-check
Expand Down
4 changes: 2 additions & 2 deletions build/staging/noncore-mqtt/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ spec:
containers:
- name: noncore-mqtt
image: 887044485231.dkr.ecr.eu-west-1.amazonaws.com/noncore-mqtt:latest
command: ["yarn"]
args: ["start:mqtt"]
command: ["node"]
args: ["mqtt/main.js"]
envFrom:
- secretRef:
name: noncore-secrets
Expand Down

0 comments on commit 0e365fe

Please sign in to comment.