Skip to content

Commit

Permalink
[BugFix] Fix node exporter auto deplyment (Cloud-CV#3606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram81 authored Oct 10, 2021
1 parent 8b7fbfe commit 40cc402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 40cc402

Please sign in to comment.