2020-06-11 06:43:27 +08:00
anchors :
git-repo-resource-source : &git-repo-resource-source
2023-11-20 18:36:58 +08:00
uri : ((github-repository-uri))
2020-06-11 06:43:27 +08:00
username : ((github-username))
2021-08-19 18:56:51 +08:00
password : ((github-ci-release-token))
2020-06-11 06:43:27 +08:00
branch : ((branch))
2020-12-11 03:57:49 +08:00
registry-image-resource-source : ®istry-image-resource-source
2020-06-11 06:43:27 +08:00
username : ((docker-hub-username))
password : ((docker-hub-password))
2023-01-20 08:05:03 +08:00
ci-registry-image-resource-source : &ci-registry-image-resource-source
username : ((docker-hub-username))
password : ((docker-hub-password))
2020-06-11 07:43:09 +08:00
tag : ((milestone))
2020-06-11 08:49:46 +08:00
gradle-enterprise-task-params : &gradle-enterprise-task-params
GRADLE_ENTERPRISE_ACCESS_KEY : ((gradle_enterprise_secret_access_key))
2022-07-14 23:06:06 +08:00
GRADLE_ENTERPRISE_CACHE_URL : ((gradle_enterprise_cache_url))
2020-06-11 08:49:46 +08:00
GRADLE_ENTERPRISE_CACHE_USERNAME : ((gradle_enterprise_cache_user.username))
GRADLE_ENTERPRISE_CACHE_PASSWORD : ((gradle_enterprise_cache_user.password))
2020-11-05 04:31:49 +08:00
docker-hub-task-params : &docker-hub-task-params
2022-05-13 03:45:20 +08:00
DOCKER_HUB_MIRROR : ((docker-hub-mirror))
2022-05-17 18:08:41 +08:00
DOCKER_HUB_USERNAME : ((docker-hub-username))
DOCKER_HUB_PASSWORD : ((docker-hub-password))
2023-04-19 01:04:20 +08:00
DOCKER_HUB_AUTH : ((docker-hub-auth))
2020-06-11 06:43:27 +08:00
github-task-params : &github-task-params
2023-11-20 18:36:58 +08:00
GITHUB_REPO : ((github-repository-name))
GITHUB_ORGANIZATION : ((github-organization-name))
2020-12-11 10:51:47 +08:00
GITHUB_PASSWORD : ((github-ci-release-token))
2020-06-11 06:43:27 +08:00
GITHUB_USERNAME : ((github-username))
MILESTONE : ((milestone))
sontatype-task-params : &sonatype-task-params
2023-10-19 16:20:00 +08:00
SONATYPE_USERNAME : ((sonatype-username))
2023-10-05 20:23:04 +08:00
SONATYPE_PASSWORD : ((sonatype-password))
2021-02-08 23:22:52 +08:00
SONATYPE_URL : ((sonatype-url))
SONATYPE_STAGING_PROFILE_ID : ((sonatype-staging-profile-id))
2020-06-11 06:43:27 +08:00
artifactory-task-params : &artifactory-task-params
2023-10-05 20:23:04 +08:00
ARTIFACTORY_URL : ((artifactory-url))
2020-06-11 06:43:27 +08:00
ARTIFACTORY_USERNAME : ((artifactory-username))
ARTIFACTORY_PASSWORD : ((artifactory-password))
2020-12-02 09:15:41 +08:00
sdkman-task-params : &sdkman-task-params
SDKMAN_CONSUMER_KEY : ((sdkman-consumer-key))
SDKMAN_CONSUMER_TOKEN : ((sdkman-consumer-token))
2020-06-11 08:49:46 +08:00
build-project-task-params : &build-project-task-params
privileged : true
timeout : ((task-timeout))
file : git-repo/ci/tasks/build-project.yml
params :
BRANCH : ((branch))
<< : *gradle-enterprise-task-params
2020-11-05 04:53:06 +08:00
<< : *docker-hub-task-params
2021-07-09 05:23:43 +08:00
run-system-tests-task-params : &run-system-tests-task-params
privileged : true
timeout : ((task-timeout))
file : git-repo/ci/tasks/run-system-tests.yml
params :
BRANCH : ((branch))
<< : *gradle-enterprise-task-params
<< : *docker-hub-task-params
2020-06-11 06:43:27 +08:00
artifactory-repo-put-params : &artifactory-repo-put-params
2021-02-10 08:37:08 +08:00
signing_key : ((signing-key))
signing_passphrase : ((signing-passphrase))
2023-11-20 18:51:53 +08:00
repo : ((artifactory-snapshot-repository))
2020-06-11 06:43:27 +08:00
folder : distribution-repository
build_uri : "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}"
2023-02-03 06:56:08 +08:00
build_number : "${BUILD_JOB_NAME}-${BUILD_NAME}"
2020-06-11 06:43:27 +08:00
disable_checksum_uploads : true
2020-06-11 07:34:58 +08:00
threads : 8
2020-06-11 06:43:27 +08:00
artifact_set :
- include :
- "/**/spring-boot-docs-*.zip"
properties :
"zip.type": "docs"
"zip.deployed": "false"
2020-06-11 08:25:40 +08:00
slack-fail-params : &slack-fail-params
2020-06-11 08:40:40 +08:00
text : >
2020-08-04 08:13:26 +08:00
:concourse-failed : <!here> <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!>
2020-06-11 08:40:40 +08:00
[ $TEXT_FILE_CONTENT]
text_file : git-repo/build/build-scan-uri.txt
2020-06-11 08:25:40 +08:00
silent : true
icon_emoji : ":concourse:"
username : concourse-ci
slack-success-params : &slack-success-params
2020-06-11 08:40:40 +08:00
text : >
2020-06-10 00:18:45 +08:00
: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!>
2020-06-11 08:40:40 +08:00
[ $TEXT_FILE_CONTENT]
text_file : git-repo/build/build-scan-uri.txt
2020-06-11 08:25:40 +08:00
silent : true
icon_emoji : ":concourse:"
username : concourse-ci
2021-01-08 05:57:57 +08:00
homebrew-tap-repo-resource-source : &homebrew-tap-repo-resource-source
uri : ((homebrew-tap-repo))
username : ((github-username))
2021-08-19 18:56:51 +08:00
password : ((github-ci-release-token))
2021-04-20 22:51:06 +08:00
branch : main
2021-06-29 23:21:25 +08:00
gradle-publish-params : &gradle-publish-params
2021-08-20 22:20:35 +08:00
GRADLE_PUBLISH_KEY : ((gradle-publish-key))
GRADLE_PUBLISH_SECRET : ((gradle-publish-secret))
2017-09-29 01:57:35 +08:00
resource_types :
2022-03-24 18:59:25 +08:00
- name : registry-image
type : registry-image
source :
2023-01-20 08:05:03 +08:00
<< : *registry-image-resource-source
2022-03-24 18:59:25 +08:00
repository : concourse/registry-image-resource
2023-01-20 05:47:12 +08:00
tag : 1.7 .1
2017-09-29 01:57:35 +08:00
- name : artifactory-resource
2020-11-18 19:16:37 +08:00
type : registry-image
2017-09-29 01:57:35 +08:00
source :
2023-01-20 08:05:03 +08:00
<< : *registry-image-resource-source
2017-09-29 01:57:35 +08:00
repository : springio/artifactory-resource
2023-02-03 06:56:08 +08:00
tag : 0.0 .18
2018-04-11 02:56:53 +08:00
- name : github-status-resource
2020-11-18 19:16:37 +08:00
type : registry-image
2018-04-11 02:56:53 +08:00
source :
2023-01-20 08:05:03 +08:00
<< : *registry-image-resource-source
2018-04-11 02:56:53 +08:00
repository : dpb587/github-status-resource
tag : master
2018-05-03 08:19:36 +08:00
- name : slack-notification
2020-11-18 19:16:37 +08:00
type : registry-image
2018-05-03 08:19:36 +08:00
source :
2023-01-20 08:05:03 +08:00
<< : *registry-image-resource-source
2018-05-03 08:19:36 +08:00
repository : cfcommunity/slack-notification-resource
tag : latest
2021-09-23 18:21:38 +08:00
- name : github-release
type : registry-image
source :
2023-01-20 08:05:03 +08:00
<< : *registry-image-resource-source
2021-09-23 18:21:38 +08:00
repository : concourse/github-release-resource
2023-01-20 05:45:46 +08:00
tag : 1.8 .0
2017-09-29 01:57:35 +08:00
resources :
- name : git-repo
type : git
2020-09-26 03:10:18 +08:00
icon : github
2017-09-29 01:57:35 +08:00
source :
2020-06-11 06:43:27 +08:00
<< : *git-repo-resource-source
2019-06-25 06:25:05 +08:00
- name : git-repo-windows
type : git
2020-09-26 03:10:18 +08:00
icon : github
2020-06-10 00:18:45 +08:00
source :
2020-06-11 06:43:27 +08:00
<< : *git-repo-resource-source
2019-06-25 06:25:05 +08:00
git_config :
- name : core.autocrlf
value : true
2018-10-20 07:08:36 +08:00
- name : github-pre-release
type : github-release
2019-04-24 03:00:07 +08:00
icon : briefcase-download-outline
2018-10-20 07:08:36 +08:00
source :
2023-11-20 18:36:58 +08:00
owner : ((github-organization-name))
repository : ((github-repository-name))
2019-06-15 13:00:58 +08:00
access_token : ((github-ci-release-token))
2018-10-20 07:08:36 +08:00
pre_release : true
2019-07-12 02:36:54 +08:00
release : false
2018-10-20 07:08:36 +08:00
- name : github-release
type : github-release
2019-04-24 03:00:07 +08:00
icon : briefcase-download
2018-10-20 07:08:36 +08:00
source :
2023-11-20 18:36:58 +08:00
owner : ((github-organization-name))
repository : ((github-repository-name))
2019-06-15 13:00:58 +08:00
access_token : ((github-ci-release-token))
2018-10-20 07:08:36 +08:00
pre_release : false
2017-09-29 01:57:35 +08:00
- name : ci-images-git-repo
type : git
2020-09-26 03:10:18 +08:00
icon : github
2017-09-29 01:57:35 +08:00
source :
2023-11-20 18:36:58 +08:00
uri : ((github-repository-uri))
2017-09-29 01:57:35 +08:00
branch : ((branch))
paths : [ "ci/images/*" ]
2020-09-22 11:01:05 +08:00
- name : ci-image
2020-11-18 19:16:37 +08:00
type : registry-image
2019-04-24 03:00:07 +08:00
icon : docker
2017-09-29 01:57:35 +08:00
source :
2023-01-20 08:05:03 +08:00
<< : *ci-registry-image-resource-source
2023-11-20 18:36:58 +08:00
repository : ((docker-hub-organization))/((docker-hub-repository-prefix))-ci
2020-09-22 11:01:05 +08:00
- name : ci-image-jdk11
2020-11-18 19:16:37 +08:00
type : registry-image
2019-04-24 03:00:07 +08:00
icon : docker
2018-03-02 22:18:51 +08:00
source :
2023-01-20 08:05:03 +08:00
<< : *ci-registry-image-resource-source
2023-11-20 18:36:58 +08:00
repository : ((docker-hub-organization))/((docker-hub-repository-prefix))-ci-jdk11
2021-07-16 19:52:57 +08:00
- name : ci-image-jdk17
type : registry-image
icon : docker
source :
2023-01-20 08:05:03 +08:00
<< : *ci-registry-image-resource-source
2023-11-20 18:36:58 +08:00
repository : ((docker-hub-organization))/((docker-hub-repository-prefix))-ci-jdk17
2023-09-13 17:42:46 +08:00
- name : ci-image-jdk21
type : registry-image
icon : docker
source :
<< : *ci-registry-image-resource-source
2023-11-20 18:36:58 +08:00
repository : ((docker-hub-organization))/((docker-hub-repository-prefix))-ci-jdk21
2021-07-09 05:23:43 +08:00
- name : paketo-builder-base-image
type : registry-image
icon : docker
source :
repository : paketobuildpacks/builder
tag : base
2017-09-29 01:57:35 +08:00
- name : artifactory-repo
type : artifactory-resource
2019-04-24 03:00:07 +08:00
icon : package-variant
2017-09-29 01:57:35 +08:00
source :
2023-10-05 20:23:04 +08:00
uri : ((artifactory-url))
2017-09-29 01:57:35 +08:00
username : ((artifactory-username))
password : ((artifactory-password))
build_name : ((build-name))
2023-02-03 06:56:08 +08:00
build_number_prefix : "${BUILD_PIPELINE_NAME}-"
check_limit : 500
2018-04-11 02:56:53 +08:00
- name : repo-status-build
type : github-status-resource
2019-04-24 03:00:07 +08:00
icon : eye-check-outline
2018-04-11 02:56:53 +08:00
source :
2023-11-20 18:36:58 +08:00
repository : ((github-organization-name))/((github-repository-name))
2019-06-15 13:00:58 +08:00
access_token : ((github-ci-status-token))
2018-04-11 02:56:53 +08:00
branch : ((branch))
context : build
2018-11-01 14:39:48 +08:00
- name : repo-status-jdk11-build
2018-04-11 02:56:53 +08:00
type : github-status-resource
2019-04-24 03:00:07 +08:00
icon : eye-check-outline
2018-04-11 02:56:53 +08:00
source :
2023-11-20 18:36:58 +08:00
repository : ((github-organization-name))/((github-repository-name))
2019-06-15 13:00:58 +08:00
access_token : ((github-ci-status-token))
2018-04-11 02:56:53 +08:00
branch : ((branch))
2018-11-01 14:39:48 +08:00
context : jdk11-build
2021-07-16 19:52:57 +08:00
- name : repo-status-jdk17-build
type : github-status-resource
icon : eye-check-outline
source :
2023-11-20 18:36:58 +08:00
repository : ((github-organization-name))/((github-repository-name))
2021-07-16 19:52:57 +08:00
access_token : ((github-ci-status-token))
branch : ((branch))
context : jdk17-build
2023-09-13 17:42:46 +08:00
- name : repo-status-jdk21-build
type : github-status-resource
icon : eye-check-outline
source :
2023-11-20 18:36:58 +08:00
repository : ((github-organization-name))/((github-repository-name))
2023-09-13 17:42:46 +08:00
access_token : ((github-ci-status-token))
branch : ((branch))
context : jdk21-build
2018-05-03 08:19:36 +08:00
- name : slack-alert
type : slack-notification
2019-04-24 03:00:07 +08:00
icon : slack
2018-05-03 08:19:36 +08:00
source :
url : ((slack-webhook-url))
2018-12-11 11:20:11 +08:00
- name : every-wednesday
type : time
2019-04-24 03:00:07 +08:00
icon : clock-outline
2018-12-11 11:20:11 +08:00
source :
2018-12-11 11:27:19 +08:00
start : 8 : 00 PM
stop : 9 : 00 PM
2018-12-11 11:20:11 +08:00
days : [ Wednesday]
2019-06-25 06:25:05 +08:00
- name : daily
type : time
2019-12-12 19:41:22 +08:00
icon : clock-outline
2019-06-25 06:25:05 +08:00
source : { interval : "24h" }
2021-01-08 05:57:57 +08:00
- name : homebrew-tap-repo
type : git
icon : github
source :
<< : *homebrew-tap-repo-resource-source
2017-09-29 01:57:35 +08:00
jobs :
2020-09-22 11:01:05 +08:00
- name : build-ci-images
2017-09-29 01:57:35 +08:00
plan :
- get : ci-images-git-repo
trigger : true
2020-12-11 07:58:19 +08:00
- get : git-repo
2020-12-11 03:57:49 +08:00
- in_parallel :
- task : build-ci-image
privileged : true
2020-12-11 07:58:19 +08:00
file : git-repo/ci/tasks/build-ci-image.yml
2020-12-11 08:31:37 +08:00
output_mapping :
2020-12-11 08:40:44 +08:00
image : ci-image
2020-12-11 06:35:04 +08:00
vars :
2020-12-11 03:57:49 +08:00
ci-image-name : ci-image
- task : build-ci-image-jdk11
privileged : true
2020-12-11 07:58:19 +08:00
file : git-repo/ci/tasks/build-ci-image.yml
2020-12-11 08:31:37 +08:00
output_mapping :
image : ci-image-jdk11
2020-12-11 06:35:04 +08:00
vars :
2020-12-11 03:57:49 +08:00
ci-image-name : ci-image-jdk11
2021-07-16 19:52:57 +08:00
- 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
2023-09-13 17:42:46 +08:00
- task : build-ci-image-jdk21
privileged : true
file : git-repo/ci/tasks/build-ci-image.yml
output_mapping :
image : ci-image-jdk21
vars :
ci-image-name : ci-image-jdk21
2019-09-04 07:10:42 +08:00
- in_parallel :
2020-09-22 11:01:05 +08:00
- put : ci-image
2019-09-04 07:10:42 +08:00
params :
2020-12-11 03:57:49 +08:00
image : ci-image/image.tar
2020-09-22 11:01:05 +08:00
- put : ci-image-jdk11
2020-03-07 01:01:35 +08:00
params :
2020-12-11 03:57:49 +08:00
image : ci-image-jdk11/image.tar
2021-07-16 19:52:57 +08:00
- put : ci-image-jdk17
params :
image : ci-image-jdk17/image.tar
2023-09-13 17:42:46 +08:00
- put : ci-image-jdk21
params :
image : ci-image-jdk21/image.tar
2018-12-11 11:20:11 +08:00
- name : detect-jdk-updates
plan :
- get : git-repo
- get : every-wednesday
trigger : true
2020-09-22 11:01:05 +08:00
- get : ci-image
2019-06-26 08:48:57 +08:00
- in_parallel :
2018-12-11 11:20:11 +08:00
- task : detect-jdk8-update
2020-09-22 11:01:05 +08:00
image : ci-image
2018-12-11 11:20:11 +08:00
file : git-repo/ci/tasks/detect-jdk-updates.yml
params :
2020-06-11 06:43:27 +08:00
<< : *github-task-params
2018-12-11 11:20:11 +08:00
JDK_VERSION : java8
- task : detect-jdk11-update
2020-09-22 11:01:05 +08:00
image : ci-image
2018-12-11 11:20:11 +08:00
file : git-repo/ci/tasks/detect-jdk-updates.yml
params :
2020-06-11 06:43:27 +08:00
<< : *github-task-params
2018-12-11 11:20:11 +08:00
JDK_VERSION : java11
2021-07-16 19:52:57 +08:00
- task : detect-jdk17-update
image : ci-image
file : git-repo/ci/tasks/detect-jdk-updates.yml
params :
<< : *github-task-params
JDK_VERSION : java17
2023-09-22 14:53:42 +08:00
- task : detect-jdk21-update
image : ci-image
file : git-repo/ci/tasks/detect-jdk-updates.yml
params :
<< : *github-task-params
JDK_VERSION : java21
2020-03-01 20:16:54 +08:00
- name : detect-ubuntu-image-updates
plan :
- get : git-repo
- get : every-wednesday
trigger : true
2020-09-22 11:01:05 +08:00
- get : ci-image
2020-03-01 20:16:54 +08:00
- do :
- task : detect-ubuntu-image-updates
2020-09-22 11:01:05 +08:00
image : ci-image
2020-03-01 20:16:54 +08:00
file : git-repo/ci/tasks/detect-ubuntu-image-updates.yml
params :
2020-06-11 06:43:27 +08:00
<< : *github-task-params
2020-03-15 22:27:08 +08:00
- name : detect-docker-updates
plan :
- get : git-repo
- get : every-wednesday
trigger : true
2020-09-22 11:01:05 +08:00
- get : ci-image
2020-03-15 22:27:08 +08:00
- do :
- task : detect-docker-updates
2020-09-22 11:01:05 +08:00
image : ci-image
2020-03-15 22:27:08 +08:00
file : git-repo/ci/tasks/detect-docker-updates.yml
params :
2020-06-11 06:43:27 +08:00
<< : *github-task-params
2017-09-29 01:57:35 +08:00
- name : build
serial : true
2017-11-07 07:26:46 +08:00
public : true
2017-09-29 01:57:35 +08:00
plan :
2020-09-22 11:01:05 +08:00
- get : ci-image
2017-09-29 01:57:35 +08:00
- get : git-repo
trigger : true
2018-04-11 02:56:53 +08:00
- put : repo-status-build
params : { state : "pending" , commit : "git-repo" }
2017-09-29 01:57:35 +08:00
- do :
- task : build-project
2020-09-22 11:01:05 +08:00
image : ci-image
2020-06-11 08:06:39 +08:00
<< : *build-project-task-params
2017-09-29 01:57:35 +08:00
on_failure :
2018-04-11 02:56:53 +08:00
do :
- put : repo-status-build
params : { state : "failure" , commit : "git-repo" }
2018-05-03 08:19:36 +08:00
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-fail-params
2018-04-11 02:56:53 +08:00
- put : repo-status-build
params : { state : "success" , commit : "git-repo" }
2017-09-29 01:57:35 +08:00
- put : artifactory-repo
2020-06-11 06:43:27 +08:00
params :
<< : *artifactory-repo-put-params
2020-01-10 21:48:43 +08:00
get_params :
threads : 8
2019-07-09 02:07:09 +08:00
on_failure :
do :
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-fail-params
2019-07-09 02:07:09 +08:00
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-success-params
2018-11-01 14:32:49 +08:00
- name : jdk11-build
2018-03-02 22:18:51 +08:00
serial : true
public : true
plan :
2020-09-22 11:01:05 +08:00
- get : ci-image-jdk11
2018-03-02 22:18:51 +08:00
- get : git-repo
trigger : true
2018-11-01 14:32:49 +08:00
- put : repo-status-jdk11-build
2018-04-11 02:56:53 +08:00
params : { state : "pending" , commit : "git-repo" }
2018-03-02 22:18:51 +08:00
- do :
- task : build-project
2020-09-22 11:01:05 +08:00
image : ci-image-jdk11
2020-06-11 08:06:39 +08:00
<< : *build-project-task-params
2018-03-02 22:18:51 +08:00
on_failure :
2018-04-11 02:56:53 +08:00
do :
2018-11-01 14:32:49 +08:00
- put : repo-status-jdk11-build
2018-04-11 02:56:53 +08:00
params : { state : "failure" , commit : "git-repo" }
2018-05-03 08:19:36 +08:00
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-fail-params
2018-11-01 14:32:49 +08:00
- put : repo-status-jdk11-build
2018-04-11 02:56:53 +08:00
params : { state : "success" , commit : "git-repo" }
2018-05-03 08:19:36 +08:00
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-success-params
2021-07-16 19:52:57 +08:00
- 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
2023-09-13 17:42:46 +08:00
- name : jdk21-build
serial : true
public : true
plan :
- get : ci-image-jdk21
- get : git-repo
trigger : true
- put : repo-status-jdk21-build
params : { state : "pending" , commit : "git-repo" }
- do :
- task : build-project
image : ci-image-jdk21
privileged : true
timeout : ((task-timeout))
file : git-repo/ci/tasks/build-project.yml
params :
BRANCH : ((branch))
TOOLCHAIN_JAVA_VERSION : 21
<< : *gradle-enterprise-task-params
<< : *docker-hub-task-params
on_failure :
do :
- put : repo-status-jdk21-build
params : { state : "failure" , commit : "git-repo" }
- put : slack-alert
params :
<< : *slack-fail-params
- put : repo-status-jdk21-build
params : { state : "success" , commit : "git-repo" }
- put : slack-alert
params :
<< : *slack-success-params
2019-06-25 06:25:05 +08:00
- name : windows-build
serial : true
plan :
- get : git-repo
resource : git-repo-windows
- get : daily
trigger : true
- do :
- task : build-project
privileged : true
file : git-repo/ci/tasks/build-project-windows.yml
tags :
- WIN64
2019-08-01 17:46:00 +08:00
timeout : ((task-timeout))
2020-01-10 21:48:43 +08:00
params :
2020-03-04 14:43:23 +08:00
BRANCH : ((branch))
2020-06-11 08:49:46 +08:00
<< : *gradle-enterprise-task-params
2019-06-25 06:25:05 +08:00
on_failure :
do :
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-fail-params
2019-06-25 06:25:05 +08:00
- put : slack-alert
params :
2020-06-11 08:25:40 +08:00
<< : *slack-success-params
2017-09-29 01:57:35 +08:00
- name : stage-milestone
serial : true
plan :
2020-09-22 11:01:05 +08:00
- get : ci-image
2017-09-29 01:57:35 +08:00
- get : git-repo
trigger : false
- task : stage
2020-09-22 11:01:05 +08:00
image : ci-image
2023-06-22 17:02:53 +08:00
timeout : ((task-timeout))
2017-09-29 01:57:35 +08:00
file : git-repo/ci/tasks/stage.yml
params :
RELEASE_TYPE : M
2020-06-11 08:49:46 +08:00
<< : *gradle-enterprise-task-params
2020-11-05 04:53:06 +08:00
<< : *docker-hub-task-params
2017-09-29 01:57:35 +08:00
- put : artifactory-repo
params :
2020-06-11 06:43:27 +08:00
<< : *artifactory-repo-put-params
2023-11-20 18:51:53 +08:00
repo : ((artifactory-staging-repository))
2021-06-12 03:06:09 +08:00
get_params :
threads : 8
2017-09-29 01:57:35 +08:00
- put : git-repo
params :
repository : stage-git-repo
- name : stage-rc
serial : true
plan :
2020-09-22 11:01:05 +08:00
- get : ci-image
2017-09-29 01:57:35 +08:00
- get : git-repo
trigger : false
- task : stage
2020-09-22 11:01:05 +08:00
image : ci-image
2023-06-22 17:02:53 +08:00
timeout : ((task-timeout))
2017-09-29 01:57:35 +08:00
file : git-repo/ci/tasks/stage.yml
params :
RELEASE_TYPE : RC
2020-06-11 08:49:46 +08:00
<< : *gradle-enterprise-task-params
2020-11-05 04:53:06 +08:00
<< : *docker-hub-task-params
2017-09-29 01:57:35 +08:00
- put : artifactory-repo
params :
2020-06-11 06:43:27 +08:00
<< : *artifactory-repo-put-params
2023-11-20 18:51:53 +08:00
repo : ((artifactory-staging-repository))
2021-06-12 03:06:09 +08:00
get_params :
threads : 8
2017-09-29 01:57:35 +08:00
- put : git-repo
params :
repository : stage-git-repo
- name : stage-release
serial : true
plan :
2020-09-22 11:01:05 +08:00
- get : ci-image
2017-09-29 01:57:35 +08:00
- get : git-repo
trigger : false
- task : stage
2020-09-22 11:01:05 +08:00
image : ci-image
2023-06-22 17:02:53 +08:00
timeout : ((task-timeout))
2017-09-29 01:57:35 +08:00
file : git-repo/ci/tasks/stage.yml
params :
RELEASE_TYPE : RELEASE
2020-06-11 08:49:46 +08:00
<< : *gradle-enterprise-task-params
2020-11-05 04:53:06 +08:00
<< : *docker-hub-task-params
2017-09-29 01:57:35 +08:00
- put : artifactory-repo
params :
2020-06-11 06:43:27 +08:00
<< : *artifactory-repo-put-params
2023-11-20 18:51:53 +08:00
repo : ((artifactory-staging-repository))
2021-06-12 03:06:09 +08:00
get_params :
threads : 8
2017-09-29 01:57:35 +08:00
- put : git-repo
params :
repository : stage-git-repo
- name : promote-milestone
serial : true
plan :
- get : git-repo
trigger : false
- get : artifactory-repo
trigger : false
passed : [ stage-milestone]
params :
2019-05-15 08:10:46 +08:00
download_artifacts : false
2017-09-29 01:57:35 +08:00
save_build_info : true
- task : promote
file : git-repo/ci/tasks/promote.yml
params :
RELEASE_TYPE : M
2020-06-11 06:43:27 +08:00
<< : *artifactory-task-params
2020-09-26 03:20:44 +08:00
- task : generate-changelog
file : git-repo/ci/tasks/generate-changelog.yml
2018-10-06 02:39:48 +08:00
params :
RELEASE_TYPE : M
GITHUB_USERNAME : ((github-username))
2019-06-15 13:00:58 +08:00
GITHUB_TOKEN : ((github-ci-release-token))
2018-10-20 07:08:36 +08:00
- put : github-pre-release
params :
2020-09-26 03:20:44 +08:00
name : generated-changelog/tag
tag : generated-changelog/tag
body : generated-changelog/changelog.md
2017-09-29 01:57:35 +08:00
- name : promote-rc
serial : true
plan :
- get : git-repo
trigger : false
- get : artifactory-repo
trigger : false
passed : [ stage-rc]
params :
2019-05-15 08:10:46 +08:00
download_artifacts : false
2017-09-29 01:57:35 +08:00
save_build_info : true
- task : promote
file : git-repo/ci/tasks/promote.yml
params :
RELEASE_TYPE : RC
2020-06-11 06:43:27 +08:00
<< : *artifactory-task-params
2020-09-26 03:20:44 +08:00
- task : generate-changelog
file : git-repo/ci/tasks/generate-changelog.yml
2018-10-06 02:39:48 +08:00
params :
RELEASE_TYPE : RC
GITHUB_USERNAME : ((github-username))
2019-06-15 13:00:58 +08:00
GITHUB_TOKEN : ((github-ci-release-token))
2018-10-20 07:08:36 +08:00
- put : github-pre-release
params :
2020-09-26 03:20:44 +08:00
name : generated-changelog/tag
tag : generated-changelog/tag
body : generated-changelog/changelog.md
2017-09-29 01:57:35 +08:00
- name : promote-release
serial : true
plan :
- get : git-repo
trigger : false
- get : artifactory-repo
trigger : false
passed : [ stage-release]
params :
2021-02-08 23:22:52 +08:00
download_artifacts : true
2017-09-29 01:57:35 +08:00
save_build_info : true
2021-06-12 03:06:09 +08:00
threads : 8
2017-09-29 01:57:35 +08:00
- task : promote
file : git-repo/ci/tasks/promote.yml
params :
RELEASE_TYPE : RELEASE
2020-06-11 06:43:27 +08:00
<< : *artifactory-task-params
2021-02-08 23:22:52 +08:00
<< : *sonatype-task-params
2021-06-29 23:21:25 +08:00
- name : publish-gradle-plugin
serial : true
plan :
- get : ci-image
- get : git-repo
- get : artifactory-repo
2021-07-22 19:13:31 +08:00
trigger : true
2021-06-29 23:21:25 +08:00
passed : [ promote-release]
params :
2021-08-19 19:11:15 +08:00
download_artifacts : true
2021-06-29 23:21:25 +08:00
save_build_info : true
2021-08-19 19:11:15 +08:00
threads : 8
2021-06-29 23:21:25 +08:00
- task : publish-gradle-plugin
image : ci-image
file : git-repo/ci/tasks/publish-gradle-plugin.yml
params :
<< : *gradle-publish-params
2021-02-08 23:22:52 +08:00
- name : create-github-release
2018-03-13 08:07:15 +08:00
serial : true
plan :
2020-09-22 11:01:05 +08:00
- get : ci-image
2018-03-13 08:07:15 +08:00
- get : git-repo
- get : artifactory-repo
2018-07-03 04:57:34 +08:00
trigger : true
2018-03-13 08:07:15 +08:00
passed : [ promote-release]
2018-05-22 08:24:43 +08:00
params :
2019-05-15 08:10:46 +08:00
download_artifacts : false
2018-05-22 08:24:43 +08:00
save_build_info : true
2020-09-26 03:20:44 +08:00
- task : generate-changelog
file : git-repo/ci/tasks/generate-changelog.yml
2019-03-23 05:23:13 +08:00
params :
RELEASE_TYPE : RELEASE
GITHUB_USERNAME : ((github-username))
2019-06-15 13:00:58 +08:00
GITHUB_TOKEN : ((github-ci-release-token))
2019-03-23 05:23:13 +08:00
- put : github-release
params :
2020-09-26 03:20:44 +08:00
name : generated-changelog/tag
tag : generated-changelog/tag
body : generated-changelog/changelog.md
2020-12-10 04:20:05 +08:00
- name : publish-to-sdkman
serial : true
plan :
- get : git-repo
- get : artifactory-repo
2021-02-08 23:22:52 +08:00
passed : [ create-github-release]
2020-12-10 04:20:05 +08:00
params :
download_artifacts : false
save_build_info : true
- task : publish-to-sdkman
file : git-repo/ci/tasks/publish-to-sdkman.yml
params :
<< : *sdkman-task-params
RELEASE_TYPE : RELEASE
BRANCH : ((branch))
2022-11-24 23:51:38 +08:00
LATEST_GA : false
2021-01-08 05:57:57 +08:00
- name : update-homebrew-tap
serial : true
plan :
- get : ci-image
- get : git-repo
2021-01-15 12:48:38 +08:00
- get : homebrew-tap-repo
2021-01-08 05:57:57 +08:00
- get : artifactory-repo
2021-02-08 23:22:52 +08:00
passed : [ create-github-release]
2021-01-08 05:57:57 +08:00
params :
download_artifacts : false
save_build_info : true
- task : update-homebrew-tap
image : ci-image
file : git-repo/ci/tasks/update-homebrew-tap.yml
params :
2022-11-24 23:51:38 +08:00
LATEST_GA : false
2021-01-15 12:48:38 +08:00
- put : homebrew-tap-repo
2021-01-08 05:57:57 +08:00
params :
2021-01-15 12:48:38 +08:00
repository : updated-homebrew-tap-repo
2021-07-09 05:23:43 +08:00
- name : run-system-tests
serial : true
public : true
plan :
- get : ci-image
- get : git-repo
- get : paketo-builder-base-image
trigger : true
- get : daily
trigger : true
- do :
- task : run-system-tests
image : ci-image
<< : *run-system-tests-task-params
on_failure :
do :
- put : slack-alert
params :
<< : *slack-fail-params
- put : slack-alert
params :
<< : *slack-success-params
- name : jdk11-run-system-tests
serial : true
public : true
plan :
- get : ci-image-jdk11
- get : git-repo
- get : paketo-builder-base-image
trigger : true
- get : daily
trigger : true
- do :
- task : run-system-tests
image : ci-image-jdk11
<< : *run-system-tests-task-params
on_failure :
do :
- put : slack-alert
params :
<< : *slack-fail-params
- put : slack-alert
params :
<< : *slack-success-params
2021-09-29 06:29:24 +08:00
- name : jdk17-run-system-tests
serial : true
public : true
plan :
- get : ci-image-jdk17
- get : git-repo
- get : paketo-builder-base-image
trigger : true
- get : daily
trigger : true
- do :
- task : run-system-tests
image : ci-image-jdk17
privileged : true
timeout : ((task-timeout))
file : git-repo/ci/tasks/run-system-tests.yml
params :
BRANCH : ((branch))
TOOLCHAIN_JAVA_VERSION : 17
<< : *gradle-enterprise-task-params
<< : *docker-hub-task-params
on_failure :
do :
- put : slack-alert
params :
<< : *slack-fail-params
- put : slack-alert
params :
<< : *slack-success-params
2023-09-13 17:42:46 +08:00
- name : jdk21-run-system-tests
serial : true
public : true
plan :
- get : ci-image-jdk21
- get : git-repo
- get : paketo-builder-base-image
trigger : true
- get : daily
trigger : true
- do :
- task : run-system-tests
image : ci-image-jdk21
privileged : true
timeout : ((task-timeout))
file : git-repo/ci/tasks/run-system-tests.yml
params :
BRANCH : ((branch))
TOOLCHAIN_JAVA_VERSION : 21
<< : *gradle-enterprise-task-params
<< : *docker-hub-task-params
on_failure :
do :
- put : slack-alert
params :
<< : *slack-fail-params
- put : slack-alert
params :
<< : *slack-success-params
2017-09-29 01:57:35 +08:00
groups :
2020-09-22 11:01:05 +08:00
- name : "builds"
2023-09-22 15:03:35 +08:00
jobs : [ "build" , "jdk11-build" , "jdk17-build" , "jdk21-build" , "windows-build" ]
2020-09-22 11:01:05 +08:00
- name : "releases"
2021-06-29 23:21:25 +08:00
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" ]
2021-07-09 05:23:43 +08:00
- name : "system-tests"
2023-09-22 15:03:35 +08:00
jobs : [ "run-system-tests" , "jdk11-run-system-tests" , "jdk17-run-system-tests" , "jdk21-run-system-tests" ]
2020-09-22 11:01:05 +08:00
- name : "ci-images"
jobs : [ "build-ci-images" , "detect-docker-updates" , "detect-jdk-updates" , "detect-ubuntu-image-updates" ]
2023-05-25 08:17:35 +08:00