Skip to content

Commit e906540

Browse files
committed
Update CI pipeline to release RCs
1 parent fe9f29f commit e906540

File tree

1 file changed

+42
-1
lines changed

1 file changed

+42
-1
lines changed

ci/pipeline.yml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,10 +358,51 @@ jobs:
358358
ARTIFACTORY_SERVER: ((artifactory-server))
359359
ARTIFACTORY_USERNAME: ((artifactory-username))
360360
ARTIFACTORY_PASSWORD: ((artifactory-password))
361+
- name: stage-rc
362+
serial: true
363+
plan:
364+
- get: spring-framework-ci-image
365+
- get: git-repo
366+
trigger: false
367+
- task: stage
368+
image: spring-framework-ci-image
369+
file: git-repo/ci/tasks/stage-version.yml
370+
params:
371+
RELEASE_TYPE: RC
372+
GRADLE_ENTERPRISE_ACCESS_KEY: ((gradle_enterprise_secret_access_key))
373+
GRADLE_ENTERPRISE_CACHE_USERNAME: ((gradle_enterprise_cache_user.username))
374+
GRADLE_ENTERPRISE_CACHE_PASSWORD: ((gradle_enterprise_cache_user.password))
375+
- put: artifactory-repo
376+
params:
377+
<<: *artifactory-params
378+
repo: libs-staging-local
379+
- put: git-repo
380+
params:
381+
repository: stage-git-repo
382+
- name: promote-rc
383+
serial: true
384+
plan:
385+
- get: spring-framework-ci-image
386+
- get: git-repo
387+
trigger: false
388+
- get: artifactory-repo
389+
trigger: false
390+
passed: [stage-rc]
391+
params:
392+
download_artifacts: false
393+
save_build_info: true
394+
- task: promote
395+
image: spring-framework-ci-image
396+
file: git-repo/ci/tasks/promote-version.yml
397+
params:
398+
RELEASE_TYPE: RC
399+
ARTIFACTORY_SERVER: ((artifactory-server))
400+
ARTIFACTORY_USERNAME: ((artifactory-username))
401+
ARTIFACTORY_PASSWORD: ((artifactory-password))
361402
groups:
362403
- name: "Build"
363404
jobs: ["build", "jdk11-build", "jdk14-build", "jdk15-build"]
364405
- name: "Release"
365-
jobs: ["stage-milestone", "promote-milestone"]
406+
jobs: ["stage-milestone","stage-rc", "promote-milestone","promote-rc"]
366407
- name: "CI Images"
367408
jobs: ["build-spring-framework-ci-images"]

0 commit comments

Comments
 (0)