Virtual-environments: Announce/Feedback: MySQL will become shut down by default on Ubuntu images on 03/12/2020

Created on 6 Feb 2020  路  11Comments  路  Source: actions/virtual-environments

Hi!

We are going to make MySQL service shut down by default on Ubuntu images on 03/12/2020.

If you have any concerns or questions please let use know through this issue.

Thanks!

Announcement Ubuntu awaiting-deployment

Most helpful comment

Hey @Croydon, please make sure you subscribe to the GitHub changelog which is where we usually post news about changes like this. This post should go out today sometime. https://github.blog/changelog/

All 11 comments

Generally speaking, please create something like a news feed for these kind of breaking and/or major changes to images

It is unrealistic that people can watch all issues for important changes 馃槃

Hi @Croydon !
unfortunately GitHub doesn't allow to pin more than 3 issues, so we were waiting for ability to remove the announcement about Xcode so we could pin this one instead.
Thanks!

Hey @Croydon, please make sure you subscribe to the GitHub changelog which is where we usually post news about changes like this. This post should go out today sometime. https://github.blog/changelog/

I suppose, there will be appropriate documentation explaining how to start it, when needed?

Would it be expected to run MySQL as a separate job-service? If that is the case why do you need to provide MySQL server in the hosted Ubuntu images?

Meanwhile, for those still using Azure Pipelines, as same Ubuntu images are being used, it would be nice to expand the documentation on how to do same.

So for GitHub Actions, here is the change to make in order to make this work. https://github.blog/changelog/2020-02-21-github-actions-breaking-change-ubuntu-virtual-environments-will-no-longer-start-the-mysql-service-automatically/

The same should work for azure pipelines, you just need to run the shell command
sudo /etc/init.d/mysql start

I'm interested to understand why this is needed. Would that mean faster GitHub Actions runs for those who do not use MySQL in their workflow? Thanks!

PR for switching off MySQL was merged https://github.com/actions/virtual-environments/pull/498

Changes will become alive with the next image rollout.

Just curious. What was the reasoning behind this? Does this reduce CPU usage or make the runner faster? Or were you getting too many issues about not being able to use port 3306?

Closing it since Ubuntu Image with this update is availble for all customers now.

Was this page helpful?
0 / 5 - 0 ratings