Skip to content

Commit 9fec47a

Browse files
author
Rizchel Dayao
committed
Add kubectl
1 parent 5b18e96 commit 9fec47a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ before_deploy:
1616
- ./Bluemix_CLI/bin/bluemix plugin install container-registry -r Bluemix
1717
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
1818
- chmod +x ./kubectl
19-
- sudo mv ./kubectl /usr/local/bin/kubectl
19+
# - sudo mv ./kubectl /usr/local/bin/kubectl
2020
- chmod +x ./deploy.sh
2121
- ./Bluemix_CLI/bin/bluemix login --apikey $BXIAM -a https://api.ng.bluemix.net
22+
- export KUBECONFIG=$KUBECONFIG
23+
- ./kubectl delete all --all
2224
deploy:
2325
provider: script
2426
script: sh ./deploy.sh

0 commit comments

Comments
 (0)