Skip to content

Commit 7883604

Browse files
authored
Merge pull request #182 from fnproject/remove-java-9-image-generation
Remove java 9 image generation
2 parents 29aa5b1 + 502ac88 commit 7883604

8 files changed

Lines changed: 6 additions & 36 deletions

File tree

build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ mvn -B deploy -DaltDeploymentRepository=localStagingDir::default::file://${REP
3131

3232
(
3333
cd images/build
34-
./docker-build.sh -f Dockerfile-jdk9 -t fnproject/fn-java-fdk-build:jdk9-${BUILD_VERSION} .
3534
./docker-build.sh -f Dockerfile-jdk11 -t fnproject/fn-java-fdk-build:jdk11-${BUILD_VERSION} .
3635
)
3736

@@ -42,7 +41,6 @@ mvn -B deploy -DaltDeploymentRepository=localStagingDir::default::file://${REP
4241

4342
(
4443
cd runtime
45-
docker build -f ../images/runtime/Dockerfile-jdk9 -t fnproject/fn-java-fdk:jdk9-${BUILD_VERSION} .
4644
docker build -f ../images/runtime/Dockerfile-jre11 -t fnproject/fn-java-fdk:jre11-${BUILD_VERSION} .
4745
)
4846

images/build/Dockerfile-jdk9

Lines changed: 0 additions & 8 deletions
This file was deleted.

images/runtime/Dockerfile-jdk9

Lines changed: 0 additions & 20 deletions
This file was deleted.

images/runtime/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Fn Java runtime base image
1+
# Fn Java runtime base images
22

3-
This image is used as a base image for functions - it includes a JDK and the latest version of the runtime
3+
These images are used as a base image for functions - they include a JDK and the latest version of the runtime
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schema_version: 20180708
22
name: flowexithooks
33
version: 0.0.3
4-
runtime: java9
4+
runtime: java11
55
cmd: com.fnproject.fn.integration.test_5.CompleterFunction::handleRequest
66
format: http-stream
77
timeout: 120
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
schema_version: 20180708
22
name: flowtimeouts
33
version: 0.0.3
4-
runtime: java9
4+
runtime: java11
55
cmd: com.fnproject.fn.integration.test_6.CompleterFunction::handleRequest
66
format: http-stream
77
timeout: 120
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
schema_version: 20180708
22
name: simplefunc
33
version: 0.0.3
4-
runtime: java9
4+
runtime: java11
55
cmd: com.fnproject.fn.integration.test2.PlainFunction::handleRequest
66
format: http-stream

integration-tests/src/test/java/com/fnproject/fn/integrationtest/FunctionsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void shouldCallExistingFn() throws Exception {
4545

4646
@Test()
4747
public void checkBoilerPlate() throws Exception {
48-
for (String runtime : new String[]{"java8", "java9", "java11"}) {
48+
for (String runtime : new String[]{"java8", "java11"}) {
4949
IntegrationTestRule.TestContext tc = testRule.newTest();
5050

5151
String fnName = "bp" + runtime;

0 commit comments

Comments
 (0)