Skip to content

Commit

Permalink
travis file edited for api gateway #200
Browse files Browse the repository at this point in the history
  • Loading branch information
milanchheta committed May 2, 2020
1 parent 75ad3e3 commit 1beef2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ script:
- echo "test api_gateway"
after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker build -t orenda15/api_gateway:$TRAVIS_COMMIT .
- docker push orenda15/api_gateway:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key [email protected] "sudo ~/istioFiles/canaryUpdate.sh api-gateway $TRAVIS_COMMIT"
- docker build -t orenda15/api-gateway:$TRAVIS_COMMIT .
- docker push orenda15/api-gateway:$TRAVIS_COMMIT
- chmod 600 ../deploy_key && ssh -o StrictHostKeyChecking=no -i ../deploy_key [email protected] "/bin/bash ./canaryUpdate.sh api-gateway $TRAVIS_COMMIT"

branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion deploymentFiles/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ spec:
spec:
containers:
- name: api-gateway
image: orenda15/api_gateway:8d707fba79a2ad396d8619a9463f358dda5acc82
image: orenda15/api-gateway:9273f3770801ae406539d4ea819c060e97af10fd
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand Down

0 comments on commit 1beef2b

Please sign in to comment.