Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
0d324812
Commit
0d324812
authored
Jul 22, 2019
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Java 13 CI
Closes gh-16970
parent
ad51972e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
82 additions
and
2 deletions
+82
-2
get-jdk-url.sh
ci/images/get-jdk-url.sh
+4
-1
Dockerfile
ci/images/spring-boot-jdk13-ci-image/Dockerfile
+11
-0
pipeline.yml
ci/pipeline.yml
+67
-1
No files found.
ci/images/get-jdk-url.sh
View file @
0d324812
...
...
@@ -11,7 +11,10 @@ case "$1" in
java12
)
echo
"https://github.com/AdoptOpenJDK/openjdk12-binaries/releases/download/jdk-12.0.1%2B12/OpenJDK12U-jdk_x64_linux_hotspot_12.0.1_12.tar.gz"
;;
*
)
java13
)
echo
"https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk13u-2019-07-17-05-32/OpenJDK13U-jdk_x64_linux_hotspot_2019-07-17-05-32.tar.gz"
;;
*
)
echo
$"Unknown java version"
exit
1
esac
ci/images/spring-boot-jdk13-ci-image/Dockerfile
0 → 100644
View file @
0d324812
FROM
ubuntu:bionic-20181018
ADD
setup.sh /setup.sh
ADD
get-jdk-url.sh /get-jdk-url.sh
RUN
./setup.sh java13
ENV
JAVA_HOME /opt/openjdk
ENV
PATH $JAVA_HOME/bin:$PATH
ADD
docker-lib.sh /docker-lib.sh
ENTRYPOINT
[ "switch", "shell=/bin/bash", "--", "codep", "/bin/docker daemon" ]
ci/pipeline.yml
View file @
0d324812
...
...
@@ -83,6 +83,14 @@ resources:
username
:
((docker-hub-username))
password
:
((docker-hub-password))
tag
:
((branch))
-
name
:
spring-boot-jdk13-ci-image
type
:
docker-image
icon
:
docker
source
:
repository
:
((docker-hub-organization))/spring-boot-jdk13-ci-image
username
:
((docker-hub-username))
password
:
((docker-hub-password))
tag
:
((branch))
-
name
:
artifactory-repo
type
:
artifactory-resource
icon
:
package-variant
...
...
@@ -115,6 +123,14 @@ resources:
access_token
:
((github-ci-status-token))
branch
:
((branch))
context
:
jdk12-build
-
name
:
repo-status-jdk13-build
type
:
github-status-resource
icon
:
eye-check-outline
source
:
repository
:
((github-repo-name))
access_token
:
((github-ci-status-token))
branch
:
((branch))
context
:
jdk13-build
-
name
:
slack-alert
type
:
slack-notification
icon
:
slack
...
...
@@ -144,6 +160,10 @@ jobs:
params
:
build
:
ci-images-git-repo/ci/images
dockerfile
:
ci-images-git-repo/ci/images/spring-boot-jdk12-ci-image/Dockerfile
-
put
:
spring-boot-jdk13-ci-image
params
:
build
:
ci-images-git-repo/ci/images
dockerfile
:
ci-images-git-repo/ci/images/spring-boot-jdk13-ci-image/Dockerfile
-
name
:
detect-jdk-updates
plan
:
-
get
:
git-repo
...
...
@@ -382,6 +402,52 @@ jobs:
silent
:
true
icon_emoji
:
"
:concourse:"
username
:
concourse-ci
-
name
:
jdk13-build
serial
:
true
public
:
true
plan
:
-
get
:
spring-boot-jdk13-ci-image
-
get
:
git-repo
trigger
:
true
-
put
:
repo-status-jdk13-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
task
:
build-project
privileged
:
true
timeout
:
1h30m
image
:
spring-boot-jdk13-ci-image
file
:
git-repo/ci/tasks/build-project.yml
-
in_parallel
:
-
task
:
build-smoke-tests
timeout
:
1h30m
image
:
spring-boot-jdk13-ci-image
file
:
git-repo/ci/tasks/build-smoke-tests.yml
-
task
:
build-integration-tests
timeout
:
1h30m
image
:
spring-boot-jdk13-ci-image
file
:
git-repo/ci/tasks/build-integration-tests.yml
-
task
:
build-deployment-tests
timeout
:
1h30m
image
:
spring-boot-jdk13-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
do
:
-
put
:
repo-status-jdk13-build
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
-
put
:
slack-alert
params
:
text
:
"
:concourse-failed:
<https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME}
${BUILD_JOB_NAME}
failed!>"
silent
:
true
icon_emoji
:
"
:concourse:"
username
:
concourse-ci
-
put
:
repo-status-jdk13-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
put
:
slack-alert
params
:
text
:
"
:concourse-succeeded:
<https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}|${BUILD_PIPELINE_NAME}
${BUILD_JOB_NAME}
was
successful!>"
silent
:
true
icon_emoji
:
"
:concourse:"
username
:
concourse-ci
-
name
:
stage-milestone
serial
:
true
plan
:
...
...
@@ -556,7 +622,7 @@ jobs:
body
:
generated-release-notes/release-notes.md
groups
:
-
name
:
"
Build"
jobs
:
[
"
build"
,
"
jdk11-build"
,
"
jdk12-build"
]
jobs
:
[
"
build"
,
"
jdk11-build"
,
"
jdk12-build"
,
"
jdk13-build"
]
-
name
:
"
Release"
jobs
:
[
"
stage-milestone"
,
"
stage-rc"
,
"
stage-release"
,
"
promote-milestone"
,
"
promote-rc"
,
"
promote-release"
,
"
sync-to-maven-central"
]
-
name
:
"
CI
Images"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment