Skip to content

Commit 9b7d40b

Browse files
committed
feat CI: update URL to for MariaDB keys
Tests: протестировано CI Pull Request resolved: #1013 commit_hash:7313244e6652b06130646d6003a1f0a18b623ce8
1 parent c9bde1a commit 9b7d40b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ jobs:
155155
sudo apt update
156156
# Instructions from https://clickhouse.com/docs/en/getting-started/install/
157157
sudo apt install -y apt-transport-https ca-certificates dirmngr
158-
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754
159-
echo "deb https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list
158+
curl -fsSL 'https://packages.clickhouse.com/rpm/lts/repodata/repomd.xml.key' | sudo gpg --dearmor -o /usr/share/keyrings/clickhouse-keyring.gpg
159+
echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg arch=amd64] https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list
160160
161161
# Adding mariadb repositories (from https://www.linuxcapable.com/how-to-install-mariadb-on-ubuntu-linux/ )
162-
curl -fsSL http://mirror.mariadb.org/PublicKey_v2 | sudo gpg --dearmor -o "/usr/share/keyrings/mariadb.gpg"
162+
curl -fsSL https://mariadb.org/mariadb_release_signing_key.pgp | sudo gpg --dearmor -o "/usr/share/keyrings/mariadb.gpg"
163163
sudo chmod a+r "/usr/share/keyrings/mariadb.gpg"
164164
# Restore the correct URL after https://jira.mariadb.org/browse/MDBF-651
165165
#echo "deb [arch=amd64,arm64,ppc64el signed-by=/usr/share/keyrings/mariadb.gpg] https://deb.mariadb.org/10.11/ubuntu $(lsb_release -cs) main" \

0 commit comments

Comments
 (0)