-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Remove build docker volume if OS_BUILD_ENV_CLEAN_BUILD_VOLUME is set #16073
Remove build docker volume if OS_BUILD_ENV_CLEAN_BUILD_VOLUME is set #16073
Conversation
9e329c4
to
6ac54ea
Compare
6ac54ea
to
cb65468
Compare
@stevekuznetsov saying it should be called optionally (e.g. when |
@ingvagabund yes, that sounds good |
cb65468
to
44102be
Compare
44102be
to
e0a281b
Compare
@detiber FYI |
@stevekuznetsov PTAL |
@ingvagabund lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm sans nits
hack/lib/build/environment.sh
Outdated
os::log::debug "Removing tmp build volume" | ||
os::build::environment::remove_volume "${tmp_volume}" | ||
fi | ||
if [[ -n ${OS_BUILD_ENV_CLEAN_BUILD_VOLUME:-} ]]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quote this expansion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
hack/lib/build/environment.sh
Outdated
fi | ||
if [[ -n ${OS_BUILD_ENV_CLEAN_BUILD_VOLUME:-} ]]; then | ||
os::log::debug "Removing build volume" | ||
os::build::environment::remove_volume ${volume} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quote this expansion
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
e0a281b
to
5a4f740
Compare
/unassign @liggitt |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund, stevekuznetsov The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
SSIA