Skip to content

Commit

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

0 comments on commit 3ac9234

Please sign in to comment.