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
dfbababd
Commit
dfbababd
authored
Mar 02, 2018
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a JDK 10 build to the CI pipeline
Closes gh-12028
parent
9f7e8404
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
1 deletion
+75
-1
Dockerfile
ci/images/spring-boot-jdk10-ci-image/Dockerfile
+33
-0
pipeline.yml
ci/pipeline.yml
+42
-1
No files found.
ci/images/spring-boot-jdk10-ci-image/Dockerfile
0 → 100644
View file @
dfbababd
FROM
openjdk:10-ea32-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/pipeline.yml
View file @
dfbababd
...
@@ -48,6 +48,13 @@ resources:
...
@@ -48,6 +48,13 @@ resources:
username
:
((docker-hub-username))
username
:
((docker-hub-username))
password
:
((docker-hub-password))
password
:
((docker-hub-password))
tag
:
((branch))
tag
:
((branch))
-
name
:
spring-boot-jdk10-ci-image
type
:
docker-image
source
:
repository
:
((docker-hub-organization))/spring-boot-jdk10-ci-image
username
:
((docker-hub-username))
password
:
((docker-hub-password))
tag
:
((branch))
-
name
:
artifactory-repo
-
name
:
artifactory-repo
type
:
artifactory-resource
type
:
artifactory-resource
source
:
source
:
...
@@ -76,6 +83,9 @@ jobs:
...
@@ -76,6 +83,9 @@ jobs:
-
put
:
spring-boot-jdk9-ci-image
-
put
:
spring-boot-jdk9-ci-image
params
:
params
:
build
:
ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
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
-
name
:
build
-
name
:
build
serial
:
true
serial
:
true
public
:
true
public
:
true
...
@@ -193,6 +203,37 @@ jobs:
...
@@ -193,6 +203,37 @@ jobs:
params
:
params
:
subject_text
:
"
JDK
9
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
subject_text
:
"
JDK
9
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
-
name
:
jdk10-build
serial
:
true
public
:
true
plan
:
-
get
:
spring-boot-jdk10-ci-image
-
get
:
git-repo
trigger
:
true
-
do
:
-
task
:
build-project
privileged
:
true
timeout
:
1h30m
image
:
spring-boot-jdk10-ci-image
file
:
git-repo/ci/tasks/build-project.yml
-
aggregate
:
-
task
:
build-samples
timeout
:
1h30m
image
:
spring-boot-jdk10-ci-image
file
:
git-repo/ci/tasks/build-samples.yml
-
task
:
build-integration-tests
timeout
:
1h30m
image
:
spring-boot-jdk10-ci-image
file
:
git-repo/ci/tasks/build-integration-tests.yml
-
task
:
build-deployment-tests
timeout
:
1h30m
image
:
spring-boot-jdk10-ci-image
file
:
git-repo/ci/tasks/build-deployment-tests.yml
on_failure
:
put
:
email-notification
params
:
subject_text
:
"
JDK
10
Build
failure
${BUILD_PIPELINE_NAME}
/
${BUILD_JOB_NAME}
/
${BUILD_NAME}"
body_text
:
"
Build
${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}
has
failed!"
-
name
:
stage-milestone
-
name
:
stage-milestone
serial
:
true
serial
:
true
plan
:
plan
:
...
@@ -312,7 +353,7 @@ jobs:
...
@@ -312,7 +353,7 @@ jobs:
BINTRAY_REPO
:
((bintray-repo))
BINTRAY_REPO
:
((bintray-repo))
groups
:
groups
:
-
name
:
"
Build"
-
name
:
"
Build"
jobs
:
[
"
build"
,
"
jdk9-build"
]
jobs
:
[
"
build"
,
"
jdk9-build"
,
"
jdk10-build"
]
-
name
:
"
Release"
-
name
:
"
Release"
jobs
:
[
"
stage-milestone"
,
"
stage-rc"
,
"
stage-release"
,
"
promote-milestone"
,
"
promote-rc"
,
"
promote-release"
]
jobs
:
[
"
stage-milestone"
,
"
stage-rc"
,
"
stage-release"
,
"
promote-milestone"
,
"
promote-rc"
,
"
promote-release"
]
-
name
:
"
CI
Images"
-
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