Skip to content

Commit 139b300

Browse files
committed
Merge branch '2.1.x'
2 parents 3712e5a + bea0d08 commit 139b300

File tree

2 files changed

+15
-34
lines changed

2 files changed

+15
-34
lines changed

ci/README.adoc

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,18 @@
11
== Concourse pipeline
22

3-
The pipeline can be deployed using the following command:
3+
Ensure that you've have a spring-boot target logged in
44

55
[source]
66
----
7-
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml
7+
$ fly -t spring-boot login -n spring-boot -c https://ci.spring-io
88
----
99

10-
NOTE: This assumes that you have credhub integration configured with the appropriate
11-
secrets.
12-
13-
=== Release
14-
15-
To release a milestone:
16-
17-
[source]
18-
----
19-
$ fly -t spring trigger-job -j spring-boot/stage-milestone
20-
$ fly -t spring trigger-job -j spring-boot/promote-milestone
21-
----
22-
23-
To release an RC:
10+
The pipeline can be deployed using the following command:
2411

2512
[source]
2613
----
27-
$ fly -t spring trigger-job -j spring-boot/stage-rc
28-
$ fly -t spring trigger-job -j spring-boot/promote-rc
14+
$ fly -t spring-boot set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml
2915
----
3016

31-
To release a GA:
32-
33-
[source]
34-
----
35-
$ fly -t spring trigger-job -j spring-boot/stage-release
36-
$ fly -t spring trigger-job -j spring-boot/promote-release
37-
----
17+
NOTE: This assumes that you have credhub integration configured with the appropriate
18+
secrets.

ci/pipeline.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resources:
3232
type: pull-request
3333
icon: source-pull
3434
source:
35-
access_token: ((github-access-token))
35+
access_token: ((github-ci-pull-request-token))
3636
repo: ((github-repo-name))
3737
base: ((branch))
3838
ignore_paths: ["ci/*"]
@@ -42,15 +42,15 @@ resources:
4242
source:
4343
owner: spring-projects
4444
repository: spring-boot
45-
access_token: ((github-release-notes-access-token))
45+
access_token: ((github-ci-release-token))
4646
pre_release: true
4747
- name: github-release
4848
type: github-release
4949
icon: briefcase-download
5050
source:
5151
owner: spring-projects
5252
repository: spring-boot
53-
access_token: ((github-release-notes-access-token))
53+
access_token: ((github-ci-release-token))
5454
pre_release: false
5555
- name: ci-images-git-repo
5656
type: git
@@ -96,23 +96,23 @@ resources:
9696
icon: eye-check-outline
9797
source:
9898
repository: ((github-repo-name))
99-
access_token: ((github-access-token))
99+
access_token: ((github-ci-status-token))
100100
branch: ((branch))
101101
context: build
102102
- name: repo-status-jdk11-build
103103
type: github-status-resource
104104
icon: eye-check-outline
105105
source:
106106
repository: ((github-repo-name))
107-
access_token: ((github-access-token))
107+
access_token: ((github-ci-status-token))
108108
branch: ((branch))
109109
context: jdk11-build
110110
- name: repo-status-jdk12-build
111111
type: github-status-resource
112112
icon: eye-check-outline
113113
source:
114114
repository: ((github-repo-name))
115-
access_token: ((github-access-token))
115+
access_token: ((github-ci-status-token))
116116
branch: ((branch))
117117
context: jdk12-build
118118
- name: slack-alert
@@ -453,7 +453,7 @@ jobs:
453453
params:
454454
RELEASE_TYPE: M
455455
GITHUB_USERNAME: ((github-username))
456-
GITHUB_TOKEN: ((github-release-notes-access-token))
456+
GITHUB_TOKEN: ((github-ci-release-token))
457457
- put: github-pre-release
458458
params:
459459
name: generated-release-notes/tag
@@ -484,7 +484,7 @@ jobs:
484484
params:
485485
RELEASE_TYPE: RC
486486
GITHUB_USERNAME: ((github-username))
487-
GITHUB_TOKEN: ((github-release-notes-access-token))
487+
GITHUB_TOKEN: ((github-ci-release-token))
488488
- put: github-pre-release
489489
params:
490490
name: generated-release-notes/tag
@@ -540,7 +540,7 @@ jobs:
540540
params:
541541
RELEASE_TYPE: RELEASE
542542
GITHUB_USERNAME: ((github-username))
543-
GITHUB_TOKEN: ((github-release-notes-access-token))
543+
GITHUB_TOKEN: ((github-ci-release-token))
544544
- put: github-release
545545
params:
546546
name: generated-release-notes/tag

0 commit comments

Comments
 (0)