install: Only remove BlueOS containers and images - #4355
Open
patrickelectric wants to merge 1 commit into
Open
Conversation
Automated PR Review0. Summary
Scopes the 1. Correctness & Implementation Bugs
3. Security
6. Code Quality & Style
Generated by PR Review Bot. This is advisory, a human reviewer must still approve. |
joaomariolago
requested changes
Sep 3, 2026
joaomariolago
left a comment
Collaborator
There was a problem hiding this comment.
I would recommend to take a look at the AI review points [1.1 and 1.2], specifically the entry guard to the remove code that currently checks for any container.
| docker rm $(docker ps -a -q) | ||
| docker image prune -af | ||
| docker rm $(docker ps -a -q --filter name=blueos) | ||
| docker rmi $(docker images -q --filter reference='*blueos-core*') $(docker images -q --filter reference='*blueos-bootstrap*') |
Collaborator
There was a problem hiding this comment.
I think that we need to add a forced remove here to keep compatibility with the old code.
Member
Author
|
@joaomariolago check now |
patrickelectric
force-pushed
the
install-remove-blueos-only
branch
2 times, most recently
from
September 3, 2026 15:40
3ddc8c0 to
83d430f
Compare
patrickelectric
force-pushed
the
install-remove-blueos-only
branch
2 times, most recently
from
September 3, 2026 15:50
755c241 to
6ed51b1
Compare
NO_CLEAN wipe was stopping every container and pruning all unused images. Fix bluerobotics#2747 Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
patrickelectric
force-pushed
the
install-remove-blueos-only
branch
from
September 3, 2026 15:50
6ed51b1 to
c812607
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NO_CLEAN wipe was stopping every container and pruning all unused images.
Fix #2747