#!/bin/bash -l

set -o errexit
set -o nounset
set -o pipefail

./buildpacks-ci/scripts/start-docker

set -x

docker load -i builder-image/builder.tgz

pushd pack
    echo "Building pack..."
    go build -mod=vendor -o pack ./cmd/pack/main.go
popd

echo "Building test apps..."
for app_path in cnb-builder/fixtures/*; do
    ./pack/pack build "$(basename "$app_path")" --builder "$REPO:$STACK" -p "$app_path"
done

if [ "$STACK" == "cflinuxfs3" ]; then
    for app_path in cnb-builder/fs3-fixtures/*; do
	./pack/pack build "$(basename "$app_path")" --builder "$REPO:$STACK" -p "$app_path"
    done
fi



#!/bin/bash -l

set -o errexit
set -o nounset
set -o pipefail

./buildpacks-ci/scripts/start-docker

set -x

docker load -i builder-image/builder.tgz

pushd pack
    echo "Building pack..."
    go build -mod=vendor -o pack ./cmd/pack/main.go
popd

echo "Building test apps..."
for app_path in cnb-builder/fixtures/*; do
    ./pack/pack build "$(basename "$app_path")" --builder "$REPO:$STACK" -p "$app_path"
done

--- 
+++ 
@@ -19,11 +19,3 @@
 for app_path in cnb-builder/fixtures/*; do
     ./pack/pack build "$(basename "$app_path")" --builder "$REPO:$STACK" -p "$app_path"
 done
-
-if [ "$STACK" == "cflinuxfs3" ]; then
-    for app_path in cnb-builder/fs3-fixtures/*; do
-	./pack/pack build "$(basename "$app_path")" --builder "$REPO:$STACK" -p "$app_path"
-    done
-fi
-
-
Add fs3-specific smoke tests to the cflinuxfs3 builder

Co-authored-by: Guillermo Kardolus <f995e5708409e0468f92322e706c77752cc6c0d4@pivotal.io>
