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

Moves REMOTE_BUILD_DIR_CLEANUP to build-init #63

Merged
Merged
Show file tree
Hide file tree
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
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.
lmakarov marked this conversation as resolved.
Show resolved Hide resolved

# 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