Skip to content

build: run the migrations check against a MySQL service container - #3023

Draft
feanil wants to merge 1 commit into
openedx:masterfrom
feanil:feanil/mysql-service-container
Draft

feanil wants to merge 1 commit into
openedx:masterfrom
feanil:feanil/mysql-service-container

Conversation

@feanil

@feanil feanil commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Part of openedx/public-engineering#577.

ubuntu-latest is now ubuntu-26.04 and that image has no /etc/init.d/mysql, so the migrations check has failed on every PR since 2026-11-10:

sudo: '/etc/init.d/mysql': command not found

This runs MySQL 8 as a service container instead of the runner's preinstalled server, with openedx-platform's default database name and credentials. Same setup as openedx/edx-submissions#394 and openedx/edx-enterprise-data#730.

ubuntu-latest moved to ubuntu-26.04 and that image has no
/etc/init.d/mysql, so the "Initiate Services" step has failed on every
PR since 2026-11-10:

    sudo: '/etc/init.d/mysql': command not found

Stop depending on the runner's preinstalled server. Run MySQL 8 as a
service container with openedx-platform's default database name and
credentials, the same setup as openedx/edx-submissions#394 and
openedx/edx-enterprise-data#730. The client headers mysqlclient needs
are installed with --no-upgrade so apt does not try to upgrade the
image's mysql-server, whose post-install script fails on 26.04.

Tracked in openedx/public-engineering#577

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant