Skip to content

Commit b9b2da5

Browse files
kevinAlbsmdb-ad
authored andcommitted
MONGOCRYPT-813 publish packages for Ubuntu 24.04 (#1016)
1 parent 4c3e25c commit b9b2da5

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
@@ -719,6 +719,10 @@ tasks:
719719
name: build-and-test-and-upload
720720
- variant: ubuntu2204-arm64
721721
name: build-and-test-and-upload
722+
- variant: ubuntu2404-64
723+
name: build-and-test-and-upload
724+
- variant: ubuntu2404-arm64
725+
name: build-and-test-and-upload
722726
- variant: macos
723727
name: build-and-test-and-upload
724728
- variant: alpine-amd64-earthly
@@ -1546,6 +1550,30 @@ buildvariants:
15461550
- name: publish-packages
15471551
distros:
15481552
- ubuntu2004-small
1553+
- name: ubuntu2404-64
1554+
display_name: "Ubuntu 24.04 64-bit"
1555+
run_on: ubuntu2404-small
1556+
expansions:
1557+
has_packages: true
1558+
packager_distro: ubuntu2404
1559+
packager_arch: x86_64
1560+
tasks:
1561+
- build-and-test-and-upload
1562+
- name: publish-packages
1563+
distros:
1564+
- ubuntu2004-small
1565+
- name: ubuntu2404-arm64
1566+
display_name: "Ubuntu 24.04 arm64"
1567+
run_on: ubuntu2404-arm64-small
1568+
expansions:
1569+
has_packages: true
1570+
packager_distro: ubuntu2404
1571+
packager_arch: arm64
1572+
tasks:
1573+
- build-and-test-and-upload
1574+
- name: publish-packages
1575+
distros:
1576+
- ubuntu2004-small
15491577
- name: ubuntu2204-64
15501578
display_name: "Ubuntu 22.04 64-bit"
15511579
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)