Skip to content

Commit 4677d75

Browse files
committed
ci: stop mysql before removing it
1 parent 7daf4cf commit 4677d75

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ci/scripts/free-disk-space.sh

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ execAndMeasureSpaceChange() {
110110
# Remove large packages
111111
# REF: https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
112112
cleanPackages() {
113+
# Stop services to avoid issues when removing their packages.
114+
sudo systemctl stop mysql
115+
113116
local packages=(
114117
'^aspnetcore-.*'
115118
'^dotnet-.*'

0 commit comments

Comments
 (0)