From 7d149c3dc598df9d47f9d52ffd0139ef0a21439f Mon Sep 17 00:00:00 2001 From: milan Date: Sat, 2 May 2020 10:04:02 -0400 Subject: [PATCH] editing travis for analysis #200 --- .travis.yml | 6 +++--- deploymentFiles/deployment.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4b8b37fe..7b23cf46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,13 @@ script: - mvn -Dmaven.test.skip test-compile jar:test-jar install after_success: - docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD -- docker build -t orenda15/data_analysis:$TRAVIS_COMMIT . +- docker build -t orenda15/data-analysis:$TRAVIS_COMMIT . - docker push orenda15/data_analysis:$TRAVIS_COMMIT -- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key ubuntu@149.165.170.101 "~/deployFiles/deployAnalysis.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-analysis $TRAVIS_COMMIT" branches: only: - - deployAnalysis + - istioAnalysis env: global: - secure: PjQw1TFLJqMQjjSill+zCcAe9Hsd0s/+xeCcsHfrcFiNHm3SfmPIEsS8g7s/XrS/zquXA8NFKUoDhLO7SRQjnSVVFFmPHFcOzQdSs9IgovS2ykuB0gtp/4EXFPA+xLAW2vq0s6ESjTj6Bbx5xQHiHKrHkQqZZhoS9C/ZgNk9yiAtQUDOLjb70+jysa50bUwPFhyqjs0iyWKuZ77Y0hkdo6Xde0m8otEpiD09rHWFzR9J1DISQfGtWpFYcaQzQPP2YtJ/jKsT0chJDNJEcSu2tz9TlJQb5yAnlnaDEHF53rQ4/Y9hrjDdVJFB5mNrNoHyVwDkDMY82Cl4BkKpZOhxCtd/zX63kDloLy1Ymm92Z03j9tAd7S+UunfzVCY98S5+8zy/80bNGr5sxyUZCXjFRU2KrSiBPt5pq7AXoz2Xdf8S1mB85315oTwG3k2vzDc20e2JjcHNtodggfJMUh5WLljuj0QBSdX9K/MUIfmkNxmtwvOicIRDVQ0MtNHLuttC7bbh/RSFbhaj+2DoHKLPXYeZi4GpmLrpOsdrgNhmCPxp9xS2ghlDe/6KLtxkq6ovnk3HaUaIWZwv3ucAfAzqh0/8GzVHi+wxGQ9ZcMCxQGcLuyGbD7cutG7iBHEZMO8CyMFfEzIEpQ6ICTaPiOaGqmXKQt6rRJFMMBr0has2wkA= diff --git a/deploymentFiles/deployment.yaml b/deploymentFiles/deployment.yaml index 8e547ece..659513cf 100644 --- a/deploymentFiles/deployment.yaml +++ b/deploymentFiles/deployment.yaml @@ -22,7 +22,7 @@ spec: spec: containers: - name: data-analysis - image: orenda15/data_analysis:242b58a0b0ffc5ab53f076b9a8206c88b1c4120e + image: orenda15/data-analysis:242b58a0b0ffc5ab53f076b9a8206c88b1c4120e imagePullPolicy: IfNotPresent ports: - name: http