Skip to content

Commit 3b04072

Browse files
Updates to latest versions and off snapshot Elasticsearch (#235)
Signed-off-by: Adrian Cole <[email protected]>
1 parent 5496269 commit 3b04072

File tree

20 files changed

+194
-175
lines changed

20 files changed

+194
-175
lines changed

.github/workflows/create_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on: # yamllint disable-line rule:truthy
1010

1111
jobs:
1212
create_release:
13-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
13+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
1414
steps:
1515
- name: Checkout Repository
1616
uses: actions/checkout@v4
@@ -24,7 +24,7 @@ jobs:
2424
distribution: 'zulu' # zulu as it supports a wide version range
2525
java-version: '17' # until Spark 4 per SPARK-43831
2626
- name: Cache local Maven repository
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.m2/repository
3030
key: ${{ runner.os }}-jdk-17-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on: # yamllint disable-line rule:truthy
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@v4
@@ -25,7 +25,7 @@ jobs:
2525
distribution: 'zulu' # zulu as it supports a wide version range
2626
java-version: '17' # until Spark 4 per SPARK-43831
2727
- name: Cache local Maven repository
28-
uses: actions/cache@v3
28+
uses: actions/cache@v4
2929
with:
3030
path: ~/.m2/repository
3131
key: ${{ runner.os }}-jdk-17-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/docker_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on: # yamllint disable-line rule:truthy
1010

1111
jobs:
1212
docker_push:
13-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
13+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
1414
steps:
1515
- name: Checkout Repository
1616
uses: actions/checkout@v4

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on: # yamllint disable-line rule:truthy
2424
jobs:
2525
lint:
2626
name: lint
27-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
27+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
2828
# skip commits made by the release plugin
2929
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
3030
steps:

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on: # yamllint disable-line rule:truthy
2323
jobs:
2424
security:
2525
name: security
26-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
26+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
2727
# skip commits made by the release plugin
2828
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
2929
steps:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on: # yamllint disable-line rule:truthy
2323
jobs:
2424
test:
2525
name: test (JDK 17)
26-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
26+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
2727
# skip commits made by the release plugin
2828
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
2929
strategy:
@@ -54,7 +54,7 @@ jobs:
5454
build-bin/test -DexcludedGroups=docker
5555
5656
test_docker:
57-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
57+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
5858
# skip commits made by the release plugin
5959
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
6060
strategy:

.github/workflows/test_readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ on: # yamllint disable-line rule:truthy
2424

2525
jobs:
2626
zipkin-server:
27-
runs-on: ubuntu-22.04 # newest available distribution, aka jellyfish
27+
runs-on: ubuntu-24.04 # newest available distribution, aka noble
2828
# skip commits made by the release plugin
2929
steps:
3030
- name: Checkout Repository

.mvn/wrapper/maven-wrapper.jar

481 Bytes
Binary file not shown.

.mvn/wrapper/maven-wrapper.properties

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip
18-
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
17+
wrapperVersion=3.3.2
18+
distributionType=bin
19+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-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

build-bin/configure_lint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
markdown-link-check -V || npm install -g markdown-link-check
55

66
# Attempt to install yamllint if absent
7-
yamllint || pip install --user yamllint
7+
yamllint -v || pip install --user yamllint

build-bin/docker/docker_args

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if [ -n "${DOCKER_TARGET}" ]; then
3737
fi
3838

3939
# When non-empty, becomes the base layer including tag appropriate for the image being built.
40-
# e.g. ghcr.io/openzipkin/java:21.0.2_p13-jre
40+
# e.g. ghcr.io/openzipkin/java:21.0.4_p7-jre
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

build-bin/maven/maven_unjar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fi
5858

5959
if ! test -f ${artifact_id}.jar && [ ${is_release} = "true" ]; then
6060
mvn_get="mvn -q --batch-mode -Denforcer.fail=false \
61-
org.apache.maven.plugins:maven-dependency-plugin:3.6.1:get \
61+
org.apache.maven.plugins:maven-dependency-plugin:3.7.1:get \
6262
-Dtransitive=false -DgroupId=${group_id} -DartifactId=${artifact_id} -Dversion=${version}"
6363

6464
if [ -n "${classifier}" ]; then

cassandra3/src/test/java/zipkin2/storage/cassandra/CassandraContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ final class CassandraContainer extends GenericContainer<CassandraContainer> {
5050
);
5151

5252
CassandraContainer() {
53-
super(parse("ghcr.io/openzipkin/zipkin-cassandra:3.4.0"));
53+
super(parse("ghcr.io/openzipkin/zipkin-cassandra:3.4.1"));
5454
addExposedPort(9042);
5555
waitStrategy = Wait.forHealthcheck();
5656
withLogConsumer(new Slf4jLogConsumer(LOGGER));

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# docker-compose: When updating, update everywhere.
1111
#
1212
# Note: JDK 17 until Spark 4 per SPARK-43831
13-
ARG java_version=17.0.11_p9
13+
ARG java_version=17.0.12_p7
1414

1515
# We copy files from the context into a scratch container first to avoid a problem where docker and
1616
# docker-compose don't share layer hashes https://github.com/docker/compose/issues/883 normally.
@@ -39,7 +39,7 @@ RUN /code/build-bin/maven/maven_build_or_unjar io.zipkin.dependencies zipkin-dep
3939

4040
# Try -jre again once Spark 4.0 is released. Spark 3.x uses old Hadoop in the
4141
# Elasticsearch driver which needs com.sun.security.auth.module.UnixLoginModule
42-
FROM ghcr.io/openzipkin/java:17.0.11_p9 as zipkin-dependencies
42+
FROM ghcr.io/openzipkin/java:17.0.12_p7 as zipkin-dependencies
4343
LABEL org.opencontainers.image.description="Zipkin Dependencies Aggregator on OpenJDK and Alpine Linux"
4444
LABEL org.opencontainers.image.source=https://github.com/openzipkin/zipkin-dependencies
4545

elasticsearch/src/test/java/zipkin2/storage/elasticsearch/ElasticsearchContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ElasticsearchContainer extends GenericContainer<ElasticsearchContainer> {
3333
static final Logger LOGGER = LoggerFactory.getLogger(ElasticsearchContainer.class);
3434

3535
ElasticsearchContainer(int majorVersion) {
36-
super(parse("ghcr.io/openzipkin/zipkin-elasticsearch" + majorVersion + ":3.4.0"));
36+
super(parse("ghcr.io/openzipkin/zipkin-elasticsearch" + majorVersion + ":3.4.1"));
3737
addExposedPort(9200);
3838
waitStrategy = Wait.forHealthcheck();
3939
withLogConsumer(new Slf4jLogConsumer(LOGGER));

0 commit comments

Comments
 (0)