Skip to content

Commit

Permalink
fix tests: ubuntu trustry repository key expired
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Gautier <[email protected]>
  • Loading branch information
Arthur Gautier authored and baloo committed Apr 9, 2019
1 parent 07e18b3 commit 72db07f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions scripts/install_mysql56.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ sed -i'' 's/table_cache/table_open_cache/' /etc/mysql/my.cnf
sed -i'' 's/log_slow_queries/slow_query_log/' /etc/mysql/my.cnf

# Install new mysql version
echo deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6 | tee /etc/apt/sources.list.d/mysql.list
apt-key add .mysql/dev.mysql.com.gpg.key
echo deb [trusted=yes] http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.6 | tee /etc/apt/sources.list.d/mysql.list
apt-get update
env DEBIAN_FRONTEND=noninteractive apt-get install -o Dpkg::Options::='--force-confold' -q -y mysql-server mysql-client

Expand Down
3 changes: 1 addition & 2 deletions scripts/install_mysql57.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ sed -i'' 's/table_cache/table_open_cache/' /etc/mysql/my.cnf
sed -i'' 's/log_slow_queries/slow_query_log/' /etc/mysql/my.cnf

# Install new mysql version
echo deb http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7 | tee /etc/apt/sources.list.d/mysql.list
apt-key add .mysql/dev.mysql.com.gpg.key
echo deb [trusted=yes] http://repo.mysql.com/apt/ubuntu/ trusty mysql-5.7 | tee /etc/apt/sources.list.d/mysql.list
apt-get update
env DEBIAN_FRONTEND=noninteractive apt-get install -o Dpkg::Options::='--force-confold' -q -y mysql-server mysql-client

Expand Down

0 comments on commit 72db07f

Please sign in to comment.