diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a82a7a3bb933..fad1f3e5bbb8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,8 +119,9 @@ jobs: # Adding mongodb repositories wget -qO- https://pgp.mongodb.com/server-7.0.asc | sudo gpg --dearmor | sudo tee /usr/share/keyrings/mongodb-server-7.0.gpg >/dev/null - echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/7.0 multiverse" \ + echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" \ | sudo tee -a /etc/apt/sources.list.d/mongodb-org-7.0.list + # Mongo is not officially supported on Ubuntu 24.04, so install it from jammy if [ "${{matrix.os}}" != "ubuntu-24.04" ]; then # Adding librdkafka confluent repositories as in https://docs.confluent.io/platform/current/installation/installing_cp/deb-ubuntu.html#get-the-software