From: Peter van Dijk Date: Wed, 6 Dec 2023 13:59:20 +0000 (+0100) Subject: add ubuntu-noble build target and test it daily X-Git-Tag: dnsdist-1.9.0-rc1~41^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23a1173b7b043d6afd70404fe86a4279c28cd39;p=thirdparty%2Fpdns.git add ubuntu-noble build target and test it daily --- diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index b91d238843..294e45c113 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -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 index 0000000000..6166a0a9a7 --- /dev/null +++ b/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble @@ -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 index 0000000000..c0c8713948 --- /dev/null +++ b/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-amd64 @@ -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 index 0000000000..c0c8713948 --- /dev/null +++ b/builder-support/dockerfiles/Dockerfile.target.ubuntu-noble-arm64 @@ -0,0 +1 @@ +Dockerfile.target.ubuntu-noble \ No newline at end of file