Skip to content

Commit

Permalink
Merge pull request #45 from kazuho/mysql-5.7
Browse files Browse the repository at this point in the history
adjust ci script
  • Loading branch information
Songmu committed Apr 6, 2024
2 parents 9854bde + 6707361 commit 232a015
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions author/ci_install_mysql.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex

if [[ $DATABASE_ADAPTER =~ (mariadb|mysql-(5\.7|8\.0)) ]]; then
if [[ $DATABASE_ADAPTER =~ (mariadb|mysql-5\.7) ]]; then
sudo service mysql stop
sudo apt-get install software-properties-common
if [[ $DATABASE_ADAPTER =~ mariadb ]]; then
Expand All @@ -22,7 +22,7 @@ EOC
sudo dpkg --install mysql-apt-config_0.8.29-1_all.deb
sudo apt-get update -q
sudo apt-cache policy mysql-server
sudo apt-get remove --yes mysql-client-8.0 mysql-client-core-8.0
sudo apt-get install -q --yes -f --option DPkg::Options::=--force-confnew mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*
sudo apt-get remove -q --yes mysql-client-8.0 mysql-client-core-8.0
sudo apt-get install -q --yes -f mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*
fi
fi

0 comments on commit 232a015

Please sign in to comment.