diff --git a/config/repo-config.yml b/config/repo-config.yml index 00e1d8448d..9e02a2375c 100644 --- a/config/repo-config.yml +++ b/config/repo-config.yml @@ -130,6 +130,18 @@ repos: repos: - apt/ubuntu/dists/jammy/mongodb-org + - name: ubuntu2404 + type: deb + code_name: "noble" + edition: org + bucket: repo.mongodb.org + component: multiverse + architectures: + - amd64 + - arm64 + repos: + - apt/ubuntu/dists/noble/mongodb-org + - name: rhel70 type: rpm edition: org @@ -291,6 +303,18 @@ repos: repos: - apt/ubuntu/dists/jammy/mongodb-enterprise + - name: ubuntu2404 + type: deb + code_name: "noble" + edition: enterprise + bucket: repo.mongodb.com + component: multiverse + architectures: + - amd64 + - arm64 + repos: + - apt/ubuntu/dists/noble/mongodb-enterprise + - name: rhel70 type: rpm edition: enterprise diff --git a/packages/build/src/barque.spec.ts b/packages/build/src/barque.spec.ts index 5799b9031e..04d3b4c0ea 100644 --- a/packages/build/src/barque.spec.ts +++ b/packages/build/src/barque.spec.ts @@ -57,6 +57,8 @@ 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/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/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', @@ -151,8 +153,6 @@ describe('Barque', function () { 'https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/6.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/zypper/suse/12/mongodb-org/7.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/zypper/suse/12/mongodb-enterprise/7.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', - 'https://repo.mongodb.org/zypper/suse/12/mongodb-org/8.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', - 'https://repo.mongodb.com/zypper/suse/12/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/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.com/zypper/suse/15/mongodb-enterprise/4.4/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', 'https://repo.mongodb.org/zypper/suse/15/mongodb-org/5.0/x86_64/RPMS/mongodb-mongosh-0.1.0.el7.x86_64.rpm', diff --git a/packages/build/src/barque.ts b/packages/build/src/barque.ts index ee5f62ca06..0efc2d866b 100644 --- a/packages/build/src/barque.ts +++ b/packages/build/src/barque.ts @@ -57,6 +57,7 @@ export function getReposAndArch(packageVariant: PackageVariant): { 'ubuntu1804', 'ubuntu2004', 'ubuntu2204', + 'ubuntu2404', 'debian10', 'debian11', 'debian12', @@ -304,6 +305,8 @@ export class Barque { return `${base}/apt/ubuntu/dists/focal/mongodb-${edition}/${packageFolderVersion}/multiverse/binary-${targetArchitecture}/${packageFileName}`; case 'ubuntu2204': return `${base}/apt/ubuntu/dists/jammy/mongodb-${edition}/${packageFolderVersion}/multiverse/binary-${targetArchitecture}/${packageFileName}`; + case 'ubuntu2404': + return `${base}/apt/ubuntu/dists/noble/mongodb-${edition}/${packageFolderVersion}/multiverse/binary-${targetArchitecture}/${packageFileName}`; case 'debian10': return `${base}/apt/debian/dists/buster/mongodb-${edition}/${packageFolderVersion}/main/binary-${targetArchitecture}/${packageFileName}`; case 'debian11': diff --git a/packages/build/src/config/server-with-ppa.ts b/packages/build/src/config/server-with-ppa.ts index eb627f7e1a..68405aa170 100644 --- a/packages/build/src/config/server-with-ppa.ts +++ b/packages/build/src/config/server-with-ppa.ts @@ -17,6 +17,7 @@ export type PPARepository = | 'ubuntu1804' | 'ubuntu2004' | 'ubuntu2204' + | 'ubuntu2404' | 'debian10' | 'debian11' | 'debian12' @@ -102,10 +103,10 @@ export const SERVER_WITH_PPAS: Record< 'debian12', 'rhel80', 'rhel90', - 'suse12', 'suse15', 'ubuntu2004', 'ubuntu2204', + 'ubuntu2404', ], }; diff --git a/scripts/gather-existing-releases.mjs b/scripts/gather-existing-releases.mjs index 932c46e282..40105bd1dc 100644 --- a/scripts/gather-existing-releases.mjs +++ b/scripts/gather-existing-releases.mjs @@ -62,7 +62,7 @@ for (const release of productionReleases) { const rhel72AndAbove = ['rhel72', ...rhel80AndAbove] const al2AndAbove = ['amazon2', 'amazon2023', ...rhel81AndAbove] const rhel70AndAboveAndRpmBased = ['rhel70', 'rhel71', ...rhel72AndAbove, 'amazon', ...al2AndAbove, 'suse12', 'suse15'] - const ubuntu1804AndAboveAndDebBased = ['ubuntu1804', 'ubuntu1804', 'ubuntu2004', 'ubuntu2204', 'debian10', 'debian11', 'debian12'] + const ubuntu1804AndAboveAndDebBased = ['ubuntu1804', 'ubuntu1804', 'ubuntu2004', 'ubuntu2204', 'ubuntu2404', 'debian10', 'debian11', 'debian12'] const allLinux = [...rhel70AndAboveAndRpmBased, ...ubuntu1804AndAboveAndDebBased] for (const [re, targets_] of [