mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-05 17:38:06 +08:00
Update CI credhub references
This commit is contained in:
parent
41e3c2c8bb
commit
916ac41253
18
ci/README.adoc
Normal file
18
ci/README.adoc
Normal file
@ -0,0 +1,18 @@
|
||||
== Concourse pipeline
|
||||
|
||||
Ensure that you've setup the target and can login
|
||||
|
||||
[source]
|
||||
----
|
||||
$ fly -t initializr login -n initializr -c https://ci.spring.io
|
||||
----
|
||||
|
||||
The pipeline can be deployed using the following command:
|
||||
|
||||
[source]
|
||||
----
|
||||
$ fly -t initializr set-pipeline -p initializr -c ci/pipeline.yml -l ci/parameters.yml
|
||||
----
|
||||
|
||||
NOTE: This assumes that you have credhub integration configured with the appropriate
|
||||
secrets.
|
@ -41,7 +41,7 @@ resources:
|
||||
- name: git-pull-request
|
||||
type: pull-request
|
||||
source:
|
||||
access_token: ((github-access-token))
|
||||
access_token: ((github-ci-pull-request-token))
|
||||
repo: spring-io/initializr
|
||||
base: ((branch))
|
||||
ignore_paths: ["ci/*"]
|
||||
@ -73,7 +73,7 @@ resources:
|
||||
type: github-status-resource
|
||||
source:
|
||||
repository: spring-io/initializr
|
||||
access_token: ((github-access-token))
|
||||
access_token: ((github-ci-status-token))
|
||||
branch: ((branch))
|
||||
context: build
|
||||
- name: github-release
|
||||
@ -81,7 +81,7 @@ resources:
|
||||
source:
|
||||
owner: spring-io
|
||||
repository: initializr
|
||||
access_token: ((github-release-notes-access-token))
|
||||
access_token: ((github-ci-release-token))
|
||||
pre_release: false
|
||||
- name: 24h
|
||||
type: time
|
||||
@ -214,7 +214,7 @@ jobs:
|
||||
GITHUB_ORGANIZATION: spring-io
|
||||
GITHUB_REPO: initializr
|
||||
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/version
|
||||
|
Loading…
Reference in New Issue
Block a user