Skip to content

Commit

Permalink
Checking travis config #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshul Vohra committed Mar 16, 2020
1 parent 82333f2 commit fb5568f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,4 @@ after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=ansvohra/rabbitmq
- docker build -t ansvohra/rabbitmq:latest .
- docker push ansvohra/rabbitmq:latest
- git clone https://github.com/airavata-courses/VignyaanDwaarNirman.git
- cd VignyaanDwaarNirman
- git pull
- git checkout dockerize_rabbitmq
- chmod 400 vdn_ssh.pem
- cat dockerfile
- ssh -o StrictHostKeyChecking=no -i vdn_ssh.pem [email protected] uptime
- ssh -i vdn_ssh.pem [email protected] "sudo rm -rf VignyaanDwaarNirman && git clone https://github.com/airavata-courses/VignyaanDwaarNirman.git && cd VignyaanDwaarNirman && git checkout kubectl && cd rabbit-server && export KUBECONFIG=/etc/kubernetes/admin.conf && sudo kubectl delete service rabbit --ignore-not-found=true && sudo kubectl delete deployment rabbit --ignore-not-found=true && sudo kubectl apply -f config.yaml"
© 2020 GitHub, Inc.
- docker push ansvohra/rabbitmq:latest

0 comments on commit fb5568f

Please sign in to comment.