|
|
@ -165,6 +165,12 @@ resources:
|
|
|
|
source:
|
|
|
|
source:
|
|
|
|
<<: *registry-image-resource-source
|
|
|
|
<<: *registry-image-resource-source
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-ci-jdk16
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-ci-jdk16
|
|
|
|
|
|
|
|
- name: ci-image-jdk17
|
|
|
|
|
|
|
|
type: registry-image
|
|
|
|
|
|
|
|
icon: docker
|
|
|
|
|
|
|
|
source:
|
|
|
|
|
|
|
|
<<: *registry-image-resource-source
|
|
|
|
|
|
|
|
repository: ((docker-hub-organization))/spring-boot-ci-jdk17
|
|
|
|
- name: artifactory-repo
|
|
|
|
- name: artifactory-repo
|
|
|
|
type: artifactory-resource
|
|
|
|
type: artifactory-resource
|
|
|
|
icon: package-variant
|
|
|
|
icon: package-variant
|
|
|
@ -197,6 +203,14 @@ resources:
|
|
|
|
access_token: ((github-ci-status-token))
|
|
|
|
access_token: ((github-ci-status-token))
|
|
|
|
branch: ((branch))
|
|
|
|
branch: ((branch))
|
|
|
|
context: jdk16-build
|
|
|
|
context: jdk16-build
|
|
|
|
|
|
|
|
- name: repo-status-jdk17-build
|
|
|
|
|
|
|
|
type: github-status-resource
|
|
|
|
|
|
|
|
icon: eye-check-outline
|
|
|
|
|
|
|
|
source:
|
|
|
|
|
|
|
|
repository: ((github-repo-name))
|
|
|
|
|
|
|
|
access_token: ((github-ci-status-token))
|
|
|
|
|
|
|
|
branch: ((branch))
|
|
|
|
|
|
|
|
context: jdk17-build
|
|
|
|
- name: slack-alert
|
|
|
|
- name: slack-alert
|
|
|
|
type: slack-notification
|
|
|
|
type: slack-notification
|
|
|
|
icon: slack
|
|
|
|
icon: slack
|
|
|
@ -246,6 +260,13 @@ jobs:
|
|
|
|
image: ci-image-jdk16
|
|
|
|
image: ci-image-jdk16
|
|
|
|
vars:
|
|
|
|
vars:
|
|
|
|
ci-image-name: ci-image-jdk16
|
|
|
|
ci-image-name: ci-image-jdk16
|
|
|
|
|
|
|
|
- task: build-ci-image-jdk17
|
|
|
|
|
|
|
|
privileged: true
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/build-ci-image.yml
|
|
|
|
|
|
|
|
output_mapping:
|
|
|
|
|
|
|
|
image: ci-image-jdk17
|
|
|
|
|
|
|
|
vars:
|
|
|
|
|
|
|
|
ci-image-name: ci-image-jdk17
|
|
|
|
- in_parallel:
|
|
|
|
- in_parallel:
|
|
|
|
- put: ci-image
|
|
|
|
- put: ci-image
|
|
|
|
params:
|
|
|
|
params:
|
|
|
@ -256,6 +277,9 @@ jobs:
|
|
|
|
- put: ci-image-jdk16
|
|
|
|
- put: ci-image-jdk16
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
image: ci-image-jdk16/image.tar
|
|
|
|
image: ci-image-jdk16/image.tar
|
|
|
|
|
|
|
|
- put: ci-image-jdk17
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
image: ci-image-jdk17/image.tar
|
|
|
|
- name: detect-jdk-updates
|
|
|
|
- name: detect-jdk-updates
|
|
|
|
plan:
|
|
|
|
plan:
|
|
|
|
- get: git-repo
|
|
|
|
- get: git-repo
|
|
|
@ -281,6 +305,12 @@ jobs:
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
<<: *github-task-params
|
|
|
|
<<: *github-task-params
|
|
|
|
JDK_VERSION: java16
|
|
|
|
JDK_VERSION: java16
|
|
|
|
|
|
|
|
- task: detect-jdk17-update
|
|
|
|
|
|
|
|
image: ci-image
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/detect-jdk-updates.yml
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
<<: *github-task-params
|
|
|
|
|
|
|
|
JDK_VERSION: java17
|
|
|
|
- name: detect-ubuntu-image-updates
|
|
|
|
- name: detect-ubuntu-image-updates
|
|
|
|
plan:
|
|
|
|
plan:
|
|
|
|
- get: git-repo
|
|
|
|
- get: git-repo
|
|
|
@ -425,6 +455,38 @@ jobs:
|
|
|
|
- put: slack-alert
|
|
|
|
- put: slack-alert
|
|
|
|
params:
|
|
|
|
params:
|
|
|
|
<<: *slack-success-params
|
|
|
|
<<: *slack-success-params
|
|
|
|
|
|
|
|
- name: jdk17-build
|
|
|
|
|
|
|
|
serial: true
|
|
|
|
|
|
|
|
public: true
|
|
|
|
|
|
|
|
plan:
|
|
|
|
|
|
|
|
- get: ci-image-jdk17
|
|
|
|
|
|
|
|
- get: git-repo
|
|
|
|
|
|
|
|
trigger: true
|
|
|
|
|
|
|
|
- put: repo-status-jdk17-build
|
|
|
|
|
|
|
|
params: { state: "pending", commit: "git-repo" }
|
|
|
|
|
|
|
|
- do:
|
|
|
|
|
|
|
|
- task: build-project
|
|
|
|
|
|
|
|
image: ci-image-jdk17
|
|
|
|
|
|
|
|
privileged: true
|
|
|
|
|
|
|
|
timeout: ((task-timeout))
|
|
|
|
|
|
|
|
file: git-repo/ci/tasks/build-project.yml
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
BRANCH: ((branch))
|
|
|
|
|
|
|
|
TOOLCHAIN_JAVA_VERSION: 17
|
|
|
|
|
|
|
|
<<: *gradle-enterprise-task-params
|
|
|
|
|
|
|
|
<<: *docker-hub-task-params
|
|
|
|
|
|
|
|
on_failure:
|
|
|
|
|
|
|
|
do:
|
|
|
|
|
|
|
|
- put: repo-status-jdk17-build
|
|
|
|
|
|
|
|
params: { state: "failure", commit: "git-repo" }
|
|
|
|
|
|
|
|
- put: slack-alert
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
<<: *slack-fail-params
|
|
|
|
|
|
|
|
- put: repo-status-jdk17-build
|
|
|
|
|
|
|
|
params: { state: "success", commit: "git-repo" }
|
|
|
|
|
|
|
|
- put: slack-alert
|
|
|
|
|
|
|
|
params:
|
|
|
|
|
|
|
|
<<: *slack-success-params
|
|
|
|
- name: windows-build
|
|
|
|
- name: windows-build
|
|
|
|
serial: true
|
|
|
|
serial: true
|
|
|
|
plan:
|
|
|
|
plan:
|
|
|
@ -670,7 +732,7 @@ jobs:
|
|
|
|
repository: updated-homebrew-tap-repo
|
|
|
|
repository: updated-homebrew-tap-repo
|
|
|
|
groups:
|
|
|
|
groups:
|
|
|
|
- name: "builds"
|
|
|
|
- name: "builds"
|
|
|
|
jobs: ["build", "jdk11-build", "jdk16-build", "windows-build"]
|
|
|
|
jobs: ["build", "jdk11-build", "jdk16-build", "jdk17-build", "windows-build"]
|
|
|
|
- name: "releases"
|
|
|
|
- name: "releases"
|
|
|
|
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "create-github-release", "publish-gradle-plugin", "publish-to-sdkman", "update-homebrew-tap"]
|
|
|
|
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release", "create-github-release", "publish-gradle-plugin", "publish-to-sdkman", "update-homebrew-tap"]
|
|
|
|
- name: "ci-images"
|
|
|
|
- name: "ci-images"
|
|
|
|