Skip to content

Commit 3d87bf3

Browse files
authored
Merge pull request #30 from factorhouse/nvenegas/java25-updates
Update paths & base images for Java 25
2 parents 65dbe4c + 5015e02 commit 3d87bf3

4 files changed

Lines changed: 17 additions & 40 deletions

File tree

.github/workflows/rc_release.yml

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,18 @@ jobs:
3737
- name: Download and verify JAR(s)
3838
run: |
3939
./scripts/jar.sh "${{github.event.inputs.manifest}}"
40-
- name: Release Flex JDK11 JAR
40+
- name: Release Flex JDK25 JAR
4141
run: |
4242
VERSION=${{github.event.inputs.version}}
4343
VERSION="${VERSION//./-}"
44-
aws s3 cp target/flex-java11-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java11.jar
45-
- name: Release Flex JDK8 JAR
46-
run: |
47-
VERSION=${{github.event.inputs.version}}
48-
VERSION="${VERSION//./-}"
49-
aws s3 cp target/flex-java8-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java8.jar
50-
- name: Release Flex JDK17 JAR
51-
run: |
52-
VERSION=${{github.event.inputs.version}}
53-
VERSION="${VERSION//./-}"
54-
aws s3 cp target/flex-java17-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java17.jar
55-
-
56-
# Add support for more platforms with QEMU (optional)
57-
# https://github.com/docker/setup-qemu-action
58-
name: Set up QEMU
44+
aws s3 cp target/flex-java25-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java25.jar
45+
46+
# Add support for more platforms with QEMU (optional)
47+
# https://github.com/docker/setup-qemu-action
48+
- name: Set up QEMU
5949
uses: docker/setup-qemu-action@v3
60-
-
61-
name: Set up Docker Buildx
50+
51+
- name: Set up Docker Buildx
6252
uses: docker/setup-buildx-action@v3
6353
- name: Build Flex
6454
run: |

.github/workflows/release.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -48,23 +48,11 @@ jobs:
4848
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
4949
aws-region: us-east-1
5050

51-
- name: Release Flex JDK11 JAR
51+
- name: Release Flex JDK25 JAR
5252
run: |
5353
VERSION=${{github.event.inputs.version}}
5454
VERSION="${VERSION//./-}"
55-
aws s3 cp target/flex-java11-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java11.jar
56-
57-
- name: Release Flex JDK8 JAR
58-
run: |
59-
VERSION=${{github.event.inputs.version}}
60-
VERSION="${VERSION//./-}"
61-
aws s3 cp target/flex-java8-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java8.jar
62-
63-
- name: Release Flex JDK17 JAR
64-
run: |
65-
VERSION=${{github.event.inputs.version}}
66-
VERSION="${VERSION//./-}"
67-
aws s3 cp target/flex-java17-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java17.jar
55+
aws s3 cp target/flex-java25-standalone.jar s3://${{ secrets.RELEASES_BUCKET }}/flex-$VERSION-java25.jar
6856
6957
- name: Release Dependency Check Report
7058
run: |
@@ -78,10 +66,9 @@ jobs:
7866
- name: Log into GitHub packages
7967
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
8068

81-
-
82-
# Add support for more platforms with QEMU (optional)
83-
# https://github.com/docker/setup-qemu-action
84-
name: Set up QEMU
69+
# Add support for more platforms with QEMU (optional)
70+
# https://github.com/docker/setup-qemu-action
71+
- name: Set up QEMU
8572
uses: docker/setup-qemu-action@v3
8673
-
8774
name: Set up Docker Buildx

dockerfile/flex-ce/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazoncorretto:17.0.18
1+
FROM amazoncorretto:25.0.3
22

33
ARG VERSION
44
ARG RELEASE
@@ -12,7 +12,7 @@ LABEL name="Flex for Apache Flink" \
1212
description="Flex features a rich data-oriented UI, specialized dashboards that deliver instant visibility into Flink Clusters, and developer tools that allow engineers to get to the heart of their systems quickly."
1313

1414
COPY resources/eula.txt /licenses/eula.txt
15-
COPY target/flex-ce-standalone.jar /opt/factorhouse/lib/flex.jar
15+
COPY target/flex-ce-java25-standalone.jar /opt/factorhouse/lib/flex.jar
1616
COPY resources/entrypoint.sh /usr/local/bin/flex.sh
1717

1818
RUN mkdir -p /opt/factorhouse/config/flex

dockerfile/flex/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM amazoncorretto:17.0.18
1+
FROM amazoncorretto:25.0.3
22

33
ARG VERSION
44
ARG RELEASE
@@ -12,7 +12,7 @@ LABEL name="Flex for Apache Flink" \
1212
description="Flex features a rich data-oriented UI, specialized dashboards that deliver instant visibility into Flink Clusters, and developer tools that allow engineers to get to the heart of their systems quickly."
1313

1414
COPY resources/eula.txt /licenses/eula.txt
15-
COPY target/flex-java17-standalone.jar /opt/factorhouse/lib/flex.jar
15+
COPY target/flex-java25-standalone.jar /opt/factorhouse/lib/flex.jar
1616
COPY resources/entrypoint.sh /usr/local/bin/flex.sh
1717

1818
RUN yum install shadow-utils -y

0 commit comments

Comments
 (0)