瀏覽代碼

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 11 年之前
父節點
當前提交
886eb85dec
共有 1 個文件被更改,包括 6 次插入2 次删除
  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
-	RELEASE_BUNDLES=( test "${RELEASE_BUNDLES[@]}" )
+	RELEASE_BUNDLES=(
+		test test-integration
+		"${RELEASE_BUNDLES[@]}"
+		test-integration-cli
+	)
 fi
-	
+
 VERSION=$(cat VERSION)
 BUCKET=$AWS_S3_BUCKET