Skip to content

Commit a020860

Browse files
jcjc712Juan Valacco
authored andcommitted
[DH-5594] Fix the tasks definitions and pull latest engine changes (#479)
* [DH-5594] Fix the tasks definitions and pull latest engine changes * Use k2-stage-2 ecs * change api tests ports --------- Co-authored-by: Juan Valacco <97040903+jvalacco-dataherald@users.noreply.github.com>
1 parent 0807f0c commit a020860

File tree

6 files changed

+14
-4
lines changed

6 files changed

+14
-4
lines changed

Diff for: .github/workflows/ai-server-api-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Automated API tests using Postman CLI
1+
name: AI API tests using Postman CLI
22

33
on:
44
pull_request:

Diff for: .github/workflows/ai-server-dataherald-stage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
env:
1717
AWS_REGION: us-east-1
1818
ECR_REPOSITORY: k2-core-stage
19-
ECS_SERVICE: k2-stage
19+
ECS_SERVICE: k2-stage-2
2020
ECS_CLUSTER: k2
2121
ECS_TASK_DEFINITION: apps/ai/server/.aws/task-definition-stage.json
2222
CONTAINER_NAME: k2-core-stage

Diff for: .github/workflows/ai-server-stage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
env:
1414
AWS_REGION: us-east-1
1515
ECR_K2_SERVER_REPOSITORY: k2-server-stage
16-
ECS_SERVICE: k2-stage
16+
ECS_SERVICE: k2-stage-2
1717
ECS_CLUSTER: k2
1818
ECS_TASK_DEFINITION: apps/ai/server/.aws/task-definition-stage.json
1919

Diff for: apps/ai/server/.aws/task-definition-prod.json

+5
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"type": "s3"
2222
}
2323
],
24+
"command": [
25+
"sh",
26+
"-c",
27+
"uvicorn dataherald.app:app --host 0.0.0.0 --port $CORE_PORT"
28+
],
2429
"mountPoints": [],
2530
"volumesFrom": [],
2631
"logConfiguration": {

Diff for: apps/ai/server/.aws/task-definition-stage.json

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
"type": "s3"
2323
}
2424
],
25+
"command": [
26+
"sh",
27+
"-c",
28+
"uvicorn dataherald.app:app --host 0.0.0.0 --port $CORE_PORT"
29+
],
2530
"mountPoints": [],
2631
"volumesFrom": [],
2732
"logConfiguration": {

0 commit comments

Comments
 (0)