Skip to content

Conversation

@xrstf
Copy link
Contributor

@xrstf xrstf commented Sep 25, 2025

Summary

This PR adds a new step to our release pipeline to free up disk space. For 0.28.2 and 0.28.3 we ran into full disks and wer not able to produce release artifacts.

The action is quite brute force, but harmless enough that building kcp and its binaries still works fine. In its current configuration it saves roughly 20GB, bringing the free space up to 42GB.

What Type of PR Is This?

/kind cleanup

Release Notes

NONE

@kcp-ci-bot kcp-ci-bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. dco-signoff: yes Indicates the PR's author has signed the DCO. do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 25, 2025
@xrstf xrstf force-pushed the debug-runner branch 12 times, most recently from bd46f84 to 8becb96 Compare September 25, 2025 15:02
@kcp-ci-bot kcp-ci-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 25, 2025
@xrstf xrstf force-pushed the debug-runner branch 4 times, most recently from b915a1e to c27d931 Compare September 25, 2025 16:04
@xrstf xrstf changed the title WIP - Debug runner Free disk space in release workflow Sep 25, 2025
@kcp-ci-bot kcp-ci-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Sep 25, 2025
@xrstf
Copy link
Contributor Author

xrstf commented Sep 25, 2025

/cherrypick release-0.28

@kcp-ci-bot
Copy link
Contributor

@xrstf: once the present PR merges, I will cherry-pick it on top of release-0.28 in a new PR and assign it to you.

In response to this:

/cherrypick release-0.28

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@xrstf
Copy link
Contributor Author

xrstf commented Sep 25, 2025

/kind cleanup

@kcp-ci-bot kcp-ci-bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed do-not-merge/needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Sep 25, 2025
Copy link
Member

@embik embik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Sep 26, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: f4420c043281433eb7cfc8e35da5661bc46d00a6

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 26, 2025
@kcp-ci-bot kcp-ci-bot merged commit 1b5a38c into kcp-dev:main Sep 26, 2025
10 checks passed
@kcp-ci-bot
Copy link
Contributor

@xrstf: #3601 failed to apply on top of branch "release-0.28":

Applying: free up disk space before running goreleaser
Using index info to reconstruct a base tree...
M	.github/workflows/goreleaser.yml
Falling back to patching base and 3-way merge...
Auto-merging .github/workflows/goreleaser.yml
Applying: use a pre-existing, faster action
Using index info to reconstruct a base tree...
M	.github/workflows/goreleaser.yml
Falling back to patching base and 3-way merge...
Auto-merging .github/workflows/goreleaser.yml
CONFLICT (content): Merge conflict in .github/workflows/goreleaser.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0002 use a pre-existing, faster action
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherrypick release-0.28

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants