Skip to content

Conversation

@driazati
Copy link
Member

@driazati driazati commented May 27, 2022

Before this would leave around any image that could be used in CI. This PR changes it so that the docker rmi knows exactly which image is being used in CI so all others (even those that are being used in the same build but not currently on that node) are deleted

This also adds some more logging so we can see what's going on and should help keep disk usage down. Skipped CI since this runs during lint.

Thanks for contributing to TVM! Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.

cc @Mousius @areusch

@github-actions github-actions bot requested review from Mousius and areusch May 27, 2022 17:51
@driazati driazati force-pushed the dprune branch 2 times, most recently from f15735b to 5d8f2da Compare May 27, 2022 18:07
Before this would leave around any image that could be used in CI. This
PR changes it so that the `docker rmi` knows exactly which image is
being used in CI so all others (even those that are being used in the
same build but not currently on that node) are deleted

This also adds some more logging so we can see what's going on and
should help keep disk usage down.
@driazati driazati changed the title [ci][docker] Prune all non-relevant images [skip ci][ci][docker] Prune all non-relevant images May 27, 2022
@areusch areusch merged commit c253053 into apache:main May 27, 2022
@driazati
Copy link
Member Author

shouldn't have skipped CI on this one, the Jenkinsfile needed to read a variable during groovy execution that wasn't set correctly

areusch pushed a commit that referenced this pull request May 31, 2022
* [skip ci][ci][docker] Prune all non-relevant images (#11491)

Before this would leave around any image that could be used in CI. This
PR changes it so that the `docker rmi` knows exactly which image is
being used in CI so all others (even those that are being used in the
same build but not currently on that node) are deleted

This also adds some more logging so we can see what's going on and
should help keep disk usage down.

Co-authored-by: driazati <[email protected]>

* [skip ci] Revert "[skip ci][ci][docker] Prune all non-relevant images (#11491)" (#11496)

* [ci][docker] Prune all non-relevant images

(this is a re-do of #11491)

Before this would leave around any image that could be used in CI. This PR changes it so that the `docker rmi` knows exactly which image is being used in CI so all others (even those that are being used in the same build but not currently on that node) are deleted

This also adds some more logging so we can see what's going on and should help keep disk usage down. Skipped CI since this runs during lint.

Co-authored-by: driazati <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants