Skip to content

Commit

Permalink
Use larger GitHub Actions runner for publish step
Browse files Browse the repository at this point in the history
The `publish` step has started failing with the error "no space left on
device":

    https://github.com/pulumi/pulumi-aws/actions/runs/4308251155/jobs/7528823156

The default runner has 7GB of disk space, and I hypothesise that space
is taken up by the Go build cache -- including the AWS SDK, six times
(arch x OS), ends up being a lot of object files. As a mitigation, we
can use a larger runner instance for all of the publish steps, which
will come with signficantly more disk space.

Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
  • Loading branch information
squaremo committed Mar 6, 2023
1 parent ec4663b commit d23a1dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ jobs:
publish:
name: publish
needs: test
runs-on: ubuntu-latest
runs-on: pulumi-ubuntu-8core
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ jobs:
publish:
name: publish
needs: test
runs-on: ubuntu-latest
runs-on: pulumi-ubuntu-8core
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ jobs:
publish:
name: publish
needs: test
runs-on: ubuntu-latest
runs-on: pulumi-ubuntu-8core
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ jobs:
publish:
name: publish
needs: test
runs-on: ubuntu-latest
runs-on: pulumi-ubuntu-8core
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down

0 comments on commit d23a1dc

Please sign in to comment.