Skip to content

Commit d72dc7c

Browse files
committed
Tweak github action to deal with no space error
The github build action is erorring out with a `no space left on device error` when trying to download the docker image `k8s.gcr.io/kube-cross:v1.12.12-1` to run the build. That image is 1.87GB big, and the `easimon/maximize-build-space` action was leaving only 512MB free on the root filesystem. We are completely removing that action to see if the default 14GB of disk space allocated by github actions are enough for the build Additionally, we are removing the `actions/setup-go` as well, since it should not be needed in this pipeline.
1 parent 3a7b475 commit d72dc7c

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/dd-build.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@ jobs:
1515
matrix:
1616
platform: ["linux/arm64","linux/amd64"]
1717
steps:
18-
- name: Maximize build space
19-
uses: easimon/maximize-build-space@master
20-
with:
21-
root-reserve-mb: 512
22-
swap-size-mb: 1024
23-
remove-dotnet: 'true'
24-
remove-android: 'true'
25-
remove-haskell: 'true'
26-
- name: FreeSpace
27-
run: |
28-
echo "Free space:"
29-
df -h
18+
# - name: Maximize build space
19+
# uses: easimon/maximize-build-space@master
20+
# with:
21+
# root-reserve-mb: 512
22+
# swap-size-mb: 1024
23+
# remove-dotnet: 'true'
24+
# remove-android: 'true'
25+
# remove-haskell: 'true'
26+
# - name: FreeSpace
27+
# run: |
28+
# echo "Free space:"
29+
# df -h
3030
- uses: actions/checkout@v2
3131
with:
3232
fetch-depth: 0
33-
- name: Set up Go
34-
uses: actions/setup-go@v2
35-
with:
36-
go-version: 1.15
33+
# - name: Set up Go
34+
# uses: actions/setup-go@v2
35+
# with:
36+
# go-version: 1.15
3737
- name: Build recent
3838
env:
3939
KUBE_BUILD_PLATFORMS: ${{ matrix.platform }}
@@ -93,9 +93,9 @@ jobs:
9393
strategy:
9494
matrix:
9595
assets: [
96-
"kubernetes-client",
97-
"kubernetes-node",
98-
"kubernetes-server"
96+
"kubernetes-client",
97+
"kubernetes-node",
98+
"kubernetes-server"
9999
]
100100
platform: ["linux-arm64","linux-amd64"]
101101
steps:

0 commit comments

Comments
 (0)