mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-06 00:17:21 +00:00
23 lines
755 B
Bash
Executable File
23 lines
755 B
Bash
Executable File
#!/bin/bash
|
|
# caution: This script is for production
|
|
#
|
|
# forces ecs to relaunch the tasks/instances
|
|
# when relaunched a new docker image will be pulled
|
|
# resulting in rolling out a software/config or just
|
|
# restart.
|
|
#
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
source ${SCRIPT_DIR}/rollout_util.sh
|
|
PROMOTE_IMAGE_BEFORE_ROLLOUT="${1:-false}"
|
|
ENVIRONMENT="Prod-SQL-Executors:"
|
|
PRE_REL_STAGE_TAG="ws-pre-release"
|
|
STAGE_TAG="ws"
|
|
EXCLUDED_SVC=" nocohub-service nocohub-001-prod nocohub-001-ingester nocohub-001-prod-ingester "
|
|
CLUSTER="executors-staging"
|
|
REPO_NAME="nc-sql-executor"
|
|
ASG_NAME=executor-services-prod
|
|
|
|
prewarm_asg
|
|
# function call in rollout_util.sh file
|
|
perform_rollout "${PROMOTE_IMAGE_BEFORE_ROLLOUT}" |