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
305694e1
Commit
305694e1
authored
Dec 11, 2020
by
Phillip Webb
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.2.x' into 2.3.x
parents
aa24d623
babae118
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
53 additions
and
16 deletions
+53
-16
README.adoc
ci/images/README.adoc
+1
-1
parameters.yml
ci/parameters.yml
+0
-1
pipeline.yml
ci/pipeline.yml
+33
-13
build-ci-image.yml
ci/tasks/build-ci-image.yml
+18
-0
generate-changelog.yml
ci/tasks/generate-changelog.yml
+1
-1
No files found.
ci/images/README.adoc
View file @
305694e1
...
...
@@ -11,7 +11,7 @@ $ docker build --no-cache -f <image-folder>/Dockerfile .
For example
----
$ docker build --no-cache -f
spring-boot-
ci-image/Dockerfile .
$ docker build --no-cache -f ci-image/Dockerfile .
----
To test run:
...
...
ci/parameters.yml
View file @
305694e1
...
...
@@ -8,7 +8,6 @@ artifactory-server: "https://repo.spring.io"
branch
:
"
2.3.x"
milestone
:
"
2.3.x"
build-name
:
"
spring-boot"
ci-image-name
:
"
spring-boot-ci-23x"
concourse-url
:
"
https://ci.spring.io"
bintray-subject
:
"
spring"
bintray-repo
:
"
jars"
...
...
ci/pipeline.yml
View file @
305694e1
...
...
@@ -4,7 +4,7 @@ anchors:
username
:
((github-username))
password
:
((github-password))
branch
:
((branch))
docker-resource-source
:
&docker
-resource-source
registry-image-resource-source
:
®istry-image
-resource-source
username
:
((docker-hub-username))
password
:
((docker-hub-password))
tag
:
((milestone))
...
...
@@ -144,20 +144,20 @@ resources:
type
:
registry-image
icon
:
docker
source
:
<<
:
*
docker
-resource-source
repository
:
((docker-hub-organization))/
((ci-image-name))
<<
:
*
registry-image
-resource-source
repository
:
((docker-hub-organization))/
spring-boot-ci
-
name
:
ci-image-jdk11
type
:
registry-image
icon
:
docker
source
:
<<
:
*
docker
-resource-source
repository
:
((docker-hub-organization))/
((ci-image-name))
-jdk11
<<
:
*
registry-image
-resource-source
repository
:
((docker-hub-organization))/
spring-boot-ci
-jdk11
-
name
:
ci-image-jdk15
type
:
registry-image
icon
:
docker
source
:
<<
:
*
docker
-resource-source
repository
:
((docker-hub-organization))/
((ci-image-name))
-jdk15
<<
:
*
registry-image
-resource-source
repository
:
((docker-hub-organization))/
spring-boot-ci
-jdk15
-
name
:
artifactory-repo
type
:
artifactory-resource
icon
:
package-variant
...
...
@@ -211,19 +211,39 @@ jobs:
plan
:
-
get
:
ci-images-git-repo
trigger
:
true
-
get
:
git-repo
-
in_parallel
:
-
task
:
build-ci-image
privileged
:
true
file
:
git-repo/ci/tasks/build-ci-image.yml
output_mapping
:
image
:
ci-image
vars
:
ci-image-name
:
ci-image
-
task
:
build-ci-image-jdk11
privileged
:
true
file
:
git-repo/ci/tasks/build-ci-image.yml
output_mapping
:
image
:
ci-image-jdk11
vars
:
ci-image-name
:
ci-image-jdk11
-
task
:
build-ci-image-jdk15
privileged
:
true
file
:
git-repo/ci/tasks/build-ci-image.yml
output_mapping
:
image
:
ci-image-jdk15
vars
:
ci-image-name
:
ci-image-jdk15
-
in_parallel
:
-
put
:
ci-image
params
:
build
:
ci-images-git-repo/ci/images
dockerfile
:
ci-images-git-repo/ci/images/ci-image/Dockerfile
image
:
ci-image/image.tar
-
put
:
ci-image-jdk11
params
:
build
:
ci-images-git-repo/ci/images
dockerfile
:
ci-images-git-repo/ci/images/ci-image-jdk11/Dockerfile
image
:
ci-image-jdk11/image.tar
-
put
:
ci-image-jdk15
params
:
build
:
ci-images-git-repo/ci/images
dockerfile
:
ci-images-git-repo/ci/images/ci-image-jdk15/Dockerfile
image
:
ci-image-jdk15/image.tar
-
name
:
detect-jdk-updates
plan
:
-
get
:
git-repo
...
...
ci/tasks/build-ci-image.yml
0 → 100644
View file @
305694e1
---
platform
:
linux
image_resource
:
type
:
registry-image
source
:
repository
:
vito/oci-build-task
inputs
:
-
name
:
ci-images-git-repo
outputs
:
-
name
:
image
caches
:
-
path
:
ci-image-cache
params
:
CONTEXT
:
ci-images-git-repo/ci/images
DOCKERFILE
:
ci-images-git-repo/ci/images/((ci-image-name))/Dockerfile
REGISTRY_MIRRORS
:
((dockerhub-registry-mirror))
run
:
path
:
build
ci/tasks/generate-changelog.yml
View file @
305694e1
---
platform
:
linux
image_resource
:
type
:
docker
-image
type
:
registry
-image
source
:
repository
:
springio/github-changelog-generator
tag
:
'
0.0.5'
...
...
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