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
9bb7edcb
Commit
9bb7edcb
authored
Nov 01, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove JDK 9 and 10-based CI and add JDK 12
Closes gh-15031
parent
8d6d1f4a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
105 deletions
+23
-105
Dockerfile
ci/images/spring-boot-jdk10-ci-image/Dockerfile
+0
-33
Dockerfile
ci/images/spring-boot-jdk12-ci-image/Dockerfile
+1
-1
pipeline.yml
ci/pipeline.yml
+22
-71
No files found.
ci/images/spring-boot-jdk10-ci-image/Dockerfile
deleted
100644 → 0
View file @
8d6d1f4a
FROM
openjdk:10.0.2-13-jdk
RUN
apt-get update
&&
\
apt-get
install
-y
git
&&
\
apt-get
install
-y
libxml2-utils
&&
\
apt-get
install
-y
jq
ADD
https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.2/concourse-java.sh /opt/
ENV
DOCKER_VERSION=17.05.0-ce \
ENTRYKIT_VERSION=0.4.0
RUN
apt-get update
&&
\
apt-get
install
-y
curl
&&
\
apt-get
install
-y
libudev1
&&
\
apt-get
install
-y
iptables
&&
\
curl https://get.docker.com/builds/Linux/x86_64/docker-
${
DOCKER_VERSION
}
.tgz |
tar
zx
&&
\
mv
/docker/
*
/bin/
&&
chmod
+x /bin/docker
*
# Install entrykit
RUN
curl
-L
https://github.com/progrium/entrykit/releases/download/v
${
ENTRYKIT_VERSION
}
/entrykit_
${
ENTRYKIT_VERSION
}
_Linux_x86_64.tgz |
tar
zx
&&
\
chmod
+x entrykit
&&
\
mv
entrykit /bin/entrykit
&&
\
entrykit
--symlink
ADD
https://raw.githubusercontent.com/spring-projects/spring-boot/master/ci/images/docker-lib.sh /docker-lib.sh
ENTRYPOINT
[ \
"switch", \
"shell=/bin/sh", "--", \
"codep", \
"/bin/docker daemon" \
]
\ No newline at end of file
ci/images/spring-boot-jdk
9
-ci-image/Dockerfile
→
ci/images/spring-boot-jdk
12
-ci-image/Dockerfile
View file @
9bb7edcb
FROM
openjdk:
9.0.4-12
-jdk
FROM
openjdk:
12-ea-17
-jdk
RUN
apt-get update
&&
\
apt-get
install
-y
git
&&
\
...
...
ci/pipeline.yml
View file @
9bb7edcb
...
...
@@ -134,15 +134,12 @@ jobs:
-
put
:
spring-boot-ci-image
params
:
build
:
ci-images-git-repo/ci/images/spring-boot-ci-image
-
put
:
spring-boot-jdk9-ci-image
params
:
build
:
ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
-
put
:
spring-boot-jdk10-ci-image
params
:
build
:
ci-images-git-repo/ci/images/spring-boot-jdk10-ci-image
-
put
:
spring-boot-jdk11-ci-image
params
:
build
:
ci-images-git-repo/ci/images/spring-boot-jdk11-ci-image
-
put
:
spring-boot-jdk12-ci-image
params
:
build
:
ci-images-git-repo/ci/images/spring-boot-jdk12-ci-image
-
name
:
build
serial
:
true
public
:
true
...
...
@@ -245,83 +242,37 @@ jobs:
params
:
path
:
git-repo
status
:
failure
-
name
:
jdk9-build
serial
:
true
public
:
true
plan
:
-
get
:
spring-boot-jdk9-ci-image
-
get
:
git-repo
trigger
:
true
-
put
:
repo-status-jdk9-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
task
:
build-project
privileged
:
true
timeout
:
1h30m
image
:
spring-boot-jdk9-ci-image
file
:
git-repo/ci/tasks/build-project.yml
-
aggregate
:
-
task
:
build-samples
timeout
:
1h30m
image
:
spring-boot-jdk9-ci-image
file
:
git-repo/ci/tasks/build-samples.yml
-
task
:
build-integration-tests
timeout
:
1h30m
image
:
spring-boot-jdk9-ci-image
file
:
git-repo/ci/tasks/build-integration-tests.yml
-
task
:
build-deployment-tests
timeout
:
1h30m
image
:
spring-boot-jdk9-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
do
:
-
put
:
repo-status-jdk9-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-jdk9-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
:
jdk10-build
-
name
:
jdk11-build
serial
:
true
public
:
true
plan
:
-
get
:
spring-boot-jdk1
0
-ci-image
-
get
:
spring-boot-jdk1
1
-ci-image
-
get
:
git-repo
trigger
:
true
-
put
:
repo-status-jdk1
0
-build
-
put
:
repo-status-jdk1
1
-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
task
:
build-project
privileged
:
true
timeout
:
1h30m
image
:
spring-boot-jdk1
0
-ci-image
image
:
spring-boot-jdk1
1
-ci-image
file
:
git-repo/ci/tasks/build-project.yml
-
aggregate
:
-
task
:
build-samples
timeout
:
1h30m
image
:
spring-boot-jdk1
0
-ci-image
image
:
spring-boot-jdk1
1
-ci-image
file
:
git-repo/ci/tasks/build-samples.yml
-
task
:
build-integration-tests
timeout
:
1h30m
image
:
spring-boot-jdk1
0
-ci-image
image
:
spring-boot-jdk1
1
-ci-image
file
:
git-repo/ci/tasks/build-integration-tests.yml
-
task
:
build-deployment-tests
timeout
:
1h30m
image
:
spring-boot-jdk1
0
-ci-image
image
:
spring-boot-jdk1
1
-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
do
:
-
put
:
repo-status-jdk1
0
-build
-
put
:
repo-status-jdk1
1
-build
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
-
put
:
slack-alert
params
:
...
...
@@ -329,7 +280,7 @@ jobs:
silent
:
true
icon_emoji
:
"
:concourse:"
username
:
concourse-ci
-
put
:
repo-status-jdk1
0
-build
-
put
:
repo-status-jdk1
1
-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
put
:
slack-alert
params
:
...
...
@@ -337,37 +288,37 @@ jobs:
silent
:
true
icon_emoji
:
"
:concourse:"
username
:
concourse-ci
-
name
:
jdk1
1
-build
-
name
:
jdk1
2
-build
serial
:
true
public
:
true
plan
:
-
get
:
spring-boot-jdk1
1
-ci-image
-
get
:
spring-boot-jdk1
2
-ci-image
-
get
:
git-repo
trigger
:
true
-
put
:
repo-status-jdk1
1
-build
-
put
:
repo-status-jdk1
2
-build
params
:
{
state
:
"
pending"
,
commit
:
"
git-repo"
}
-
do
:
-
task
:
build-project
privileged
:
true
timeout
:
1h30m
image
:
spring-boot-jdk1
1
-ci-image
image
:
spring-boot-jdk1
2
-ci-image
file
:
git-repo/ci/tasks/build-project.yml
-
aggregate
:
-
task
:
build-samples
timeout
:
1h30m
image
:
spring-boot-jdk1
1
-ci-image
image
:
spring-boot-jdk1
2
-ci-image
file
:
git-repo/ci/tasks/build-samples.yml
-
task
:
build-integration-tests
timeout
:
1h30m
image
:
spring-boot-jdk1
1
-ci-image
image
:
spring-boot-jdk1
2
-ci-image
file
:
git-repo/ci/tasks/build-integration-tests.yml
-
task
:
build-deployment-tests
timeout
:
1h30m
image
:
spring-boot-jdk1
1
-ci-image
image
:
spring-boot-jdk1
2
-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
do
:
-
put
:
repo-status-jdk1
1
-build
-
put
:
repo-status-jdk1
2
-build
params
:
{
state
:
"
failure"
,
commit
:
"
git-repo"
}
-
put
:
slack-alert
params
:
...
...
@@ -375,7 +326,7 @@ jobs:
silent
:
true
icon_emoji
:
"
:concourse:"
username
:
concourse-ci
-
put
:
repo-status-jdk1
1
-build
-
put
:
repo-status-jdk1
2
-build
params
:
{
state
:
"
success"
,
commit
:
"
git-repo"
}
-
put
:
slack-alert
params
:
...
...
@@ -563,7 +514,7 @@ jobs:
BINTRAY_REPO
:
((bintray-repo))
groups
:
-
name
:
"
Build"
jobs
:
[
"
build"
,
"
jdk
9-build"
,
"
jdk10-build"
,
"
jdk11
-build"
]
jobs
:
[
"
build"
,
"
jdk
11-build"
,
"
jdk12
-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