Add CI jobs for releasing RC versions
Closes gh-221
This commit is contained in:
@@ -144,11 +144,48 @@ jobs:
|
|||||||
params:
|
params:
|
||||||
RELEASE_TYPE: M
|
RELEASE_TYPE: M
|
||||||
<<: *artifactory-task-params
|
<<: *artifactory-task-params
|
||||||
|
- name: stage-rc
|
||||||
|
serial: true
|
||||||
|
plan:
|
||||||
|
- get: ci-image
|
||||||
|
- get: git-repo
|
||||||
|
trigger: false
|
||||||
|
- task: stage
|
||||||
|
image: ci-image
|
||||||
|
file: git-repo/ci/tasks/stage-version.yml
|
||||||
|
params:
|
||||||
|
RELEASE_TYPE: RC
|
||||||
|
<<: *gradle-enterprise-task-params
|
||||||
|
- put: artifactory-repo
|
||||||
|
params:
|
||||||
|
<<: *artifactory-params
|
||||||
|
repo: libs-staging-local
|
||||||
|
- put: git-repo
|
||||||
|
params:
|
||||||
|
repository: stage-git-repo
|
||||||
|
- name: promote-rc
|
||||||
|
serial: true
|
||||||
|
plan:
|
||||||
|
- get: ci-image
|
||||||
|
- get: git-repo
|
||||||
|
trigger: false
|
||||||
|
- get: artifactory-repo
|
||||||
|
trigger: false
|
||||||
|
passed: [stage-rc]
|
||||||
|
params:
|
||||||
|
download_artifacts: false
|
||||||
|
save_build_info: true
|
||||||
|
- task: promote
|
||||||
|
image: ci-image
|
||||||
|
file: git-repo/ci/tasks/promote-version.yml
|
||||||
|
params:
|
||||||
|
RELEASE_TYPE: rc
|
||||||
|
<<: *artifactory-task-params
|
||||||
|
|
||||||
groups:
|
groups:
|
||||||
- name: "builds"
|
- name: "builds"
|
||||||
jobs: ["build"]
|
jobs: ["build"]
|
||||||
- name: "releases"
|
- name: "releases"
|
||||||
jobs: [ "stage-milestone", "promote-milestone" ]
|
jobs: [ "stage-milestone", "promote-milestone", "stage-rc", "promote-rc" ]
|
||||||
- name: "ci-images"
|
- name: "ci-images"
|
||||||
jobs: ["build-ci-images"]
|
jobs: ["build-ci-images"]
|
||||||
|
|||||||
Reference in New Issue
Block a user