Skip to content

Commit

Permalink
Springboot bumps (#2126)
Browse files Browse the repository at this point in the history
* Making updates to Spring boot templates, as suggested by @trisberg

Signed-off-by: Matthias Wessendorf <[email protected]>

* 🤖 We touched the samples, so adding the generated thing

Signed-off-by: Matthias Wessendorf <[email protected]>

* Bump JDK Builder to 21

Signed-off-by: Matthias Wessendorf <[email protected]>

* Some more java 21 setters

Signed-off-by: Matthias Wessendorf <[email protected]>

---------

Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew committed Jan 22, 2024
1 parent 8e56c52 commit c252c4f
Show file tree
Hide file tree
Showing 9 changed files with 6,837 additions and 6,837 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
test-unit:
strategy:
matrix:
java: [ 17 ]
java: [ 21 ]
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Unit Test
strategy:
matrix:
java: [17]
java: [21]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-quarkus-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: 18
- uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: Install NPM deps.
run: npm install axios xml2js octokit
- name: Create PR
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-springboot-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: 18
- uses: actions/setup-java@v1
with:
java-version: 17
java-version: 21
- name: Install NPM deps.
run: npm install axios xml2js octokit yaml semver
- name: Create PR
Expand Down
13,642 changes: 6,821 additions & 6,821 deletions generate/zz_filesystem_generated.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/builders/s2i/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
const DefaultName = builders.S2I

var DefaultNodeBuilder = "registry.access.redhat.com/ubi8/nodejs-16-minimal"
var DefaultQuarkusBuilder = "registry.access.redhat.com/ubi8/openjdk-17"
var DefaultQuarkusBuilder = "registry.access.redhat.com/ubi8/openjdk-21"
var DefaultPythonBuilder = "registry.access.redhat.com/ubi8/python-39"

// DefaultBuilderImages for s2i builders indexed by Runtime Language
Expand Down
10 changes: 5 additions & 5 deletions templates/springboot/cloudevents/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.1</version>
<relativePath/>
</parent>
<groupId>com.example.events</groupId>
Expand All @@ -13,13 +13,13 @@
<name>Spring Cloud Function::Events Example</name>
<description>A Spring Cloud Function, using Cloud Events</description>
<properties>
<java.version>17</java.version>
<spring-cloud.version>2022.0.4</spring-cloud.version>
<java.version>21</java.version>
<spring-cloud.version>2023.0.0</spring-cloud.version>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
<surefire-plugin.version>3.0.0</surefire-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
Expand Down
10 changes: 5 additions & 5 deletions templates/springboot/http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.5</version>
<version>3.2.1</version>
<relativePath/>
</parent>
<groupId>com.example.events</groupId>
Expand All @@ -13,13 +13,13 @@
<name>Spring Cloud Function::Http Example</name>
<description>A Spring Cloud Function, Http Example</description>
<properties>
<java.version>17</java.version>
<spring-cloud.version>2022.0.4</spring-cloud.version>
<java.version>21</java.version>
<spring-cloud.version>2023.0.0</spring-cloud.version>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
<surefire-plugin.version>3.0.0</surefire-plugin.version>
<maven.compiler.parameters>true</maven.compiler.parameters>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion templates/springboot/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ buildEnvs:
- name: BP_NATIVE_IMAGE
value: "false"
- name: BP_JVM_VERSION
value: "17"
value: "21"
- name: BP_MAVEN_ACTIVE_PROFILES
value: "native"
healthEndpoints:
Expand Down

0 comments on commit c252c4f

Please sign in to comment.