Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/prow-smoke-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ fi

if [[ "$TEST" == "--preview" || "$TEST" == "-p" ]] && [[ -z "$DISTRO" ]]; then
# Clean output folder
rm -rf ./_preview/
rm -rf ./_preview
echo ""
echo "🚧 Building with openshift-enterprise distro..."
$CONTAINER_ENGINE run --rm -it -v "$(pwd)":${CONTAINER_WORKDIR}:Z $CONTAINER_IMAGE asciibinder build -d "$DISTRO"

elif [[ "$TEST" == "--preview" || "$TEST" == "-p" ]] && [[ -n "$DISTRO" ]]; then
# Clean output folder
rm -rf ./_preview/
rm -rf ./_preview
echo ""
echo "🚧 Building $DISTRO distro..."
$CONTAINER_ENGINE run --rm -it -v "$(pwd)":${CONTAINER_WORKDIR}:Z $CONTAINER_IMAGE asciibinder build -d "$DISTRO"

elif [[ "$TEST" == "--validate" || "$TEST" == "-v" ]]; then
# Clean output folder
rm -rf ./drupal_build/
rm -rf ./drupal-build
echo ""
echo "🚧 Validating the docs..."
$CONTAINER_ENGINE run --rm -it -v "$(pwd)":${CONTAINER_WORKDIR}:Z $CONTAINER_IMAGE sh -c 'scripts/check-asciidoctor-build.sh && python3 build_for_portal.py --distro '${DISTRO}' --product "'"${PRODUCT_NAME}"'" --version '${VERSION}' --no-upstream-fetch && python3 makeBuild.py'
Expand Down