-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[build] create a clean_docker_images profile #13067
base: master
Are you sure you want to change the base?
[build] create a clean_docker_images profile #13067
Conversation
b33aea0
to
26c7a46
Compare
clean_docker_images.sh
Outdated
@@ -0,0 +1,40 @@ | |||
#!/bin/sh |
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.
can you move this script under scripts directory so that the structure becomes a little more cleaner?
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.
sure
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.
it seems some tests on the VM failed but I hardly believe it is due to this little modification...
Once logged in Azure pipelines website, is a bit weird.
The stage tests is in red alhough It is written "100% tests passed".
I clicked on "rerun the test stage" but I cannot see any effect.
Any hint about this ?
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.
Let's try a rebase on current master and see.
26c7a46
to
dede6cc
Compare
dede6cc
to
1e6434e
Compare
SONiC image build process generates several docker images. They consume much disk space. This space might need to be reclaimed once the SONiC image has been built to avoid disk full error messages. Many of these docker images will not be reused at next build. - create a shell script to detect docker images generated during build (with a blob pattern) in order to delete them and reclaim disk space - declare in the Make a profile "clean_image" that points to this script Signed-off-by: Guillaume Lambert <[email protected]>
1e6434e
to
36d355d
Compare
SONiC image build process generates several docker images. They consume much disk space.
This space might need to be reclaimed once the SONiC image has been built to avoid disk full error messages.
Many of these docker images will not be reused at next build.
Issue #428
for example
Which release branch to backport (provide reason below if selected)
all branches are affected
A picture of a cute animal (not mandatory but encouraged)
______)%%%%%%%%.
''''-'-; % % % % %'-._ :b) \ '-. : :__)' .' .' :.::/ '.' .' o_i/ : ; : .' ''