Skip to content

Commit

Permalink
feat(cd): build debian 12 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyZhang0707 committed Dec 18, 2023
1 parent ac59ffd commit 2c693bb
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/matrix-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ build-packages:
image: debian:11
package: deb
check-manifest-suite: debian-11-amd64
- label: debian-12
image: debian:12
package: deb
check-manifest-suite: debian-12-amd64

# RHEL
- label: rhel-7
Expand Down Expand Up @@ -89,9 +93,9 @@ build-images:

# Debian
- label: debian
base-image: debian:11-slim
base-image: debian:12-slim
package: deb
artifact-from: debian-11
artifact-from: debian-12

# RHEL
- label: rhel
Expand Down Expand Up @@ -146,6 +150,12 @@ release-packages:
artifact-version: 11
artifact-type: debian
artifact: kong.amd64.deb
- label: debian-12
package: deb
artifact-from: debian-12
artifact-version: 12
artifact-type: debian
artifact: kong.amd64.deb

# RHEL
- label: rhel-7
Expand Down
2 changes: 1 addition & 1 deletion build/dockerfiles/deb.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG KONG_BASE_IMAGE=debian:bullseye-slim
ARG KONG_BASE_IMAGE=debian:bookworm-slim
FROM --platform=$TARGETPLATFORM $KONG_BASE_IMAGE

LABEL maintainer="Kong Docker Maintainers <[email protected]> (@team-gateway-bot)"
Expand Down
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/debian-12-support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "Build deb packages for Debian 12."
type: feature
scope: Core
13 changes: 13 additions & 0 deletions scripts/explain_manifest/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,19 @@ def transform(f: FileInfo):
},
}
),
"debian-12-amd64": ExpectSuite(
name="Debian 12 (amd64)",
manifest="fixtures/debian-12-amd64.txt",
tests={
common_suites: {},
libc_libcpp_suites: {
"libc_max_version": "2.36",
# gcc 12.1.0
"libcxx_max_version": "3.4.30",
"cxxabi_max_version": "1.3.13",
},
}
),
"docker-image": ExpectSuite(
name="Generic Docker Image",
manifest=None,
Expand Down

0 comments on commit 2c693bb

Please sign in to comment.