From ac9efa12d6ccb9977fc776f891f81aefaff61b48 Mon Sep 17 00:00:00 2001 From: Ram Ramrakhya Date: Sun, 10 Oct 2021 20:19:10 -0400 Subject: [PATCH] BugFix: node exporter auto deploy service name fix (#3609) --- scripts/deployment/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deployment/deploy.sh b/scripts/deployment/deploy.sh index 3bb44a7d61..b1e4c04556 100755 --- a/scripts/deployment/deploy.sh +++ b/scripts/deployment/deploy.sh @@ -50,7 +50,7 @@ case $opt in aws s3 cp s3://cloudcv-secrets/evalai/${env}/docker_${env}.env ./docker/prod/docker_${env}.env docker-compose -f docker-compose-${env}.yml rm -s -v -f docker-compose -f docker-compose-${env}.yml pull django nodejs celery nodejs_v2 node_exporter - docker-compose -f docker-compose-${env}.yml up -d --force-recreate --remove-orphans django nodejs nodejs_v2 celery node-exporter + docker-compose -f docker-compose-${env}.yml up -d --force-recreate --remove-orphans django nodejs nodejs_v2 celery node_exporter ENDSSH2 ssh ubuntu@${MONITORING_INSTANCE} -o StrictHostKeyChecking=no AWS_ACCOUNT_ID=${AWS_ACCOUNT_ID} COMMIT_ID=${COMMIT_ID} env=${env} 'bash -s' <<-'ENDSSH2' source venv/bin/activate