From f02c365ac68a79bb05adfe31c6a1c4b5494400d3 Mon Sep 17 00:00:00 2001 From: milan Date: Sat, 2 May 2020 10:05:26 -0400 Subject: [PATCH] editing travis for modelling #200 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4a3ba2d4..161d7a07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,13 +10,13 @@ script: - echo "test dataModelling" after_success: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD -- docker build -t orenda15/data_modelling:$TRAVIS_COMMIT . +- docker build -t orenda15/data-modelling:$TRAVIS_COMMIT . - docker push orenda15/data_modelling:$TRAVIS_COMMIT -- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployModel.sh $TRAVIS_COMMIT" +- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "/bin/bash ./istioFiles/canaryUpdate.sh data-modelling $TRAVIS_COMMIT" branches: only: - - deployModelling + - istioModelling env: global: - secure: PjQw1TFLJqMQjjSill+zCcAe9Hsd0s/+xeCcsHfrcFiNHm3SfmPIEsS8g7s/XrS/zquXA8NFKUoDhLO7SRQjnSVVFFmPHFcOzQdSs9IgovS2ykuB0gtp/4EXFPA+xLAW2vq0s6ESjTj6Bbx5xQHiHKrHkQqZZhoS9C/ZgNk9yiAtQUDOLjb70+jysa50bUwPFhyqjs0iyWKuZ77Y0hkdo6Xde0m8otEpiD09rHWFzR9J1DISQfGtWpFYcaQzQPP2YtJ/jKsT0chJDNJEcSu2tz9TlJQb5yAnlnaDEHF53rQ4/Y9hrjDdVJFB5mNrNoHyVwDkDMY82Cl4BkKpZOhxCtd/zX63kDloLy1Ymm92Z03j9tAd7S+UunfzVCY98S5+8zy/80bNGr5sxyUZCXjFRU2KrSiBPt5pq7AXoz2Xdf8S1mB85315oTwG3k2vzDc20e2JjcHNtodggfJMUh5WLljuj0QBSdX9K/MUIfmkNxmtwvOicIRDVQ0MtNHLuttC7bbh/RSFbhaj+2DoHKLPXYeZi4GpmLrpOsdrgNhmCPxp9xS2ghlDe/6KLtxkq6ovnk3HaUaIWZwv3ucAfAzqh0/8GzVHi+wxGQ9ZcMCxQGcLuyGbD7cutG7iBHEZMO8CyMFfEzIEpQ6ICTaPiOaGqmXKQt6rRJFMMBr0has2wkA=