Merge branch '2.1.x'

This commit is contained in:
Phillip Webb 2019-06-14 22:42:20 -07:00
commit 139b30091e
2 changed files with 17 additions and 36 deletions

View File

@ -1,37 +1,18 @@
== Concourse pipeline
Ensure that you've have a spring-boot target logged in
[source]
----
$ fly -t spring-boot login -n spring-boot -c https://ci.spring-io
----
The pipeline can be deployed using the following command:
[source]
----
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml
$ fly -t spring-boot set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml
----
NOTE: This assumes that you have credhub integration configured with the appropriate
secrets.
=== Release
To release a milestone:
[source]
----
$ fly -t spring trigger-job -j spring-boot/stage-milestone
$ fly -t spring trigger-job -j spring-boot/promote-milestone
----
To release an RC:
[source]
----
$ fly -t spring trigger-job -j spring-boot/stage-rc
$ fly -t spring trigger-job -j spring-boot/promote-rc
----
To release a GA:
[source]
----
$ fly -t spring trigger-job -j spring-boot/stage-release
$ fly -t spring trigger-job -j spring-boot/promote-release
----

View File

@ -32,7 +32,7 @@ resources:
type: pull-request
icon: source-pull
source:
access_token: ((github-access-token))
access_token: ((github-ci-pull-request-token))
repo: ((github-repo-name))
base: ((branch))
ignore_paths: ["ci/*"]
@ -42,7 +42,7 @@ resources:
source:
owner: spring-projects
repository: spring-boot
access_token: ((github-release-notes-access-token))
access_token: ((github-ci-release-token))
pre_release: true
- name: github-release
type: github-release
@ -50,7 +50,7 @@ resources:
source:
owner: spring-projects
repository: spring-boot
access_token: ((github-release-notes-access-token))
access_token: ((github-ci-release-token))
pre_release: false
- name: ci-images-git-repo
type: git
@ -96,7 +96,7 @@ resources:
icon: eye-check-outline
source:
repository: ((github-repo-name))
access_token: ((github-access-token))
access_token: ((github-ci-status-token))
branch: ((branch))
context: build
- name: repo-status-jdk11-build
@ -104,7 +104,7 @@ resources:
icon: eye-check-outline
source:
repository: ((github-repo-name))
access_token: ((github-access-token))
access_token: ((github-ci-status-token))
branch: ((branch))
context: jdk11-build
- name: repo-status-jdk12-build
@ -112,7 +112,7 @@ resources:
icon: eye-check-outline
source:
repository: ((github-repo-name))
access_token: ((github-access-token))
access_token: ((github-ci-status-token))
branch: ((branch))
context: jdk12-build
- name: slack-alert
@ -453,7 +453,7 @@ jobs:
params:
RELEASE_TYPE: M
GITHUB_USERNAME: ((github-username))
GITHUB_TOKEN: ((github-release-notes-access-token))
GITHUB_TOKEN: ((github-ci-release-token))
- put: github-pre-release
params:
name: generated-release-notes/tag
@ -484,7 +484,7 @@ jobs:
params:
RELEASE_TYPE: RC
GITHUB_USERNAME: ((github-username))
GITHUB_TOKEN: ((github-release-notes-access-token))
GITHUB_TOKEN: ((github-ci-release-token))
- put: github-pre-release
params:
name: generated-release-notes/tag
@ -540,7 +540,7 @@ jobs:
params:
RELEASE_TYPE: RELEASE
GITHUB_USERNAME: ((github-username))
GITHUB_TOKEN: ((github-release-notes-access-token))
GITHUB_TOKEN: ((github-ci-release-token))
- put: github-release
params:
name: generated-release-notes/tag