-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anshul Vohra
committed
Mar 16, 2020
1 parent
82333f2
commit fb5568f
Showing
1 changed file
with
1 addition
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |