Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bringing the new changes back #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions src/frontend-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/"
Expand Down