From 1857aa73257f9a92d60fe7a5ddf9251c4fdab03e Mon Sep 17 00:00:00 2001 From: Adam Drew Date: Thu, 3 Aug 2023 08:38:35 -0400 Subject: [PATCH] Bringing the new changes back --- src/frontend-build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend-build.sh b/src/frontend-build.sh index 7a248d9..f45f5f9 100755 --- a/src/frontend-build.sh +++ b/src/frontend-build.sh @@ -18,7 +18,7 @@ export IMAGE_TAG=$(git rev-parse --short=7 HEAD) export IS_PR=false COMMON_BUILDER=https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master EPOCH=$(date +%s) -BUILD_IMAGE_TAG=642ff08 +BUILD_IMAGE_TAG=353f5b8 # Get current git branch # The current branch is going to be the GIT_BRANCH env var but with origin/ stripped off if [[ $GIT_BRANCH == origin/* ]]; then @@ -160,13 +160,13 @@ function build() { # Run a stable build # this will result in a $WORKSPACE/build/container_workspace directory that has build, dist, and the Dcokerfile and what not # dist and the Caddyfile and stuff will be copied from here into the container -build $WORKSPACE/build $BETA +build $WORKSPACE/build false # Run a preview build -# build $WORKSPACE/build/preview true +build $WORKSPACE/build/preview true # Copy the preview build output so its gets picked up in the copy from the stable dist -#cp -r $WORKSPACE/build/preview/container_workspace/dist $WORKSPACE/build/container_workspace/dist/preview +cp -r $WORKSPACE/build/preview/container_workspace/dist $WORKSPACE/build/container_workspace/dist/preview # Set the APP_ROOT cd $WORKSPACE/build/container_workspace/ && export APP_ROOT="$WORKSPACE/build/container_workspace/"