Skip to content

Commit

Permalink
Moved REMOTE_BUILD_DIR_CLEANUP to build-init (#63)
Browse files Browse the repository at this point in the history
Move REMOTE_BUILD_DIR_CLEANUP into build-init since that is where its used.

Co-authored-by: Les Peabody (BOS-GEN) <lpeabody@wearegenuine.com>
  • Loading branch information
lpeabody and lpeabodygenuine authored Jul 17, 2020
1 parent 56d7669 commit d0afcd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion base/bin/build-env
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ DEBUG=${DEBUG:-0} # `DEBUG=1 build-env` to run with debugging turned ON
DOCKER_HOST_TUNNEL=localhost:2374
GIT_USER_EMAIL=${GIT_USER_EMAIL:-ci@docksal.io}
GIT_USER_NAME=${GIT_USER_NAME:-Docksal CI}
REMOTE_BUILD_DIR_CLEANUP=${REMOTE_BUILD_DIR_CLEANUP:-1} # Default to re-initializing environment.

# These are used to generate the sandbox sub-domain (branch-project.example.com)
# There is a limit of 63 characters for any part of the domain name.
Expand Down
1 change: 1 addition & 0 deletions base/bin/build-init
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

# Set script-specific variables.
BUILD_ENVIRONMENT=${BUILD_ENVIRONMENT:-local}
REMOTE_BUILD_DIR_CLEANUP=${REMOTE_BUILD_DIR_CLEANUP:-1} # Default to re-initializing environment.

# Exit if using an invalid codebase method.
if [[ "${REMOTE_CODEBASE_METHOD}" != "rsync" ]] && [[ "${REMOTE_CODEBASE_METHOD}" != "git" ]]; then
Expand Down

0 comments on commit d0afcd2

Please sign in to comment.