We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9014a1 commit bf37e47Copy full SHA for bf37e47
.travis.yml
@@ -1,9 +1,9 @@
1
language: node_js
2
node_js:
3
- 6.9.0
4
-env:
5
- global:
6
- - KUBECONFIG=$KUBECONFIG
+# env:
+# global:
+# - KUBECONFIG=$KUBECONFIG
7
install:
8
- npm i -g npm@3
9
- npm install
@@ -23,6 +23,9 @@ before_deploy:
23
- chmod +x ./deploy.sh
24
- ./Bluemix_CLI/bin/bluemix login --apikey $BXIAM -a https://api.ng.bluemix.net
25
- ./Bluemix_CLI/bin/bluemix cr build -t registry.ng.bluemix.net/rdayao/deploy-react-kubernetes .
26
+ - sudo cp /etc/kubernetes/admin.conf $HOME/
27
+ - sudo chown $(id -u):$(id -g) $HOME/admin.conf
28
+ - export KUBECONFIG=$HOME/admin.conf
29
- ./kubectl create -f deployment.yaml
30
deploy:
31
provider: script
0 commit comments