App Broker 2.0.x
Major dependencies updates: * Spring Boot 3 * Spring Framework 6 * Spring Cloud Open Service Broker 4.0.0-SNAPSHOT * Java 17 * Gradle 7.6 Dockerfile: * Update to Ubuntu Jammy * Bump to OpenJDK 17 * Remove usage of deprecated `apt-key` tool * Bump all other tools to latest versions (bosh, bbl, credhub etc.) ATs: * Pass required java buildpack env var to use Java 17 on CF * Update `cf login` invocation to work with cf-cli v8 Small improvements: * Reliable datetime comparison in `InMemoryServiceInstanceStateRepositoryTest` * Update `.editorconfig` to match existing style * Add `.sdkmanrc`
This commit is contained in:
@@ -1,30 +1,28 @@
|
||||
# This workflow will build a Java project with Gradle
|
||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||
|
||||
name: build
|
||||
name: Gradle build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, 1.3.x, 1.2.x, 1.1.x ]
|
||||
pull_request:
|
||||
branches: [ main, 1.3.x, 1.2.x, 1.1.x ]
|
||||
workflow_call:
|
||||
inputs:
|
||||
java-version:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '8', '11' ]
|
||||
name: Java ${{ matrix.Java }} build
|
||||
name: Java ${{ inputs.java-version }} build
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
distribution: adopt
|
||||
java-version: ${{ inputs.java-version }}
|
||||
distribution: temurin
|
||||
- name: Cache Gradle packages
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
16
.github/workflows/java-17-baseline.yml
vendored
Normal file
16
.github/workflows/java-17-baseline.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Java 17 baseline build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '17' ]
|
||||
uses: ./.github/workflows/gradle-build.yml
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
16
.github/workflows/java-8-baseline.yml
vendored
Normal file
16
.github/workflows/java-8-baseline.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Java 8 baseline build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ 1.6.x, 1.5.x, 1.4.x ]
|
||||
pull_request:
|
||||
branches: [ 1.6.x, 1.5.x, 1.4.x ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
java: [ '8', '11', '17' ]
|
||||
uses: ./.github/workflows/gradle-build.yml
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
Reference in New Issue
Block a user