This repository was archived by the owner on Jul 18, 2024. It is now read-only. 
      
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 33BLUEMIX_ORG=" Developer Advocacy" 
44BLUEMIX_SPACE=" dev" 
55
6- if  [[ -z   " $BLUEMIX_AUTH " ;  then 
6+ if  [[ " $TRAVIS_PULL_REQUEST "   !=   " false " ;  then 
77 echo  -e " \033[0;33mFork detected; not authenticating to Bluemix.\033[0m" 
88 exit  0
99fi 
Original file line number Diff line number Diff line change 11#! /bin/bash -e
22
3- if  [[ -z   " $BLUEMIX_AUTH " ;  then 
3+ if  [[ " $TRAVIS_PULL_REQUEST "   !=   " false " ;  then 
44 echo  -e " \033[0;33mPull Request detected; not installing extra software.\033[0m" 
55 exit  0
66fi 
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ verify_deploy(){
7070
7171main (){
7272
73-  if  [[ -z   " $BLUEMIX_AUTH " 
73+  if  [[ " $TRAVIS_PULL_REQUEST "   !=   " false " 
7474 then 
7575 if  !  setup_dind-cluster;  then 
7676 test_failed
@@ -82,7 +82,7 @@ main(){
8282 test_passed
8383 fi 
8484 else 
85-  echo  -e " \033[0;33mBluemix Auth detected ; not running kubeadm-dind-cluster test.\033[0m" 
85+  echo  -e " \033[0;33mNot a Pull Request ; not running kubeadm-dind-cluster test.\033[0m" 
8686 exit  0
8787 fi 
8888}
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ verify_deploy(){
7474 for  IP  in  $IPS ;  do 
7575 while  true 
7676 do 
77-  code=$( curl -sw ' %{http_code}' " $IP " " $NODEPORT " ) 
77+  code=$( curl -sw ' %{http_code}' " $IP " 30080  -o /dev/null) 
7878 if  [ " $code " =  " 200" ;  then 
7979 echo  " Account Summary is up." 
8080 break 
@@ -91,8 +91,8 @@ verify_deploy(){
9191}
9292
9393main (){
94-  if  [[ -z   " $BLUEMIX_AUTH " ;  then 
95-  echo  -e " \033[0;33mFork  detected; not  running Bluemix Container Service test.\033[0m" 
94+  if  [[ " $TRAVIS_PULL_REQUEST "   !=   " false " ;  then 
95+  echo  -e " \033[0;33mPull Request  detected. Not  running Bluemix Container Service test.\033[0m" 
9696 exit  0
9797 fi 
9898
                         You can’t perform that action at this time. 
           
                  
0 commit comments