Skip to content

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Sep 7, 2025

Description

Replace apt-key (and fix build/ferretdb-bw/Dockerfile to build...)

Readiness checklist

  • I added/updated unit tests (and they pass).
  • I added/updated integration/compatibility tests (and they pass).
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Milestone (Next), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

Copy link

codecov bot commented Sep 7, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
128700 1 128699 1766
View the full list of 1 ❄️ flaky tests
github.com/FerretDB/FerretDB/v2/internal/documentdb/genwrap::TestExtract

Flake rate in main: 79.07% (Passed 9 times, Failed 34 times)

Stack Traces | 0.17s run time
Failed

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.


curl -L https://pgp.mongodb.com/server-7.0.asc | apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
curl -L https://pgp.mongodb.com/server-7.0.asc | \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those commands followed https://www.mongodb.com/docs/mongodb-shell/install/, but the instructions on that page a just broken now; for example, "If you receive an error indicating that gnupg is not installed" is just not possible.

I guess we have to do our own now.

curl -L https://pgp.mongodb.com/server-7.0.asc | apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/debian bookworm/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
curl -L https://pgp.mongodb.com/server-7.0.asc | \
gpg --dearmor --yes --output /usr/share/keyrings/mongodb-bookworm.gpg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We generally indent lines that follow \ with a tab. Please do so in that and other changed files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have an example? I can't find one in the repository and VS Code wants to convert <tab> into two spaces. I can't tell if you want an actual tab, two spaces, four spaces, or eight spaces.

@AlekSi AlekSi added this to the Next milestone Sep 7, 2025
@AlekSi AlekSi self-assigned this Sep 7, 2025
@AlekSi AlekSi added code/chore Code maintenance improvements community Issues and PRs assigned to community members labels Sep 7, 2025
@jsoref jsoref mentioned this pull request Sep 7, 2025
9 tasks
Signed-off-by: Josh Soref <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Code maintenance improvements community Issues and PRs assigned to community members
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants