Commit 8ed2b52
authored
fix: integration / Archery test With other arrows container ran out of space (#9043)
# Which issue does this PR close?
- Closes #9024.
# Rationale for this change
the ci container starts with 63gb / 72gb used, the 9GB remaining disk
space is barely enough for a cross build in 7 languages that leads to ci
being stuck.
this is what a debug step after initialize container shows
=== CONTAINER DISK USAGE ===
Filesystem Size Used Avail Use% Mounted on
overlay 72G 63G 9.5G 87% /
# What changes are included in this PR?
- add resource monitoring to build process
- add a clean up step to remove unnecessary software (cuts 6GB of space)
=== Cleaning up host disk space ===
Disk space before cleanup:
Filesystem Size Used Avail Use% Mounted on
overlay 72G 63G 9.5G 87% /
Disk space after cleanup:
Filesystem Size Used Avail Use% Mounted on
overlay 72G 57G 16G 79% /
- add a small optimization to shallow clone (only clone most recent
commit not full history) for github repos
optimization results we have 6.1 GB left after build
=== After Build ===
Filesystem Size Used Avail Use% Mounted on
overlay 72G 66G 6.1G 92% /
# Are these changes tested?
tested by github ci
# Are there any user-facing changes?
no
---------
Signed-off-by: lyang24 <lanqingy93@gmail.com>1 parent b1ddc24 commit 8ed2b52
1 file changed
Lines changed: 60 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
81 | 110 | | |
82 | 111 | | |
83 | 112 | | |
84 | 113 | | |
85 | 114 | | |
86 | 115 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 116 | + | |
| 117 | + | |
91 | 118 | | |
92 | 119 | | |
93 | 120 | | |
94 | 121 | | |
95 | 122 | | |
96 | | - | |
| 123 | + | |
97 | 124 | | |
98 | 125 | | |
99 | 126 | | |
100 | 127 | | |
101 | 128 | | |
102 | | - | |
| 129 | + | |
103 | 130 | | |
104 | 131 | | |
105 | 132 | | |
106 | 133 | | |
107 | 134 | | |
| 135 | + | |
108 | 136 | | |
109 | 137 | | |
110 | 138 | | |
111 | 139 | | |
112 | 140 | | |
| 141 | + | |
113 | 142 | | |
114 | 143 | | |
115 | 144 | | |
116 | 145 | | |
117 | 146 | | |
| 147 | + | |
118 | 148 | | |
119 | 149 | | |
120 | 150 | | |
121 | 151 | | |
122 | 152 | | |
| 153 | + | |
123 | 154 | | |
124 | 155 | | |
125 | 156 | | |
126 | 157 | | |
127 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
128 | 167 | | |
129 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
130 | 177 | | |
131 | 178 | | |
132 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
133 | 187 | | |
134 | 188 | | |
135 | 189 | | |
| |||
0 commit comments