Skip to content

Remove certain instances of Docker image cleanup - #1229

Merged
lbussell merged 3 commits into
dotnet:mainfrom
lbussell:dev/loganbussell/issue-1213
Mar 26, 2024
Merged

lbussell merged 3 commits into
dotnet:mainfrom
lbussell:dev/loganbussell/issue-1213

Conversation

@lbussell

Copy link
Copy Markdown
Member

Part of #1213

These changes are intended to...

Remove the Docker cleanup step:

  • From the end of pipeline runs
  • Before pre-build validation and matrix generation

Leave the cleanup step:

  • Before building any images
  • Before mirroring/pulling any base images

Test run (still running at time of submission, but it's been through a few iterations): https://dev.azure.com/dnceng/internal/_build/results?buildId=2412187&view=results

@lbussell
lbussell requested a review from a team as a code owner March 22, 2024 18:38
Comment thread eng/common/templates/jobs/publish.yml Resolved
Comment thread eng/pipelines/cleanup-acr-images.yml Resolved
@lbussell

Copy link
Copy Markdown
Member Author

@mthalman thoughts on changing the default value of cleanupDocker to false? It really only needs to be set in builds. Would save some lines of code over what's in this PR.

@mthalman

Copy link
Copy Markdown
Member

@mthalman thoughts on changing the default value of cleanupDocker to false? It really only needs to be set in builds. Would save some lines of code over what's in this PR.

Yes, that sounds like a good idea.

@lbussell

lbussell commented Mar 25, 2024 •

Copy link
Copy Markdown
Member Author

@lbussell
lbussell requested a review from mthalman March 25, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants