Merge branch '2.0.x'

This commit is contained in:
Madhura Bhave 2018-10-05 11:41:44 -07:00
commit 0f10dbb5f5
6 changed files with 34 additions and 33 deletions

View File

@ -375,7 +375,6 @@ jobs:
- get: spring-boot-ci-image
- get: git-repo
trigger: false
- get: release-notes-repo
- task: stage
image: spring-boot-ci-image
file: git-repo/ci/tasks/stage.yml
@ -388,22 +387,12 @@ jobs:
- put: git-repo
params:
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
serial: true
plan:
- get: spring-boot-ci-image
- get: git-repo
trigger: false
- get: release-notes-repo
- task: stage
image: spring-boot-ci-image
file: git-repo/ci/tasks/stage.yml
@ -416,22 +405,12 @@ jobs:
- put: git-repo
params:
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
serial: true
plan:
- get: spring-boot-ci-image
- get: git-repo
trigger: false
- get: release-notes-repo
- task: stage
image: spring-boot-ci-image
file: git-repo/ci/tasks/stage.yml
@ -444,21 +423,13 @@ jobs:
- put: git-repo
params:
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
serial: true
plan:
- get: spring-boot-ci-image
- get: git-repo
trigger: false
- get: release-notes-repo
- get: artifactory-repo
trigger: false
passed: [stage-milestone]
@ -472,12 +443,22 @@ jobs:
ARTIFACTORY_SERVER: ((artifactory-server))
ARTIFACTORY_USERNAME: ((artifactory-username))
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
serial: true
plan:
- get: spring-boot-ci-image
- get: git-repo
trigger: false
- get: release-notes-repo
- get: artifactory-repo
trigger: false
passed: [stage-rc]
@ -491,12 +472,22 @@ jobs:
ARTIFACTORY_SERVER: ((artifactory-server))
ARTIFACTORY_USERNAME: ((artifactory-username))
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
serial: true
plan:
- get: spring-boot-ci-image
- get: git-repo
trigger: false
- get: release-notes-repo
- get: artifactory-repo
trigger: false
passed: [stage-release]
@ -512,6 +503,15 @@ jobs:
ARTIFACTORY_PASSWORD: ((artifactory-password))
BINTRAY_SUBJECT: ((bintray-subject))
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
serial: true
plan:

View File

@ -66,3 +66,4 @@ fi
echo "Promotion complete"
echo $version > version/version

View File

@ -3,7 +3,7 @@ set -e
source $(dirname $0)/common.sh
milestone=$( cat version/stageVersion )
milestone=$( cat version/version )
if [[ $RELEASE_TYPE = "RELEASE" ]]; then
milestone=${milestone%.RELEASE}
fi

View File

@ -51,4 +51,3 @@ fi;
echo "DONE"
popd > /dev/null
echo $stageVersion > version/stageVersion

View File

@ -3,6 +3,8 @@ platform: linux
inputs:
- name: git-repo
- name: artifactory-repo
outputs:
- name: version
params:
RELEASE_TYPE:
ARTIFACTORY_SERVER:

View File

@ -5,7 +5,6 @@ inputs:
outputs:
- name: stage-git-repo
- name: distribution-repository
- name: version
params:
RELEASE_TYPE:
caches: