Skip to content

Commit 4321014

Browse files
authored
MONGOCRYPT-813 publish packages for Ubuntu 24.04 (#1016) (#1017)
1 parent c167338 commit 4321014

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.evergreen/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,10 @@ tasks:
713713
name: build-and-test-and-upload
714714
- variant: ubuntu2204-arm64
715715
name: build-and-test-and-upload
716+
- variant: ubuntu2404-64
717+
name: build-and-test-and-upload
718+
- variant: ubuntu2404-arm64
719+
name: build-and-test-and-upload
716720
- variant: macos
717721
name: build-and-test-and-upload
718722
- variant: alpine-amd64-earthly
@@ -1520,6 +1524,30 @@ buildvariants:
15201524
- name: publish-packages
15211525
distros:
15221526
- ubuntu2004-small
1527+
- name: ubuntu2404-64
1528+
display_name: "Ubuntu 24.04 64-bit"
1529+
run_on: ubuntu2404-small
1530+
expansions:
1531+
has_packages: true
1532+
packager_distro: ubuntu2404
1533+
packager_arch: x86_64
1534+
tasks:
1535+
- build-and-test-and-upload
1536+
- name: publish-packages
1537+
distros:
1538+
- ubuntu2004-small
1539+
- name: ubuntu2404-arm64
1540+
display_name: "Ubuntu 24.04 arm64"
1541+
run_on: ubuntu2404-arm64-small
1542+
expansions:
1543+
has_packages: true
1544+
packager_distro: ubuntu2404
1545+
packager_arch: arm64
1546+
tasks:
1547+
- build-and-test-and-upload
1548+
- name: publish-packages
1549+
distros:
1550+
- ubuntu2004-small
15231551
- name: ubuntu2204-64
15241552
display_name: "Ubuntu 22.04 64-bit"
15251553
run_on: ubuntu2204-small

etc/packager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ def repo_os_version(self, build_os):
327327
return "focal"
328328
elif build_os == 'ubuntu2204':
329329
return "jammy"
330+
elif build_os == 'ubuntu2404':
331+
return "noble"
330332
else:
331333
raise Exception("unsupported build_os: %s" % build_os)
332334
elif self.dname == 'debian':
@@ -390,6 +392,7 @@ def build_os(self, arch):
390392
"ubuntu1804",
391393
"ubuntu2004",
392394
"ubuntu2204",
395+
"ubuntu2404",
393396
]
394397
elif self.dname == 'debian':
395398
return ["debian81", "debian92", "debian10", "debian11", "debian12"]

0 commit comments

Comments
 (0)