Skip to content

Commit cff71d1

Browse files
authored
deb: refresh target platform (#810)
deb: refresh target platform * Add debian:trixie * Drop debian:bullseye * Drop ubuntu:focal Make forward for upcoming v6 series. NOTE: * trixie is not shipped officially, so it is still in testing phase. * package is not uploaded to archive, so some tests are skipped. Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent ebf7f82 commit cff71d1

18 files changed

Lines changed: 198 additions & 54 deletions

File tree

.github/workflows/apt-arm.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,17 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
label:
18-
- Debian GNU/Linux bullseye arm64
1918
- Debian GNU/Linux bookworm arm64
20-
- Ubuntu Focal arm64
19+
- Debian GNU/Linux trixie arm64
2120
- Ubuntu Jammy arm64
2221
- Ubuntu Noble arm64
2322
include:
24-
- label: Debian GNU/Linux bullseye arm64
25-
rake-job: debian-bullseye
26-
test-docker-image: arm64v8/debian:bullseye
2723
- label: Debian GNU/Linux bookworm arm64
2824
rake-job: debian-bookworm
2925
test-docker-image: arm64v8/debian:bookworm
30-
- label: Ubuntu Focal arm64
31-
rake-job: ubuntu-focal
32-
rake-options: LINTIAN=no
33-
test-docker-image: arm64v8/ubuntu:focal
26+
- label: Debian GNU/Linux trixie arm64
27+
rake-job: debian-trixie
28+
test-docker-image: arm64v8/debian:trixie
3429
- label: Ubuntu Jammy arm64
3530
rake-job: ubuntu-jammy
3631
rake-options: LINTIAN=no

.github/workflows/apt.matrix.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
{
22
"include": [
3-
{
4-
"label": "Debian bullseye amd64",
5-
"rake-job": "debian-bullseye",
6-
"test-docker-image": "debian:bullseye"
7-
},
83
{
94
"label": "Debian bookworm amd64",
105
"rake-job": "debian-bookworm",
116
"test-docker-image": "debian:bookworm"
127
},
138
{
14-
"label": "Ubuntu Focal amd64",
15-
"rake-job": "ubuntu-focal",
16-
"test-docker-image": "ubuntu:focal"
9+
"label": "Debian trixie amd64",
10+
"rake-job": "debian-trixie",
11+
"test-docker-image": "debian:trixie"
1712
},
1813
{
1914
"label": "Ubuntu Jammy amd64",

.github/workflows/apt.yml

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,8 @@ jobs:
223223
fail-fast: false
224224
matrix:
225225
label:
226-
- Debian bullseye amd64
227226
- Debian bookworm amd64
228-
- Ubuntu Focal amd64
227+
- Debian trixie amd64
229228
- Ubuntu Jammy amd64
230229
- Ubuntu Noble amd64
231230
test:
@@ -254,15 +253,12 @@ jobs:
254253
- "update-without-data-lost.sh v5 v6"
255254
- "update-without-data-lost.sh v6 v5"
256255
include:
257-
- label: Debian bullseye amd64
258-
rake-job: debian-bullseye
259-
container-image: images:debian/11
260256
- label: Debian bookworm amd64
261257
rake-job: debian-bookworm
262258
container-image: images:debian/12
263-
- label: Ubuntu Focal amd64
264-
rake-job: ubuntu-focal
265-
container-image: images:ubuntu/20.04
259+
- label: Debian trixie amd64
260+
rake-job: debian-trixie
261+
container-image: images:debian/13
266262
- label: Ubuntu Jammy amd64
267263
rake-job: ubuntu-jammy
268264
container-image: images:ubuntu/22.04
@@ -280,6 +276,25 @@ jobs:
280276
test: update-to-next-version-with-backward-compat-for-v4.sh
281277
- label: Debian bookworm amd64
282278
test: downgrade-to-v4.sh
279+
# Temporary disable test for trixie (not released yet)
280+
- label: Debian trixie amd64
281+
test: update-from-v4.sh local
282+
- label: Debian trixie amd64
283+
test: update-from-v4.sh v5
284+
- label: Debian trixie amd64
285+
test: update-from-v4.sh lts
286+
- label: Debian trixie amd64
287+
test: update-from-v5-lts.sh
288+
- label: Debian trixie amd64
289+
test: downgrade-to-v4.sh
290+
- label: Debian trixie amd64
291+
test: downgrade-to-v5-lts.sh
292+
- label: Debian trixie amd64
293+
test: install-newly.sh v5
294+
- label: Debian trixie amd64
295+
test: install-newly.sh lts
296+
- label: Debian trixie amd64
297+
test: update-to-next-version-with-backward-compat-for-v4.sh
283298
- label: Ubuntu Noble amd64
284299
test: update-from-v4.sh local
285300
- label: Ubuntu Noble amd64

fluent-apt-source/Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ class FluentdAptSourcePackageTask < PackageTask
8686

8787
def apt_targets_default
8888
[
89-
"debian-bulleye",
9089
"debian-bookworm",
91-
"ubuntu-focal",
90+
"debian-trixie",
9291
"ubuntu-jammy",
9392
"ubuntu-noble"
9493
]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM debian:trixie
2+
3+
RUN \
4+
echo "debconf debconf/frontend select Noninteractive" | \
5+
debconf-set-selections
6+
7+
ARG DEBUG
8+
9+
RUN \
10+
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
11+
apt update ${quiet} && \
12+
apt install -y -V ${quiet} \
13+
debhelper \
14+
devscripts \
15+
gnupg && \
16+
apt clean && \
17+
rm -rf /var/lib/apt/lists/*

fluent-lts-apt-source/Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ class FluentdAptLtsSourcePackageTask < PackageTask
8686

8787
def apt_targets_default
8888
[
89-
"debian-bulleye",
9089
"debian-bookworm",
91-
"ubuntu-focal",
90+
"debian-trixie",
9291
"ubuntu-jammy",
9392
"ubuntu-noble"
9493
]
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM debian:trixie
2+
3+
RUN \
4+
echo "debconf debconf/frontend select Noninteractive" | \
5+
debconf-set-selections
6+
7+
ARG DEBUG
8+
9+
RUN \
10+
quiet=$([ "${DEBUG}" = "yes" ] || echo "-qq") && \
11+
apt update ${quiet} && \
12+
apt install -y -V ${quiet} \
13+
debhelper \
14+
devscripts \
15+
gnupg && \
16+
apt clean && \
17+
rm -rf /var/lib/apt/lists/*

fluent-package/Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1355,9 +1355,8 @@ EOS
13551355

13561356
def apt_targets_default
13571357
[
1358-
"debian-bullseye",
13591358
"debian-bookworm",
1360-
"ubuntu-focal",
1359+
"debian-trixie",
13611360
"ubuntu-jammy",
13621361
"ubuntu-noble",
13631362
]

fluent-package/apt/commonvar.sh

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ td_agent_version=4.5.2
66
fluent_package_lts_version=5.0.5
77

88
case ${code_name} in
9-
xenial)
10-
distribution=ubuntu
11-
channel=universe
12-
mirror=http://archive.ubuntu.com/ubuntu/
13-
java_jdk=openjdk-8-jre
14-
;;
15-
bionic|focal|hirsute|jammy|noble)
9+
jammy|noble)
1610
distribution=ubuntu
1711
channel=universe
1812
mirror=http://archive.ubuntu.com/ubuntu/
@@ -21,12 +15,7 @@ case ${code_name} in
2115
mirror=http://ports.ubuntu.com/ubuntu-ports
2216
fi
2317
;;
24-
buster|bullseye)
25-
distribution=debian
26-
channel=main
27-
mirror=http://deb.debian.org/debian
28-
;;
29-
bookworm)
18+
bookworm|trixie)
3019
distribution=debian
3120
channel=main
3221
mirror=http://deb.debian.org/debian
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
arm64v8/debian:trixie

0 commit comments

Comments
 (0)