Start working on Spring Boot 3.2
This commit also disables the creation of forward merge issues when merging into main. Forward merge issues will be re-enabled once 3.1.1 has been released.
This commit is contained in:
parent
b9f7df6cc2
commit
b9c2c289b3
@ -1,4 +1,4 @@
|
|||||||
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot-3.1.x/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot-3.1.x?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"] image:https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Gradle Enterprise", link="https://ge.spring.io/scans?&search.rootProjectNames=Spring%20Boot%20Build&search.rootProjectNames=spring-boot-build"]
|
= Spring Boot image:https://ci.spring.io/api/v1/teams/spring-boot/pipelines/spring-boot-3.2.x/jobs/build/badge["Build Status", link="https://ci.spring.io/teams/spring-boot/pipelines/spring-boot-3.2.x?groups=Build"] image:https://badges.gitter.im/Join Chat.svg["Chat",link="https://gitter.im/spring-projects/spring-boot?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"] image:https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Gradle Enterprise", link="https://ge.spring.io/scans?&search.rootProjectNames=Spring%20Boot%20Build&search.rootProjectNames=spring-boot-build"]
|
||||||
:docs: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
|
:docs: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference
|
||||||
:github: https://github.com/spring-projects/spring-boot
|
:github: https://github.com/spring-projects/spring-boot
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ The pipeline can be deployed using the following command:
|
|||||||
|
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
$ fly -t spring-boot set-pipeline -p spring-boot-3.1.x -c ci/pipeline.yml -l ci/parameters.yml
|
$ fly -t spring-boot set-pipeline -p spring-boot-3.2.x -c ci/pipeline.yml -l ci/parameters.yml
|
||||||
----
|
----
|
||||||
|
|
||||||
NOTE: This assumes that you have credhub integration configured with the appropriate
|
NOTE: This assumes that you have credhub integration configured with the appropriate
|
||||||
|
@ -4,7 +4,7 @@ homebrew-tap-repo: "https://github.com/spring-io/homebrew-tap.git"
|
|||||||
docker-hub-organization: "springci"
|
docker-hub-organization: "springci"
|
||||||
artifactory-server: "https://repo.spring.io"
|
artifactory-server: "https://repo.spring.io"
|
||||||
branch: "main"
|
branch: "main"
|
||||||
milestone: "3.1.x"
|
milestone: "3.2.x"
|
||||||
build-name: "spring-boot"
|
build-name: "spring-boot"
|
||||||
concourse-url: "https://ci.spring.io"
|
concourse-url: "https://ci.spring.io"
|
||||||
task-timeout: 2h00m
|
task-timeout: 2h00m
|
||||||
|
@ -591,7 +591,7 @@ jobs:
|
|||||||
<<: *sdkman-task-params
|
<<: *sdkman-task-params
|
||||||
RELEASE_TYPE: RELEASE
|
RELEASE_TYPE: RELEASE
|
||||||
BRANCH: ((branch))
|
BRANCH: ((branch))
|
||||||
LATEST_GA: true
|
LATEST_GA: false
|
||||||
- name: update-homebrew-tap
|
- name: update-homebrew-tap
|
||||||
serial: true
|
serial: true
|
||||||
plan:
|
plan:
|
||||||
@ -607,7 +607,7 @@ jobs:
|
|||||||
image: ci-image
|
image: ci-image
|
||||||
file: git-repo/ci/tasks/update-homebrew-tap.yml
|
file: git-repo/ci/tasks/update-homebrew-tap.yml
|
||||||
params:
|
params:
|
||||||
LATEST_GA: true
|
LATEST_GA: false
|
||||||
- put: homebrew-tap-repo
|
- put: homebrew-tap-repo
|
||||||
params:
|
params:
|
||||||
repository: updated-homebrew-tap-repo
|
repository: updated-homebrew-tap-repo
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
|
xmlns:setup.workingsets="http://www.eclipse.org/oomph/setup/workingsets/1.0"
|
||||||
xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
|
xmlns:workingsets="http://www.eclipse.org/oomph/workingsets/1.0"
|
||||||
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/buildship/oomph/1.0 https://raw.githubusercontent.com/eclipse/buildship/master/org.eclipse.buildship.oomph/model/GradleImport-1.0.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
|
xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore http://www.eclipse.org/buildship/oomph/1.0 https://raw.githubusercontent.com/eclipse/buildship/master/org.eclipse.buildship.oomph/model/GradleImport-1.0.ecore http://www.eclipse.org/oomph/predicates/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/Predicates.ecore http://www.eclipse.org/oomph/setup/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/SetupWorkingSets.ecore http://www.eclipse.org/oomph/workingsets/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/WorkingSets.ecore"
|
||||||
name="spring.boot.3.1.x"
|
name="spring.boot.3.2.x"
|
||||||
label="Spring Boot 3.1.x">
|
label="Spring Boot 3.2.x">
|
||||||
<setupTask
|
<setupTask
|
||||||
xsi:type="setup:VariableTask"
|
xsi:type="setup:VariableTask"
|
||||||
type="FOLDER"
|
type="FOLDER"
|
||||||
|
@ -4,7 +4,7 @@ require 'net/http'
|
|||||||
require 'yaml'
|
require 'yaml'
|
||||||
require 'logger'
|
require 'logger'
|
||||||
|
|
||||||
$main_branch = "3.1.x"
|
$main_branch = "3.2.x"
|
||||||
|
|
||||||
$log = Logger.new(STDOUT)
|
$log = Logger.new(STDOUT)
|
||||||
$log.level = Logger::WARN
|
$log.level = Logger::WARN
|
||||||
@ -27,7 +27,7 @@ end
|
|||||||
def rewrite_message(message_file, fixed)
|
def rewrite_message(message_file, fixed)
|
||||||
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
||||||
if current_branch == "main"
|
if current_branch == "main"
|
||||||
current_branch = $main_branch
|
return nil
|
||||||
end
|
end
|
||||||
rewritten_message = ""
|
rewritten_message = ""
|
||||||
message = File.read(message_file)
|
message = File.read(message_file)
|
||||||
@ -68,4 +68,6 @@ end
|
|||||||
$log.debug "Searching for forward merge"
|
$log.debug "Searching for forward merge"
|
||||||
fixed = get_fixed_issues()
|
fixed = get_fixed_issues()
|
||||||
rewritten_message = rewrite_message(message_file, fixed)
|
rewritten_message = rewrite_message(message_file, fixed)
|
||||||
File.write(message_file, rewritten_message)
|
unless rewritten_message.nil?
|
||||||
|
File.write(message_file, rewritten_message)
|
||||||
|
end
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version=3.1.1-SNAPSHOT
|
version=3.2.0-SNAPSHOT
|
||||||
|
|
||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
@ -9,7 +9,7 @@ description = "Spring Boot Dependencies"
|
|||||||
bom {
|
bom {
|
||||||
effectiveBomArtifact()
|
effectiveBomArtifact()
|
||||||
upgrade {
|
upgrade {
|
||||||
policy = "same-minor-version"
|
policy = "any"
|
||||||
gitHub {
|
gitHub {
|
||||||
issueLabels = ["type: dependency-upgrade"]
|
issueLabels = ["type: dependency-upgrade"]
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||||
https://www.springframework.org/schema/layers/layers-3.1.xsd">
|
https://www.springframework.org/schema/layers/layers-3.2.xsd">
|
||||||
<application>
|
<application>
|
||||||
<into layer="configuration">
|
<into layer="configuration">
|
||||||
<include>**/application*.*</include>
|
<include>**/application*.*</include>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||||
https://www.springframework.org/schema/layers/layers-3.1.xsd">
|
https://www.springframework.org/schema/layers/layers-3.2.xsd">
|
||||||
<application>
|
<application>
|
||||||
<into layer="configuration">
|
<into layer="configuration">
|
||||||
<include>**/application*.*</include>
|
<include>**/application*.*</include>
|
||||||
|
@ -0,0 +1,100 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<xsd:schema elementFormDefault="qualified"
|
||||||
|
xmlns="http://www.springframework.org/schema/boot/layers"
|
||||||
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||||
|
targetNamespace="http://www.springframework.org/schema/boot/layers">
|
||||||
|
<xsd:element name="layers" type="layersType" />
|
||||||
|
<xsd:complexType name="layersType">
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="application" type="applicationType" minOccurs="0"/>
|
||||||
|
<xsd:element name="dependencies" type="dependenciesType" minOccurs="0"/>
|
||||||
|
<xsd:element name="layerOrder" type="layerOrderType" minOccurs="0"/>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="applicationType">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
The 'into layer' selections that should be applied to application classes and resources.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:sequence maxOccurs="unbounded">
|
||||||
|
<xsd:element name="into" type="intoType" />
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="dependenciesType">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
The 'into layer' selections that should be applied to dependencies.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:sequence maxOccurs="unbounded">
|
||||||
|
<xsd:element name="into" type="dependenciesIntoType" />
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="layerOrderType">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
The order that layers should be added (starting with the least frequently changed layer).
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="layer" maxOccurs="unbounded">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
The layer name.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
<xsd:simpleType>
|
||||||
|
<xsd:restriction base="xsd:string">
|
||||||
|
<xsd:minLength value="1" />
|
||||||
|
</xsd:restriction>
|
||||||
|
</xsd:simpleType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:sequence>
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="intoType">
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element type="xsd:string" name="include"
|
||||||
|
minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
Pattern of the elements to include.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element type="xsd:string" name="exclude"
|
||||||
|
minOccurs="0" maxOccurs="unbounded">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
Pattern of the elements to exclude.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
<xsd:attribute type="xsd:string" name="layer"
|
||||||
|
use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
<xsd:complexType name="dependenciesIntoType">
|
||||||
|
<xsd:complexContent>
|
||||||
|
<xsd:extension base="intoType">
|
||||||
|
<xsd:choice minOccurs="0">
|
||||||
|
<xsd:element type="xsd:string" name="includeModuleDependencies" minOccurs="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
Include dependencies on other modules in the build.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element type="xsd:string" name="excludeModuleDependencies" minOccurs="0">
|
||||||
|
<xsd:annotation>
|
||||||
|
<xsd:documentation><![CDATA[
|
||||||
|
Exclude dependencies on other modules in the build.
|
||||||
|
]]></xsd:documentation>
|
||||||
|
</xsd:annotation>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:extension>
|
||||||
|
</xsd:complexContent>
|
||||||
|
</xsd:complexType>
|
||||||
|
|
||||||
|
</xsd:schema>
|
@ -1,7 +1,7 @@
|
|||||||
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||||
https://www.springframework.org/schema/boot/layers/layers-3.1.xsd">
|
https://www.springframework.org/schema/boot/layers/layers-3.2.xsd">
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<into layer="my-deps" />
|
<into layer="my-deps" />
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||||
https://www.springframework.org/schema/boot/layers/layers-3.1.xsd">
|
https://www.springframework.org/schema/boot/layers/layers-3.2.xsd">
|
||||||
<application>
|
<application>
|
||||||
<into layer="my-resources">
|
<into layer="my-resources">
|
||||||
<include>META-INF/resources/**</include>
|
<include>META-INF/resources/**</include>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
<layers xmlns="http://www.springframework.org/schema/boot/layers"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
xsi:schemaLocation="http://www.springframework.org/schema/boot/layers
|
||||||
https://www.springframework.org/schema/boot/layers/layers-3.1.xsd">
|
https://www.springframework.org/schema/boot/layers/layers-3.2.xsd">
|
||||||
<application>
|
<application>
|
||||||
<into layer="my-layer" />
|
<into layer="my-layer" />
|
||||||
</application>
|
</application>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user