]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add ubuntu-noble build target and test it daily 13580/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 6 Dec 2023 13:59:20 +0000 (14:59 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 11 Dec 2023 14:42:04 +0000 (15:42 +0100)
.github/workflows/builder.yml
builder-support/dockerfiles/Dockerfile.target.ubuntu-noble [new file with mode: 0644]
builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-amd64 [new symlink]
builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-arm64 [new symlink]

index b91d2388438b3727c07abd5503c6792f63f6231a..294e45c1134d9c14042eaa428b676a721befdf59 100644 (file)
@@ -24,6 +24,7 @@ jobs:
           - centos-9-stream
           - ubuntu-lunar
           - ubuntu-mantic
+          - ubuntu-noble
           - debian-bookworm
           - debian-trixie
           - amazon-2023
diff --git a/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble b/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble
new file mode 100644 (file)
index 0000000..6166a0a
--- /dev/null
@@ -0,0 +1,36 @@
+# First do the source builds
+@INCLUDE Dockerfile.target.sdist
+
+@IF [ ${BUILDER_TARGET} = ubuntu-noble ]
+FROM ubuntu:noble as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = ubuntu-noble-amd64 ]
+FROM amd64/ubuntu:noble as dist-base
+@ENDIF
+@IF [ ${BUILDER_TARGET} = ubuntu-noble-arm64 ]
+FROM arm64v8/ubuntu:noble as dist-base
+@ENDIF
+
+ARG BUILDER_CACHE_BUSTER=
+ARG APT_URL
+RUN apt-get update && apt-get -y dist-upgrade
+
+@INCLUDE Dockerfile.debbuild-prepare
+
+@IF [ -n "$M_authoritative$M_all" ]
+ADD builder-support/debian/authoritative/debian-buster/ pdns-${BUILDER_VERSION}/debian/
+@ENDIF
+
+@IF [ -n "$M_recursor$M_all" ]
+ADD builder-support/debian/recursor/debian-buster/ pdns-recursor-${BUILDER_VERSION}/debian/
+@ENDIF
+
+@IF [ -n "$M_dnsdist$M_all" ]
+ADD builder-support/debian/dnsdist/debian-buster/ dnsdist-${BUILDER_VERSION}/debian/
+@ENDIF
+
+@INCLUDE Dockerfile.debbuild
+
+# Do a test install and verify
+# Can be skipped with skiptests=1 in the environment
+# @EXEC [ "$skiptests" = "" ] && include Dockerfile.debtest
diff --git a/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-amd64 b/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-amd64
new file mode 120000 (symlink)
index 0000000..c0c8713
--- /dev/null
@@ -0,0 +1 @@
+Dockerfile.target.ubuntu-noble
\ No newline at end of file
diff --git a/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-arm64 b/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-arm64
new file mode 120000 (symlink)
index 0000000..c0c8713
--- /dev/null
@@ -0,0 +1 @@
+Dockerfile.target.ubuntu-noble
\ No newline at end of file