Skip to content

Commit 61eea4e

Browse files
Updates all build and test deps that work on JDK 21
Matches recent changes across zipkin 3.6.0, brave 6.3.1, and zipkin-reporter 3.5.3. Notably, Armeria 1.37.0 (Netty 4.2), Spring Boot 3.5.12, and AWS SDK v1 1.12.797 (final EOL release) and v2 2.42.20. Also updates build infrastructure: Maven 3.9.14, ubuntu-24.04 runners, pinned trivy v0.35.0, license-maven-plugin 5.0.0, tonistiigi/binfmt for multi-arch, and docker compose v2 syntax. Signed-off-by: Adrian Cole <adrian@tetrate.io>
1 parent 8f801ec commit 61eea4e

File tree

19 files changed

+119
-119
lines changed

19 files changed

+119
-119
lines changed

.github/workflows/create_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
create_release:
14-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
14+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@v6

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
deploy:
18-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
18+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
1919
steps:
2020
- name: Checkout Repository
2121
uses: actions/checkout@v6

.github/workflows/docker_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
docker_push:
14-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
14+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
1515
steps:
1616
- name: Checkout Repository
1717
uses: actions/checkout@v6

.github/workflows/security.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: security
33

44
# We don't scan documentation-only commits.
55
on: # yamllint disable-line rule:truthy
6-
workflow_dispatch: # trigger ad-hoc runs of this action
76
push: # non-tagged pushes to master
87
branches:
98
- master
@@ -24,7 +23,7 @@ on: # yamllint disable-line rule:truthy
2423
jobs:
2524
security:
2625
name: security
27-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
26+
runs-on: ubuntu-24.04 # newest available distribution, aka numbat
2827
# skip commits made by the release plugin
2928
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
3029
steps:
@@ -37,8 +36,11 @@ jobs:
3736
key: ${{ runner.os }}-trivy
3837
restore-keys: ${{ runner.os }}-trivy
3938
- name: Run Trivy vulnerability and secret scanner
40-
uses: aquasecurity/trivy-action@master
39+
uses: aquasecurity/trivy-action@v0.35.0
4140
id: trivy
41+
env: # See https://github.com/aquasecurity/trivy/discussions/7668
42+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
43+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db
4244
with:
4345
scan-type: 'fs'
4446
scan-ref: '.' # scan the entire repository

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
jobs:
1919
test-javadoc:
2020
name: Test JavaDoc Builds
21-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
21+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
2222
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
2323
steps:
2424
- name: Checkout Repository
@@ -39,7 +39,7 @@ jobs:
3939

4040
test:
4141
name: test (JDK ${{ matrix.java_version }})
42-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
42+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
4343
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
4444
strategy:
4545
fail-fast: false # don't fail fast as sometimes failures are operating system specific

.mvn/wrapper/maven-wrapper.jar

65 Bytes
Binary file not shown.
Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,4 @@
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-
wrapperVersion=3.3.2
1+
wrapperVersion=3.3.4
182
distributionType=bin
19-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
20-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.14/apache-maven-3.9.14-bin.zip
4+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar

build-bin/docker-compose-zipkin-aws-unauthenticated.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: "3.6"
21
services:
32
# TODO: this will pass because X-Ray just sends UDP at the moment.
43
# Authenticate and use the other modules: sqs,kinesis,elasticsearch

build-bin/docker/configure_docker_push

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212

1313
set -ue
1414

15-
# Verify we are on an arch that can publish multi-arch images
16-
arch=$($(dirname "$0")/docker_arch)
17-
if [ "${arch}" != "amd64" ]; then
18-
>&2 echo "multiarch/qemu-user-static doesn't support arch ${arch}"
19-
exit 1
20-
fi
21-
2215
# Enable experimental features on the server (multi-arch)
2316
echo '{ "experimental":true, "registry-mirrors": ["https://mirror.gcr.io"] }' | sudo tee /etc/docker/daemon.json
2417

@@ -38,11 +31,9 @@ if [ -n "${DOCKERHUB_USER:-}" ]; then
3831
fi
3932

4033
# Enable execution of different multi-architecture containers by QEMU and binfmt_misc
41-
# See https://github.com/multiarch/qemu-user-static
34+
# See https://github.com/tonistiigi/binfmt
4235
#
4336
# Mirrored image use to avoid docker.io pulls:
44-
# docker tag multiarch/qemu-user-static:7.2.0-1 ghcr.io/openzipkin/multiarch-qemu-user-static:latest
37+
# docker buildx imagetools create --tag ghcr.io/openzipkin/tonistiigi-binfmt-qemu:latest tonistiigi/binfmt:qemu-v10.2.1-65
4538
#
46-
# Note: This image only works on x86_64/amd64 architecture.
47-
# See: https://github.com/multiarch/qemu-user-static#supported-host-architectures
48-
docker run --rm --privileged ghcr.io/openzipkin/multiarch-qemu-user-static --reset -p yes
39+
docker run --privileged --rm ghcr.io/openzipkin/tonistiigi-binfmt-qemu --install all

build-bin/docker/docker_args

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,15 @@ fi
4141
#
4242
# This is not required to be a base (FROM scratch) image like ghcr.io/openzipkin/alpine:3.12.3
4343
# See https://docs.docker.com/glossary/#parent-image
44+
if [ -n "${DOCKER_BUILD_IMAGE}" ]; then
45+
docker_args="${docker_args} --build-arg docker_build_image=${DOCKER_BUILD_IMAGE}"
46+
fi
47+
4448
if [ -n "${DOCKER_PARENT_IMAGE}" ]; then
4549
docker_args="${docker_args} --build-arg docker_parent_image=${DOCKER_PARENT_IMAGE}"
4650
fi
4751

48-
# When non-empty, becomes the build-arg alpine_version. e.g. "3.12.3"
52+
# When non-empty, becomes the build-arg alpine_version. e.g. "3.23.3"
4953
# Used to align base layers from https://github.com/orgs/openzipkin/packages/container/package/alpine
5054
if [ -n "${ALPINE_VERSION}" ]; then
5155
docker_args="${docker_args} --build-arg alpine_version=${ALPINE_VERSION}"

0 commit comments

Comments
 (0)