GoogleCloudPlatform / cloud-foundation-toolkit

The Cloud Foundation toolkit provides GCP best practices as code.
Apache License 2.0
940 stars 451 forks source link

test_lint.sh: No space left on device #2427

Closed glasnt closed 2 months ago

glasnt commented 2 months ago

TL;DR

Recent lint checks in terraform-docs-samples have been failing due to disk space errors

Expected behavior

Successful linting.

Observed behavior

parallel: Error: Output is incomplete.
parallel: Error: Cannot append to buffer file in /tmp.
parallel: Error: Is the disk full?
Error: No space left on device

Terraform Configuration

Issues occurring in CI on https://github.com/terraform-google-modules/terraform-docs-samples

Terraform Version

Whatever is provided in cft/developer-tools:1.21

Additional information

Failing actions:

Successful action (after "enable debugging"):

https://github.com/terraform-google-modules/terraform-docs-samples/actions/runs/9588316133?pr=679

glasnt commented 2 months ago

Nevermind, I believe this is related to https://github.com/terraform-google-modules/terraform-docs-samples/pull/672, specifically overriding the TF_PLUGIN_CACHE_DIR= so that we end up with 300+ copies of the 100MB provider and filling the runner disk