From e292903ddac427470fa9efb9faa3a87245119698 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 27 Jun 2024 20:06:57 +0200 Subject: [PATCH] Another attempt to make mysql see the config --- .github/workflows/github_action_test_suite.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github_action_test_suite.yml b/.github/workflows/github_action_test_suite.yml index aff2006273..e615cc8d7c 100644 --- a/.github/workflows/github_action_test_suite.yml +++ b/.github/workflows/github_action_test_suite.yml @@ -59,17 +59,19 @@ jobs: --health-interval 10s --health-timeout 5s --health-retries 5 + --defaults-extra-file=/etc/mysql/conf.d/custom.cnf ports: - 3306:3306 steps: - uses: actions/checkout@v3 - - name: Set MySQL custom options + - name: Reboot MySQL with custom options if: ${{ matrix.TESTING_DB == 'mysql' }} run: | sudo cp ${{ github.workspace }}/.github/workflows/mysql_options.cnf /etc/mysql/conf.d/custom.cnf sudo chown -R mysql:mysql /etc/mysql/conf.d/custom.cnf + sudo service mysql restart # - name: Set up database (${{ matrix.TESTING_DB }}) # uses: ./.github/actions/setup-database