Skip to content
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

chore(ci): only maximize space if building image #1753

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

bsherman
Copy link
Contributor

@bsherman bsherman commented Oct 7, 2024

Use the same conditionals as on build image step to avoid wasting time freeing space we aren't going to use if not executing the build.

Also moved maximize space step to just before we start using the disk for significant tasks (eg, pulling podman images and building).

Use the same conditionals as on build image step to avoid wasting time
freeing space we aren't going to use if not executing the build.

Also moved maximize space step to just before we start using the disk
for significant tasks (eg, pulling podman images and building).
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. github_actions Pull requests that update GitHub Actions code labels Oct 7, 2024
@bsherman bsherman disabled auto-merge October 7, 2024 03:22
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 7, 2024
@castrojo castrojo merged commit d358cd4 into main Oct 7, 2024
54 checks passed
@castrojo castrojo deleted the only-maximize-space-when-needed branch October 7, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants