From db316a3c9c6bea1a35263b0137976bef421d70dd Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Mon, 19 Aug 2024 16:28:07 +0200 Subject: [PATCH] Update GitHub Actions workflows. (#4381) This PR was automatically generated by the update-workflows-single-bridged-provider workflow in the pulumi/ci-mgmt repo, from commit cb25dbdc72bbf274d8bda289e969632bb2a82235. After that `freeDiskSpaceBeforeSdkBuild` has been turned on and the ci-mgmt has been re-generated (`make ci-mgmt`). fixes #4379 --------- Co-authored-by: Florian Stadler --- .ci-mgmt.yaml | 1 + .github/workflows/build_sdk.yml | 6 ++++++ .github/workflows/upgrade-bridge.yml | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 27110db0fd5..e01f2b2c6b4 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -12,6 +12,7 @@ env: makeTemplate: bridged checkoutSubmodules: true freeDiskSpaceBeforeBuild: true +freeDiskSpaceBeforeSdkBuild: true freeDiskSpaceBeforeTest: true # TODO: remove XrunUpstreamTools flag after work to add docs replacement strategies to resources.go is completed # Tracked in in https://github.com/pulumi/pulumi-aws/issues/2757 diff --git a/.github/workflows/build_sdk.yml b/.github/workflows/build_sdk.yml index 5e209851e11..86f1b6e7449 100644 --- a/.github/workflows/build_sdk.yml +++ b/.github/workflows/build_sdk.yml @@ -43,6 +43,12 @@ jobs: - go - java 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 with: diff --git a/.github/workflows/upgrade-bridge.yml b/.github/workflows/upgrade-bridge.yml index 69c476ffbca..f9f78b25d4f 100644 --- a/.github/workflows/upgrade-bridge.yml +++ b/.github/workflows/upgrade-bridge.yml @@ -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: Call upgrade provider action if: github.event_name == 'workflow_dispatch' uses: pulumi/pulumi-upgrade-provider-action@v0.0.12