Run the jlumbroso/free-disk-space action in CI jobs #185
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your changes
Experiments logged in crossplane-contrib/provider-upjet-aws#1180 reveal that the
jlumbroso/free-disk-space
action helps with the failinge2e
(uptest
) CI workflows &publish-artifacts
CI jobs. Theuptest
runs have failed on the standard (ubuntu-22.04
) runners. I've performed experiments with two example manifests on standard runners:uptest
for theFirewall.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}
, withec2
being the largest (in terms of CRDs installed) AWS resource provider. Thisuptest
run has failed consistently due to insufficient disk space while installing thes3
resource provider. The other 3 provider packages were successfully installed:uptest
runs for theCluster.eks
example manifest also failed consistently with a disk space error here:With the
jlumbroso/free-disk-space
action run as part of thee2e
CI workflow, things have consistently improved. Here are examples from successful runs:Firewall.networkfirewall
-> https://github.com/ulucinar/upbound-provider-aws/actions/runs/8085639241/job/22093639643Cluster.eks
-> https://github.com/ulucinar/upbound-provider-aws/actions/runs/8085642042/job/22093648022This PR introduces the
jlumbroso/free-disk-space
action to clean up some disk space on the workflow runner beforeuptest
is run and beforemake build.all
is invoked (during thepublish-artifacts
job.I have:
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):Firewall.networkfirewall
-> https://github.com/ulucinar/upbound-provider-aws/actions/runs/8085639241/job/22093639643Cluster.eks
-> https://github.com/ulucinar/upbound-provider-aws/actions/runs/8085642042/job/22093648022