File tree Expand file tree Collapse file tree 8 files changed +126
-63
lines changed
Expand file tree Collapse file tree 8 files changed +126
-63
lines changed Original file line number Diff line number Diff line change @@ -23,13 +23,20 @@ jobs:
2323 runs-on : ubuntu-latest
2424 if : ${{ inputs.operatorhub }}
2525 steps :
26- - name : clean disk
27- run : |
28- sudo swapoff -a
29- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
30- sudo apt clean
31- docker rmi $(docker images -q) -f
32- df -h
26+ - name : Free Disk Space (Ubuntu)
27+ 28+ with :
29+ # this might remove tools that are actually needed,
30+ # if set to "true" but frees about 6 GB
31+ tool-cache : false
32+ # all of these default to true, but feel free to set to
33+ # "false" if necessary for your workflow
34+ android : true
35+ dotnet : true
36+ haskell : true
37+ large-packages : true
38+ docker-images : true
39+ swap-storage : true
3340
3441 - name : checkout
3542 uses : actions/checkout@v2
@@ -147,13 +154,20 @@ jobs:
147154 runs-on : ubuntu-latest
148155 if : ${{ inputs.openshift }}
149156 steps :
150- - name : clean disk
151- run : |
152- sudo swapoff -a
153- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
154- sudo apt clean
155- docker rmi $(docker images -q) -f
156- df -h
157+ - name : Free Disk Space (Ubuntu)
158+ 159+ with :
160+ # this might remove tools that are actually needed,
161+ # if set to "true" but frees about 6 GB
162+ tool-cache : false
163+ # all of these default to true, but feel free to set to
164+ # "false" if necessary for your workflow
165+ android : true
166+ dotnet : true
167+ haskell : true
168+ large-packages : true
169+ docker-images : true
170+ swap-storage : true
157171
158172 - name : checkout
159173 uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -16,13 +16,20 @@ jobs:
1616 name : Verify OLM bundle
1717 runs-on : ubuntu-latest
1818 steps :
19- - name : clean disk
20- run : |
21- sudo swapoff -a
22- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
23- sudo apt clean
24- docker rmi $(docker images -q) -f
25- df -h
19+ - name : Free Disk Space (Ubuntu)
20+ 21+ with :
22+ # this might remove tools that are actually needed,
23+ # if set to "true" but frees about 6 GB
24+ tool-cache : false
25+ # all of these default to true, but feel free to set to
26+ # "false" if necessary for your workflow
27+ android : true
28+ dotnet : true
29+ haskell : true
30+ large-packages : true
31+ docker-images : true
32+ swap-storage : true
2633
2734 - name : checkout
2835 uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -20,13 +20,20 @@ jobs:
2020 matrix :
2121 go-version : [1.21.9, 1.22.7]
2222 steps :
23- - name : clean disk
24- run : |
25- sudo swapoff -a
26- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
27- sudo apt clean
28- docker rmi $(docker images -q) -f
29- df -h
23+ - name : Free Disk Space (Ubuntu)
24+ 25+ with :
26+ # this might remove tools that are actually needed,
27+ # if set to "true" but frees about 6 GB
28+ tool-cache : false
29+ # all of these default to true, but feel free to set to
30+ # "false" if necessary for your workflow
31+ android : true
32+ dotnet : true
33+ haskell : true
34+ large-packages : true
35+ docker-images : true
36+ swap-storage : true
3037
3138 - name : Set up Go
3239 uses : actions/setup-go@v1
Original file line number Diff line number Diff line change @@ -19,13 +19,20 @@ jobs:
1919 runs-on : ubuntu-latest
2020
2121 steps :
22- - name : clean disk
23- run : |
24- sudo swapoff -a
25- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
26- sudo apt clean
27- docker rmi $(docker images -q) -f
28- df -h
22+ - name : Free Disk Space (Ubuntu)
23+ 24+ with :
25+ # this might remove tools that are actually needed,
26+ # if set to "true" but frees about 6 GB
27+ tool-cache : false
28+ # all of these default to true, but feel free to set to
29+ # "false" if necessary for your workflow
30+ android : true
31+ dotnet : true
32+ haskell : true
33+ large-packages : true
34+ docker-images : true
35+ swap-storage : true
2936
3037 - name : release note
3138 uses : release-drafter/release-drafter@v5
Original file line number Diff line number Diff line change @@ -13,13 +13,20 @@ jobs:
1313 name : Upload Release files
1414 runs-on : ubuntu-latest
1515 steps :
16- - name : clean disk
17- run : |
18- sudo swapoff -a
19- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
20- sudo apt clean
21- docker rmi $(docker images -q) -f
22- df -h
16+ - name : Free Disk Space (Ubuntu)
17+ 18+ with :
19+ # this might remove tools that are actually needed,
20+ # if set to "true" but frees about 6 GB
21+ tool-cache : false
22+ # all of these default to true, but feel free to set to
23+ # "false" if necessary for your workflow
24+ android : true
25+ dotnet : true
26+ haskell : true
27+ large-packages : true
28+ docker-images : true
29+ swap-storage : true
2330
2431 - name : checkout
2532 uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -15,13 +15,20 @@ jobs:
1515 test :
1616 runs-on : ubuntu-latest
1717 steps :
18- - name : clean disk
19- run : |
20- sudo swapoff -a
21- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
22- sudo apt clean
23- docker rmi $(docker images -q) -f
24- df -h
18+ - name : Free Disk Space (Ubuntu)
19+ 20+ with :
21+ # this might remove tools that are actually needed,
22+ # if set to "true" but frees about 6 GB
23+ tool-cache : false
24+ # all of these default to true, but feel free to set to
25+ # "false" if necessary for your workflow
26+ android : true
27+ dotnet : true
28+ haskell : true
29+ large-packages : true
30+ docker-images : true
31+ swap-storage : true
2532
2633 # the runner machine has a disk /dev/sdb1 which mounted to /mnt, and it has more free disk than /dev/sda1.
2734 # we can use it to save docker's data to avoid bookie error due to lack of disk.
Original file line number Diff line number Diff line change @@ -34,13 +34,20 @@ jobs:
3434 lint-test :
3535 runs-on : ubuntu-latest
3636 steps :
37- - name : clean disk
38- run : |
39- sudo swapoff -a
40- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
41- sudo apt clean
42- docker rmi $(docker images -q) -f
43- df -h
37+ - name : Free Disk Space (Ubuntu)
38+ 39+ with :
40+ # this might remove tools that are actually needed,
41+ # if set to "true" but frees about 6 GB
42+ tool-cache : false
43+ # all of these default to true, but feel free to set to
44+ # "false" if necessary for your workflow
45+ android : true
46+ dotnet : true
47+ haskell : true
48+ large-packages : true
49+ docker-images : true
50+ swap-storage : true
4451
4552 - name : Checkout
4653 uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -38,13 +38,20 @@ jobs:
3838 - name : integration test with downloader
3939 e2e : " .ci/tests/integration-oauth2/e2e_with_downloader.yaml"
4040 steps :
41- - name : clean disk
42- run : |
43- sudo swapoff -a
44- sudo rm -rf /swapfile /usr/share/dotnet /usr/local/lib/android /opt/ghc
45- sudo apt clean
46- docker rmi $(docker images -q) -f
47- df -h
41+ - name : Free Disk Space (Ubuntu)
42+ 43+ with :
44+ # this might remove tools that are actually needed,
45+ # if set to "true" but frees about 6 GB
46+ tool-cache : false
47+ # all of these default to true, but feel free to set to
48+ # "false" if necessary for your workflow
49+ android : true
50+ dotnet : true
51+ haskell : true
52+ large-packages : true
53+ docker-images : true
54+ swap-storage : true
4855
4956 # the runner machine has a disk /dev/sdb1 which mounted to /mnt, and it has more free disk than /dev/sda1.
5057 # we can use it to save docker's data to avoid bookie error due to lack of disk.
You can’t perform that action at this time.
0 commit comments