mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Exit if release.sh has errors.
This commit is contained in:
		@@ -18,6 +18,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# First build a release
 | 
					# First build a release
 | 
				
			||||||
$(dirname $0)/../release/release.sh
 | 
					$(dirname $0)/../release/release.sh
 | 
				
			||||||
 | 
					if [ "$?" != "0" ]; then
 | 
				
			||||||
 | 
					       echo "Building a release failed!"
 | 
				
			||||||
 | 
					       exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Now push this out to the cluster
 | 
					# Now push this out to the cluster
 | 
				
			||||||
$(dirname $0)/../cluster/kube-push.sh
 | 
					$(dirname $0)/../cluster/kube-push.sh
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,6 +19,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
# First build a release
 | 
					# First build a release
 | 
				
			||||||
$(dirname $0)/../release/release.sh
 | 
					$(dirname $0)/../release/release.sh
 | 
				
			||||||
 | 
					if [ "$?" != "0" ]; then
 | 
				
			||||||
 | 
					      echo "Building the release failed!"
 | 
				
			||||||
 | 
					      exit 1
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Now bring a new cluster up with that release.
 | 
					# Now bring a new cluster up with that release.
 | 
				
			||||||
$(dirname $0)/../cluster/kube-up.sh
 | 
					$(dirname $0)/../cluster/kube-up.sh
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user