Skip to content

Commit fe2b1d6

Browse files
committed
Disable mysql to prevent it from being started
1 parent 9279842 commit fe2b1d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ execAndMeasureSpaceChange() {
152152
# REF: https://github.com/apache/flink/blob/master/tools/azure-pipelines/free_disk_space.sh
153153
cleanPackages() {
154154
# Stop services to avoid issues when removing their packages.
155-
sudo systemctl stop mysql || true
155+
sudo systemctl stop mysql || echo "::warning::The command [sudo systemctl stop mysql] failed"
156+
sudo systemctl disable mysql || echo "::warning::The command [sudo systemctl disable mysql] failed"
156157

157158
local packages=(
158159
'^aspnetcore-.*'

0 commit comments

Comments
 (0)