Explorar o código

Update RELEASE_BUNDLES to include integration tests

Previously, running just "hack/release.sh" only ran the unit tests.  This updates that to run the unit tests, then the integration tests, then build the binaries, then run the cli integration tests (so we're literally testing the binary we're about to release, which is super freaking cool IMO <3).

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Tianon Gravi %!s(int64=11) %!d(string=hai) anos
pai
achega
886eb85dec
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      hack/release.sh

+ 6 - 2
hack/release.sh

@@ -53,9 +53,13 @@ RELEASE_BUNDLES=(
 )
 )
 
 
 if [ "$1" != '--release-regardless-of-test-failure' ]; then
 if [ "$1" != '--release-regardless-of-test-failure' ]; then
-	RELEASE_BUNDLES=( test "${RELEASE_BUNDLES[@]}" )
+	RELEASE_BUNDLES=(
+		test test-integration
+		"${RELEASE_BUNDLES[@]}"
+		test-integration-cli
+	)
 fi
 fi
-	
+
 VERSION=$(cat VERSION)
 VERSION=$(cat VERSION)
 BUCKET=$AWS_S3_BUCKET
 BUCKET=$AWS_S3_BUCKET