Commit fbef5c09 by Sathish A

Update .gitlab-ci.yml to change staging URLs to development URLs for backend and…

Update .gitlab-ci.yml to change staging URLs to development URLs for backend and frontend deployments, and adjust ECS deployment commands accordingly.
parent e371afe5
Pipeline #61321 failed with stages
in 42 seconds
......@@ -37,8 +37,8 @@ docker_build_frontend_staging:
stage: build
variables:
app_env: staging
vite_app_url: https://spin-wheel-backend-staging.kacdn.net
backend_url: https://spin-wheel-backend-staging.kacdn.net
vite_app_url: https://spin-wheel-backend-staging.dev.kacdn.net
backend_url: https://spin-wheel-backend-staging.dev.kacdn.net
script:
- env
- docker login -u $registry_user -p $registry_pass $registry
......@@ -63,14 +63,14 @@ deploy_backend_staging:
- docker_build_backend_staging
variables:
app_env: staging
app_url: https://spin-wheel-backend-staging.kacdn.net
app_url: https://spin-wheel-backend-staging.dev.kacdn.net
app_image_tag: $CI_REGISTRY_IMAGE/backend:staging
database_url: ${DATABASE_URL}
allowed_origins: ${ALLOWED_ORIGINS:-https://spin-wheel-frontend-staging.kacdn.net}
allowed_origins: ${ALLOWED_ORIGINS:-https://spin-wheel-frontend-staging.dev.kacdn.net}
ecs_task_definition: ${ecs_task_definition_backend}
service_name: spin-the-wheel-backend-staging
script:
- deploy-ecs staging
- deploy-ecs sg-dev
only:
- master
......@@ -84,12 +84,12 @@ deploy_frontend_staging:
- docker_build_frontend_staging
variables:
app_env: staging
app_url: https://spin-wheel-frontend-staging.kacdn.net
app_url: https://spin-wheel-frontend-staging.dev.kacdn.net
app_image_tag: $CI_REGISTRY_IMAGE/frontend:staging
backend_url: https://spin-wheel-backend-staging.kacdn.net
backend_url: https://spin-wheel-backend-staging.dev.kacdn.net
ecs_task_definition: ${ecs_task_definition_frontend}
service_name: spin-the-wheel-frontend-staging
script:
- deploy-ecs staging
- deploy-ecs sg-dev
only:
- master
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