From 662bde0d0b263aa739f9cac87d6513b52b2b27d0 Mon Sep 17 00:00:00 2001 From: Ram Ramrakhya Date: Sun, 10 Oct 2021 12:36:50 -0400 Subject: [PATCH] [BugFix] Fix node exporter auto deplyment (#3606) --- 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 69a4864a55..3bb44a7d61 100755 --- a/scripts/deployment/deploy.sh +++ b/scripts/deployment/deploy.sh @@ -49,7 +49,7 @@ case $opt in eval $(aws ecr get-login --no-include-email) 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 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 ENDSSH2 ssh ubuntu@${MONITORING_INSTANCE} -o StrictHostKeyChecking=no AWS_ACCOUNT_ID=${AWS_ACCOUNT_ID} COMMIT_ID=${COMMIT_ID} env=${env} 'bash -s' <<-'ENDSSH2'