Skip to content

Commit

Permalink
Fix key verification for mysql repos in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
VitaliySerov committed Jan 5, 2024
1 parent 79f78f9 commit 2957c64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ci/mysql57.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ rm -fr /etc/mysql
rm -fr /var/lib/mysql
apt-key add support/5072E1F5.asc # old signing key
apt-key add support/3A79BD29.asc # 5.7.37 and higher
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
# Verify the repository as add-apt-repository does not.
wget -q --spider http://repo.mysql.com/apt/ubuntu/dists/$(lsb_release -cs)/mysql-5.7
add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-5.7'
Expand Down
1 change: 1 addition & 0 deletions ci/mysql80.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ rm -fr /etc/mysql
rm -fr /var/lib/mysql
apt-key add support/5072E1F5.asc # old signing key
apt-key add support/3A79BD29.asc # 8.0.28 and higher
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B7B3B788A8D3785C
# Verify the repository as add-apt-repository does not.
wget -q --spider http://repo.mysql.com/apt/ubuntu/dists/$(lsb_release -cs)/mysql-8.0
add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-8.0'
Expand Down

0 comments on commit 2957c64

Please sign in to comment.