From f19f014bdac90e0d4116dbe8907ad8aabca6685a Mon Sep 17 00:00:00 2001 From: Etienne Napoleone Date: Tue, 13 Nov 2018 17:06:56 +0700 Subject: [PATCH] update travis for deployment in devnet --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23b8c0ac..257b32e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -83,8 +83,8 @@ jobs: - echo -e "Host $DEVNET_SSH_IP\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - ssh-add ./travis.pem script: - - ssh -i ./travis.pem -l $DEVNET_SSH_USER $DEVNET_SSH_IP docker service update --image tomochain/tomomaster:latest devnet_tomomaster 1> /dev/null - - ssh -i ./travis.pem -l $DEVNET_SSH_USER $DEVNET_SSH_IP docker service update --image tomochain/tomomaster:latest devnet_tomomaster_crawler 1> /dev/null + - ssh -i ./travis.pem -l $DEVNET_SSH_USER $DEVNET_SSH_IP docker service update --image tomochain/tomomaster:latest devnet-main_tomomaster 1> /dev/null + - ssh -i ./travis.pem -l $DEVNET_SSH_USER $DEVNET_SSH_IP docker service update --image tomochain/tomomaster:latest devnet-main_tomomaster_crawler 1> /dev/null after_success: - 'curl -X POST --data-urlencode "payload={\"channel\": \"#deployments\", \"username\": \"Travis\", \"attachments\":[{\"fallback\":\"[testnet] Deployment succeeded\",\"pretext\":\"\",\"color\":\"good\",\"fields\":[{\"title\":\"[devnet] TomoMaster\",\"value\":\"Deployment succeeded.\",\"short\":true}]}], \"icon_emoji\": \":male-construction-worker:\"}" $SLACK_DEPLOY_URL' after_failure: