Skip to content

Commit

Permalink
Free disk space before build (#2421)
Browse files Browse the repository at this point in the history
Fixes #2420
  • Loading branch information
danielrbradley authored Sep 23, 2024
1 parent 1892762 commit 457d3df
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci-mgmt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ timeout: 90
generate-nightly-test-workflow: true
providerVersion: github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion
freeDiskSpaceBeforeTest: true
freeDiskSpaceBeforeBuild: true
env:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_ENVIRONMENT: "public"
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build_provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- os: windows
arch: amd64
steps:
# Run as first step so we don't delete things that have just been installed
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
tool-cache: false
swap-storage: false
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup tools
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/prerequisites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ jobs:
outputs:
version: ${{ steps.provider-version.outputs.version }}
steps:
# Run as first step so we don't delete things that have just been installed
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
tool-cache: false
swap-storage: false
- name: Checkout Repo
uses: actions/checkout@v4
- uses: pulumi/provider-version-action@v1
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/upgrade-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ jobs:
name: upgrade-provider
runs-on: ubuntu-latest
steps:
# Run as first step so we don't delete things that have just been installed
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
tool-cache: false
swap-storage: false
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup tools
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/upgrade-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:
name: upgrade-provider
runs-on: ubuntu-latest
steps:
# Run as first step so we don't delete things that have just been installed
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
with:
tool-cache: false
swap-storage: false
- name: Call upgrade provider action
uses: pulumi/pulumi-upgrade-provider-action@v0.0.12
with:
Expand Down

0 comments on commit 457d3df

Please sign in to comment.