|
|
@ -4,7 +4,7 @@ anchors:
|
|
|
|
username: ((github-username))
|
|
|
|
username: ((github-username))
|
|
|
|
password: ((github-password))
|
|
|
|
password: ((github-password))
|
|
|
|
branch: ((branch))
|
|
|
|
branch: ((branch))
|
|
|
|
docker-resource-source: &docker-resource-source
|
|
|
|
registry-image-resource-source: ®istry-image-resource-source
|
|
|
|
username: ((docker-hub-username))
|
|
|
|
username: ((docker-hub-username))
|
|
|
|
password: ((docker-hub-password))
|
|
|
|
password: ((docker-hub-password))
|
|
|
|
tag: ((milestone))
|
|
|
|
tag: ((milestone))
|
|
|
@ -144,20 +144,20 @@ resources:
|
|
|
|
type: registry-image
|
|
|
|
type: registry-image
|
|
|
|
icon: docker
|
|
|
|
icon: docker
|
|
|
|
source:
|
|
|
|
source:
|
|
|
|
<<: *docker-resource-source
|
|
|
|
<<: *registry-image-resource-source
|
|
|
|
repository: ((docker-hub-organization))/((ci-image-name))
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-ci
|
|
|
|
- name: ci-image-jdk11
|
|
|
|
- name: ci-image-jdk11
|
|
|
|
type: registry-image
|
|
|
|
type: registry-image
|
|
|
|
icon: docker
|
|
|
|
icon: docker
|
|
|
|
source:
|
|
|
|
source:
|
|
|
|
<<: *docker-resource-source
|
|
|
|
<<: *registry-image-resource-source
|
|
|
|
repository: ((docker-hub-organization))/((ci-image-name))-jdk11
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-ci-jdk11
|
|
|
|
- name: ci-image-jdk15
|
|
|
|
- name: ci-image-jdk15
|
|
|
|
type: registry-image
|
|
|
|
type: registry-image
|
|
|
|
icon: docker
|
|
|
|
icon: docker
|
|
|
|
source:
|
|
|
|
source:
|
|
|
|
<<: *docker-resource-source
|
|
|
|
<<: *registry-image-resource-source
|
|
|
|
repository: ((docker-hub-organization))/((ci-image-name))-jdk15
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-ci-jdk15
|
|
|
|
- name: artifactory-repo
|
|
|
|
- name: artifactory-repo
|
|
|
|
type: artifactory-resource
|
|
|
|
type: artifactory-resource
|
|
|
|
icon: package-variant
|
|
|
|
icon: package-variant
|
|
|
@ -211,19 +211,39 @@ jobs:
|
|
|
|
plan:
|
|
|
|
plan:
|
|
|
|
- get: ci-images-git-repo
|
|
|
|
- get: ci-images-git-repo
|
|
|
|
trigger: true
|
|
|
|
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:
|
|
|
|
- in_parallel:
|
|
|
|
- put: ci-image
|
|
|
|
- put: ci-image
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
build: ci-images-git-repo/ci/images
|
|
|
|
image: ci-image/image.tar
|
|
|
|
dockerfile: ci-images-git-repo/ci/images/ci-image/Dockerfile
|
|
|
|
|
|
|
|
- put: ci-image-jdk11
|
|
|
|
- put: ci-image-jdk11
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
build: ci-images-git-repo/ci/images
|
|
|
|
image: ci-image-jdk11/image.tar
|
|
|
|
dockerfile: ci-images-git-repo/ci/images/ci-image-jdk11/Dockerfile
|
|
|
|
|
|
|
|
- put: ci-image-jdk15
|
|
|
|
- put: ci-image-jdk15
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
build: ci-images-git-repo/ci/images
|
|
|
|
image: ci-image-jdk15/image.tar
|
|
|
|
dockerfile: ci-images-git-repo/ci/images/ci-image-jdk15/Dockerfile
|
|
|
|
|
|
|
|
- name: detect-jdk-updates
|
|
|
|
- name: detect-jdk-updates
|
|
|
|
plan:
|
|
|
|
plan:
|
|
|
|
- get: git-repo
|
|
|
|
- get: git-repo
|
|
|
|