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

Run the jlumbroso/free-disk-space action in CI jobs #185

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

ulucinar
Copy link
Contributor

Description of your changes

Experiments logged in crossplane-contrib/provider-upjet-aws#1180 reveal that the jlumbroso/free-disk-space action helps with the failing e2e (uptest) CI workflows & publish-artifacts CI jobs. The uptest runs have failed on the standard (ubuntu-22.04) runners. I've performed experiments with two example manifests on standard runners:

  • A relatively heavyweight uptest for the Firewall.networkfirewall example manifest was run here, with 4 providers installed: The AWS provider family config package and 3 resource providers: provider-aws-{networkfirewall, ec2, s3}, with ec2 being the largest (in terms of CRDs installed) AWS resource provider. This uptest run has failed consistently due to insufficient disk space while installing the s3 resource provider. The other 3 provider packages were successfully installed:
image
  • uptest runs for the Cluster.eks example manifest also failed consistently with a disk space error here:
image

With the jlumbroso/free-disk-space action run as part of the e2e CI workflow, things have consistently improved. Here are examples from successful runs:

This PR introduces the jlumbroso/free-disk-space action to clean up some disk space on the workflow runner before uptest is run and before make build.all is invoked (during the publish-artifacts job.

I have:

  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Following jobs on standard runners (on top of the standard-runners branch):

…omment-trigger workflow

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
(cherry picked from commit c0bd150)
…ish-artifacts job

Signed-off-by: Alper Rifat Ulucinar <[email protected]>
(cherry picked from commit bb6713d)
Copy link
Contributor

@turkenf turkenf left a comment

Choose a reason for hiding this comment

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

Thank you @ulucinar, LGTM.

@ulucinar ulucinar merged commit dadbbf7 into upbound:main Feb 29, 2024
6 checks passed
@ulucinar ulucinar deleted the disk-cleanup branch February 29, 2024 12:03
@ulucinar ulucinar restored the disk-cleanup branch February 29, 2024 12:05
@ulucinar ulucinar deleted the disk-cleanup branch February 29, 2024 12:06
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