Commit 0f10dbb5 authored by Madhura Bhave's avatar Madhura Bhave

Merge branch '2.0.x'

parents 1c0be1ce cdc6cfca
...@@ -375,7 +375,6 @@ jobs: ...@@ -375,7 +375,6 @@ jobs:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: release-notes-repo
- task: stage - task: stage
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/stage.yml file: git-repo/ci/tasks/stage.yml
...@@ -388,22 +387,12 @@ jobs: ...@@ -388,22 +387,12 @@ jobs:
- put: git-repo - put: git-repo
params: params:
repository: stage-git-repo repository: stage-git-repo
- task: publish-release-notes
image: spring-boot-ci-image
file: git-repo/ci/tasks/publish-release-notes.yml
params:
RELEASE_TYPE: M
GITHUB_ORGANIZATION: spring-projects
GITHUB_REPO: spring-boot
GITHUB_USERNAME: ((github-username))
GITHUB_PASSWORD: ((github-release-notes-access-token))
- name: stage-rc - name: stage-rc
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: release-notes-repo
- task: stage - task: stage
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/stage.yml file: git-repo/ci/tasks/stage.yml
...@@ -416,22 +405,12 @@ jobs: ...@@ -416,22 +405,12 @@ jobs:
- put: git-repo - put: git-repo
params: params:
repository: stage-git-repo repository: stage-git-repo
- task: publish-release-notes
image: spring-boot-ci-image
file: git-repo/ci/tasks/publish-release-notes.yml
params:
RELEASE_TYPE: RC
GITHUB_ORGANIZATION: spring-projects
GITHUB_REPO: spring-boot
GITHUB_USERNAME: ((github-username))
GITHUB_PASSWORD: ((github-release-notes-access-token))
- name: stage-release - name: stage-release
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: release-notes-repo
- task: stage - task: stage
image: spring-boot-ci-image image: spring-boot-ci-image
file: git-repo/ci/tasks/stage.yml file: git-repo/ci/tasks/stage.yml
...@@ -444,21 +423,13 @@ jobs: ...@@ -444,21 +423,13 @@ jobs:
- put: git-repo - put: git-repo
params: params:
repository: stage-git-repo repository: stage-git-repo
- task: publish-release-notes
image: spring-boot-ci-image
file: git-repo/ci/tasks/publish-release-notes.yml
params:
RELEASE_TYPE: RELEASE
GITHUB_ORGANIZATION: spring-projects
GITHUB_REPO: spring-boot
GITHUB_USERNAME: ((github-username))
GITHUB_PASSWORD: ((github-release-notes-access-token))
- name: promote-milestone - name: promote-milestone
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: release-notes-repo
- get: artifactory-repo - get: artifactory-repo
trigger: false trigger: false
passed: [stage-milestone] passed: [stage-milestone]
...@@ -472,12 +443,22 @@ jobs: ...@@ -472,12 +443,22 @@ jobs:
ARTIFACTORY_SERVER: ((artifactory-server)) ARTIFACTORY_SERVER: ((artifactory-server))
ARTIFACTORY_USERNAME: ((artifactory-username)) ARTIFACTORY_USERNAME: ((artifactory-username))
ARTIFACTORY_PASSWORD: ((artifactory-password)) ARTIFACTORY_PASSWORD: ((artifactory-password))
- task: publish-release-notes
image: spring-boot-ci-image
file: git-repo/ci/tasks/publish-release-notes.yml
params:
RELEASE_TYPE: M
GITHUB_ORGANIZATION: spring-projects
GITHUB_REPO: spring-boot
GITHUB_USERNAME: ((github-username))
GITHUB_PASSWORD: ((github-release-notes-access-token))
- name: promote-rc - name: promote-rc
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: release-notes-repo
- get: artifactory-repo - get: artifactory-repo
trigger: false trigger: false
passed: [stage-rc] passed: [stage-rc]
...@@ -491,12 +472,22 @@ jobs: ...@@ -491,12 +472,22 @@ jobs:
ARTIFACTORY_SERVER: ((artifactory-server)) ARTIFACTORY_SERVER: ((artifactory-server))
ARTIFACTORY_USERNAME: ((artifactory-username)) ARTIFACTORY_USERNAME: ((artifactory-username))
ARTIFACTORY_PASSWORD: ((artifactory-password)) ARTIFACTORY_PASSWORD: ((artifactory-password))
- task: publish-release-notes
image: spring-boot-ci-image
file: git-repo/ci/tasks/publish-release-notes.yml
params:
RELEASE_TYPE: RC
GITHUB_ORGANIZATION: spring-projects
GITHUB_REPO: spring-boot
GITHUB_USERNAME: ((github-username))
GITHUB_PASSWORD: ((github-release-notes-access-token))
- name: promote-release - name: promote-release
serial: true serial: true
plan: plan:
- get: spring-boot-ci-image - get: spring-boot-ci-image
- get: git-repo - get: git-repo
trigger: false trigger: false
- get: release-notes-repo
- get: artifactory-repo - get: artifactory-repo
trigger: false trigger: false
passed: [stage-release] passed: [stage-release]
...@@ -512,6 +503,15 @@ jobs: ...@@ -512,6 +503,15 @@ jobs:
ARTIFACTORY_PASSWORD: ((artifactory-password)) ARTIFACTORY_PASSWORD: ((artifactory-password))
BINTRAY_SUBJECT: ((bintray-subject)) BINTRAY_SUBJECT: ((bintray-subject))
BINTRAY_REPO: ((bintray-repo)) BINTRAY_REPO: ((bintray-repo))
- task: publish-release-notes
image: spring-boot-ci-image
file: git-repo/ci/tasks/publish-release-notes.yml
params:
RELEASE_TYPE: RELEASE
GITHUB_ORGANIZATION: spring-projects
GITHUB_REPO: spring-boot
GITHUB_USERNAME: ((github-username))
GITHUB_PASSWORD: ((github-release-notes-access-token))
- name: sync-to-maven-central - name: sync-to-maven-central
serial: true serial: true
plan: plan:
......
...@@ -66,3 +66,4 @@ fi ...@@ -66,3 +66,4 @@ fi
echo "Promotion complete" echo "Promotion complete"
echo $version > version/version
\ No newline at end of file
...@@ -3,7 +3,7 @@ set -e ...@@ -3,7 +3,7 @@ set -e
source $(dirname $0)/common.sh source $(dirname $0)/common.sh
milestone=$( cat version/stageVersion ) milestone=$( cat version/version )
if [[ $RELEASE_TYPE = "RELEASE" ]]; then if [[ $RELEASE_TYPE = "RELEASE" ]]; then
milestone=${milestone%.RELEASE} milestone=${milestone%.RELEASE}
fi fi
......
...@@ -51,4 +51,3 @@ fi; ...@@ -51,4 +51,3 @@ fi;
echo "DONE" echo "DONE"
popd > /dev/null popd > /dev/null
echo $stageVersion > version/stageVersion
...@@ -3,6 +3,8 @@ platform: linux ...@@ -3,6 +3,8 @@ platform: linux
inputs: inputs:
- name: git-repo - name: git-repo
- name: artifactory-repo - name: artifactory-repo
outputs:
- name: version
params: params:
RELEASE_TYPE: RELEASE_TYPE:
ARTIFACTORY_SERVER: ARTIFACTORY_SERVER:
......
...@@ -5,7 +5,6 @@ inputs: ...@@ -5,7 +5,6 @@ inputs:
outputs: outputs:
- name: stage-git-repo - name: stage-git-repo
- name: distribution-repository - name: distribution-repository
- name: version
params: params:
RELEASE_TYPE: RELEASE_TYPE:
caches: caches:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment