Skip to content

Commit ed66562

Browse files
authored
fix(ci): clear disk space before all neuron builds
1 parent 78811ac commit ed66562

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,19 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v3
24+
- run: ./hack/free-disk-space.sh
2425
- run: docker build --build-arg=KUBERNETES_MINOR_VERSION=latest --file Dockerfile .
2526
build-image-efa:
2627
runs-on: ubuntu-latest
2728
steps:
2829
- uses: actions/checkout@v3
30+
- run: ./hack/free-disk-space.sh
2931
- run: docker build --file test/images/efa/Dockerfile .
3032
build-image-neuronx:
3133
runs-on: ubuntu-latest
3234
steps:
3335
- uses: actions/checkout@v3
36+
- run: ./hack/free-disk-space.sh
3437
- run: docker build --file test/images/neuron/Dockerfile .
3538
build-image-nvidia:
3639
runs-on: ubuntu-latest
@@ -58,9 +61,11 @@ jobs:
5861
runs-on: ubuntu-latest
5962
steps:
6063
- uses: actions/checkout@v3
64+
- run: ./hack/free-disk-space.sh
6165
- run: docker build --file test/images/neuron-training/Dockerfile test/images/neuron-training
6266
build-image-neuron-inference:
6367
runs-on: ubuntu-latest
6468
steps:
6569
- uses: actions/checkout@v3
70+
- run: ./hack/free-disk-space.sh
6671
- run: docker build --file test/images/neuron-inference/Dockerfile test/images/neuron-inference

0 commit comments

Comments
 (0)