From bd4a4fc21cfc5afab306cb6df513579664d3f15f Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 19 Aug 2025 18:33:57 +0200 Subject: [PATCH 1/2] chore(build): add 8.2.0 ppa server version --- packages/build/src/config/server-with-ppa.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/build/src/config/server-with-ppa.ts b/packages/build/src/config/server-with-ppa.ts index 68405aa170..605f23816d 100644 --- a/packages/build/src/config/server-with-ppa.ts +++ b/packages/build/src/config/server-with-ppa.ts @@ -3,7 +3,8 @@ export type SupportedServerVersion = | '5.0.0' | '6.0.0' | '7.0.0' - | '8.0.0'; + | '8.0.0' + | '8.2.0'; export type PPARepositoryAndServerVersions = { repo: PPARepository; @@ -108,6 +109,16 @@ export const SERVER_WITH_PPAS: Record< 'ubuntu2204', 'ubuntu2404', ], + '8.2.0': [ + 'amazon2023', + 'debian12', + 'rhel80', + 'rhel90', + 'suse15', + 'ubuntu2004', + 'ubuntu2204', + 'ubuntu2404', + ], }; const PPA_WITH_SERVER_VERSIONS = new Map< From 229258b01ad20687484c041290a9750e25f83042 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 19 Aug 2025 18:47:08 +0200 Subject: [PATCH 2/2] chore: add tests and config --- packages/build/src/barque.spec.ts | 24 ++++++++++++++++++++++++ packages/build/src/barque.ts | 4 ++++ 2 files changed, 28 insertions(+) diff --git a/packages/build/src/barque.spec.ts b/packages/build/src/barque.spec.ts index 5a479ca0d6..8c1e36a950 100644 --- a/packages/build/src/barque.spec.ts +++ b/packages/build/src/barque.spec.ts @@ -47,6 +47,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/apt/ubuntu/dists/focal/mongodb-enterprise/7.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/8.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.com/apt/ubuntu/dists/focal/mongodb-enterprise/8.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/8.2/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.com/apt/ubuntu/dists/focal/mongodb-enterprise/8.2/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/4.4/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.com/apt/ubuntu/dists/jammy/mongodb-enterprise/4.4/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/5.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', @@ -57,8 +59,12 @@ describe('Barque', function () { 'https://repo.mongodb.com/apt/ubuntu/dists/jammy/mongodb-enterprise/7.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/8.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.com/apt/ubuntu/dists/jammy/mongodb-enterprise/8.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.org/apt/ubuntu/dists/jammy/mongodb-org/8.2/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.com/apt/ubuntu/dists/jammy/mongodb-enterprise/8.2/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/ubuntu/dists/noble/mongodb-org/8.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.com/apt/ubuntu/dists/noble/mongodb-enterprise/8.0/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.org/apt/ubuntu/dists/noble/mongodb-org/8.2/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.com/apt/ubuntu/dists/noble/mongodb-enterprise/8.2/multiverse/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/4.4/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.com/apt/debian/dists/buster/mongodb-enterprise/4.4/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/5.0/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', @@ -85,6 +91,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/apt/debian/dists/bookworm/mongodb-enterprise/7.0/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.org/apt/debian/dists/bookworm/mongodb-org/8.0/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', 'https://repo.mongodb.com/apt/debian/dists/bookworm/mongodb-enterprise/8.0/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.org/apt/debian/dists/bookworm/mongodb-org/8.2/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', + 'https://repo.mongodb.com/apt/debian/dists/bookworm/mongodb-enterprise/8.2/main/binary-amd64/mongodb-mongosh_0.1.0_amd64.deb', ], }, { @@ -109,6 +117,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/7.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/8/mongodb-org/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/yum/redhat/8/mongodb-org/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/5.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', @@ -119,6 +129,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/7.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/amazon/2013.03/mongodb-enterprise/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/5.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', @@ -145,6 +157,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/yum/amazon/2023/mongodb-enterprise/7.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/amazon/2023/mongodb-org/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/amazon/2023/mongodb-enterprise/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/yum/amazon/2023/mongodb-org/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/yum/amazon/2023/mongodb-enterprise/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/zypper/suse/12/mongodb-org/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/zypper/suse/12/mongodb-org/5.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', @@ -163,6 +177,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/zypper/suse/15/mongodb-enterprise/7.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/zypper/suse/15/mongodb-org/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/zypper/suse/15/mongodb-enterprise/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/zypper/suse/15/mongodb-org/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/zypper/suse/15/mongodb-enterprise/8.2/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', ], }, { @@ -179,6 +195,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/7.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/8/mongodb-org/8.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/yum/redhat/8/mongodb-org/8.2/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.2/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/4.4/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/4.4/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/5.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', @@ -189,6 +207,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/7.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/8.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/yum/redhat/9/mongodb-org/8.2/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/yum/redhat/9/mongodb-enterprise/8.2/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/amazon/2/mongodb-org/4.4/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/amazon/2/mongodb-enterprise/4.4/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/amazon/2/mongodb-org/5.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', @@ -207,6 +227,8 @@ describe('Barque', function () { 'https://repo.mongodb.com/yum/amazon/2023/mongodb-enterprise/7.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/yum/amazon/2023/mongodb-org/8.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/yum/amazon/2023/mongodb-enterprise/8.0/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.org/yum/amazon/2023/mongodb-org/8.2/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', + 'https://repo.mongodb.com/yum/amazon/2023/mongodb-enterprise/8.2/aarch64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', ], }, { @@ -230,6 +252,7 @@ describe('Barque', function () { 'https://repo.mongodb.org/yum/redhat/8/mongodb-org/7.0/s390x/RPMS/mongodb-mongosh-0.1.0.el7.s390x.rpm', 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/7.0/s390x/RPMS/mongodb-mongosh-0.1.0.el7.s390x.rpm', 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.0/s390x/RPMS/mongodb-mongosh-0.1.0.el7.s390x.rpm', + 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.2/s390x/RPMS/mongodb-mongosh-0.1.0.el7.s390x.rpm', ], }, { @@ -253,6 +276,7 @@ describe('Barque', function () { 'https://repo.mongodb.org/yum/redhat/8/mongodb-org/7.0/ppc64le/RPMS/mongodb-mongosh-0.1.0.el7.ppc64le.rpm', 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/7.0/ppc64le/RPMS/mongodb-mongosh-0.1.0.el7.ppc64le.rpm', 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.0/ppc64le/RPMS/mongodb-mongosh-0.1.0.el7.ppc64le.rpm', + 'https://repo.mongodb.com/yum/redhat/8/mongodb-enterprise/8.2/ppc64le/RPMS/mongodb-mongosh-0.1.0.el7.ppc64le.rpm', ], }, ] as const diff --git a/packages/build/src/barque.ts b/packages/build/src/barque.ts index 62b89ea6af..c55d62114e 100644 --- a/packages/build/src/barque.ts +++ b/packages/build/src/barque.ts @@ -148,6 +148,10 @@ export class Barque { notaryKeyName: 'server-8.0', notaryToken: process.env.SIGNING_AUTH_TOKEN_80 ?? '', }, + '8.2.0': { + notaryKeyName: 'server-8.2', + notaryToken: process.env.SIGNING_AUTH_TOKEN_82 ?? '', + }, }; }