Skip to content

Commit

Permalink
fix!: Remove free-disk-space from the build-*-image actions (#14)
Browse files Browse the repository at this point in the history
* fix: remove free-disk-space action from build-*-image actions due to path issues when run locally vs remotely

* fix(ci): run free-disk-space directly in smoke test

* fix(ci): move free-disk-space to after the checkout
  • Loading branch information
NickLarsenNZ authored Oct 24, 2024
1 parent 9a7313d commit fe921a9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr_actions-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Free Disk Space
uses: ./free-disk-space

- name: Build Product Container Image
id: build
uses: ./build-product-image
Expand Down
3 changes: 0 additions & 3 deletions build-container-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ outputs:
runs:
using: composite
steps:
- name: Free Disk Space
uses: ./free-disk-space

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1

Expand Down
3 changes: 0 additions & 3 deletions build-product-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ outputs:
runs:
using: composite
steps:
- name: Free Disk Space
uses: ./free-disk-space

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1

Expand Down
11 changes: 0 additions & 11 deletions free-disk-space/action.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
---
name: Free Disk Space
description: This action frees up disk space on a runner.
inputs:
product-name:
description: The name of the product to build via bake (directory name)
required: true
config-file:
description: Path the the config file used to generate the shard indices
default: ./conf.py
outputs:
versions:
description: A list of product versions
value: ${{ steps.generate_shards.outputs.VERSIONS }}
runs:
using: composite
steps:
Expand Down

0 comments on commit fe921a9

Please sign in to comment.