Skip to content

Commit 9d763ff

Browse files
committed
Jenkinsfile: add Ubuntu 25.04 "Plucky Puffin" (not yet released)
Adds the upcoming ubuntu release to start testing builds in CI. This release is a non-LTS release, and planned to be release on April 17, 2025; - https://wiki.ubuntu.com/Releases - https://discourse.ubuntu.com/t/plucky-puffin-release-schedule/36461 Signed-off-by: Paweł Gronowski <[email protected]>
1 parent e11f8c1 commit 9d763ff

File tree

4 files changed

+49
-1
lines changed

4 files changed

+49
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- ubuntu-jammy
2424
- ubuntu-noble
2525
- ubuntu-oracular
26+
- ubuntu-plucky
2627
- fedora-41
2728
- fedora-42
2829
- centos-9

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def pkgs = [
1616
[target: "ubuntu-jammy", image: "ubuntu:jammy", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 22.04 LTS (End of support: June, 2027. EOL: April, 2032)
1717
[target: "ubuntu-noble", image: "ubuntu:noble", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 24.04 LTS (End of support: June, 2029. EOL: April, 2034)
1818
[target: "ubuntu-oracular", image: "ubuntu:oracular", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 24.10 (EOL: July, 2025)
19+
[target: "ubuntu-plucky", image: "ubuntu:plucky", arches: ["amd64", "aarch64", "armhf"]], // Ubuntu 25.04 (EOL: January, 2026)
1920
]
2021

2122
def genBuildStep(LinkedHashMap pkg, String arch) {

deb/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN?=docker run --rm \
5151
debbuild-$@/$(ARCH)
5252

5353
DEBIAN_VERSIONS ?= debian-bullseye debian-bookworm
54-
UBUNTU_VERSIONS ?= ubuntu-focal ubuntu-jammy ubuntu-noble ubuntu-oracular
54+
UBUNTU_VERSIONS ?= ubuntu-focal ubuntu-jammy ubuntu-noble ubuntu-oracular ubuntu-plucky
5555
RASPBIAN_VERSIONS ?= raspbian-bullseye raspbian-bookworm
5656
DISTROS := $(DEBIAN_VERSIONS) $(UBUNTU_VERSIONS) $(RASPBIAN_VERSIONS)
5757

deb/ubuntu-plucky/Dockerfile

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# syntax=docker/dockerfile:1
2+
3+
ARG GO_IMAGE=golang:latest
4+
ARG DISTRO=ubuntu
5+
ARG SUITE=plucky
6+
ARG VERSION_ID=25.04
7+
ARG BUILD_IMAGE=${DISTRO}:${SUITE}
8+
9+
FROM ${GO_IMAGE} AS golang
10+
11+
FROM ${BUILD_IMAGE}
12+
13+
# Remove diverted man binary to prevent man-pages being replaced with "minimized" message. See docker/for-linux#639
14+
RUN if [ "$(dpkg-divert --truename /usr/bin/man)" = "/usr/bin/man.REAL" ]; then \
15+
rm -f /usr/bin/man; \
16+
dpkg-divert --quiet --remove --rename /usr/bin/man; \
17+
fi
18+
19+
ARG DEBIAN_FRONTEND=noninteractive
20+
RUN apt-get update && apt-get install -y curl devscripts equivs git
21+
22+
ENV GOPROXY=https://proxy.golang.org|direct
23+
ENV GO111MODULE=off
24+
ENV GOPATH=/go
25+
ENV GOTOOLCHAIN=local
26+
ENV PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
27+
28+
ARG COMMON_FILES
29+
COPY --link ${COMMON_FILES} /root/build-deb/debian
30+
RUN apt-get update \
31+
&& mk-build-deps -t "apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends -y" -i /root/build-deb/debian/control
32+
33+
COPY --link sources/ /sources
34+
ARG DISTRO
35+
ARG SUITE
36+
ARG VERSION_ID
37+
ENV DISTRO=${DISTRO}
38+
ENV SUITE=${SUITE}
39+
ENV VERSION_ID=${VERSION_ID}
40+
41+
COPY --link --from=golang /usr/local/go /usr/local/go
42+
43+
WORKDIR /root/build-deb
44+
COPY build-deb /root/build-deb/build-deb
45+
46+
ENTRYPOINT ["/root/build-deb/build-deb"]

0 commit comments

Comments
 (0)