Commit 4c75879a by Sathish A

Add ECS entrypoints for backend and frontend services in .gitlab-ci.yml to…

Add ECS entrypoints for backend and frontend services in .gitlab-ci.yml to specify application ports for staging deployments.
parent 0fd39b27
Pipeline #61327 failed with stages
in 2 minutes 22 seconds
...@@ -69,6 +69,7 @@ deploy_backend_staging: ...@@ -69,6 +69,7 @@ deploy_backend_staging:
database_url: ${DATABASE_URL} database_url: ${DATABASE_URL}
allowed_origins: ${ALLOWED_ORIGINS:-https://spin-wheel-frontend-staging.dev.kacdn.net} allowed_origins: ${ALLOWED_ORIGINS:-https://spin-wheel-frontend-staging.dev.kacdn.net}
ecs_task_definition: ${ecs_task_definition_backend} ecs_task_definition: ${ecs_task_definition_backend}
ecs_entrypoint: app:5000
service_name: spin-the-wheel-backend-staging service_name: spin-the-wheel-backend-staging
script: script:
- deploy-ecs sg-dev - deploy-ecs sg-dev
...@@ -90,6 +91,7 @@ deploy_frontend_staging: ...@@ -90,6 +91,7 @@ deploy_frontend_staging:
app_image_tag: $CI_REGISTRY_IMAGE/frontend:staging app_image_tag: $CI_REGISTRY_IMAGE/frontend:staging
backend_url: https://spin-wheel-backend-staging.dev.kacdn.net backend_url: https://spin-wheel-backend-staging.dev.kacdn.net
ecs_task_definition: ${ecs_task_definition_frontend} ecs_task_definition: ${ecs_task_definition_frontend}
ecs_entrypoint: app:80
service_name: spin-the-wheel-frontend-staging service_name: spin-the-wheel-frontend-staging
script: script:
- deploy-ecs sg-dev - deploy-ecs sg-dev
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment