Skip to content

Commit 5e592cb

Browse files
Add step to cleanup space
Signed-off-by: Sameer <[email protected]>
1 parent 5bb8ed8 commit 5e592cb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/test-gh.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ jobs:
1414
fail-fast: false
1515
max-parallel: 2
1616
matrix:
17-
k8s-version: [v1.27.0, latest]
17+
k8s-version: [v1.28.0, latest]
1818
steps:
19+
- name: Free space
20+
run: |
21+
docker system prune -af || true
22+
df -h
1923
- name: install kind
2024
uses: helm/kind-action@v1
2125
with:
@@ -37,7 +41,7 @@ jobs:
3741
git checkout ${k8s_version}
3842
git clone https://github.com/kubernetes-sigs/kind.git && cd kind
3943
kind build node-image --type=source $(pwd)/.. --image kindest/node:${k8s_version}
40-
cd ../../../
44+
cd $(pwd)/../../../
4145
rm -rf tmp && echo "Cleanup completed: Temporary directory 'tmp' has been removed." || echo "Cleanup failed: Could not remove 'tmp' directory."
4246
- name: Create Kind Cluster(k8s version ${{ env.k8s_version }})
4347
run: |

0 commit comments

Comments
 (0)