mirror of
https://gitee.com/dcren/initializr.git
synced 2025-05-04 12:48:02 +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
|
- name: git-pull-request
|
||||||
type: pull-request
|
type: pull-request
|
||||||
source:
|
source:
|
||||||
access_token: ((github-access-token))
|
access_token: ((github-ci-pull-request-token))
|
||||||
repo: spring-io/initializr
|
repo: spring-io/initializr
|
||||||
base: ((branch))
|
base: ((branch))
|
||||||
ignore_paths: ["ci/*"]
|
ignore_paths: ["ci/*"]
|
||||||
@ -73,7 +73,7 @@ resources:
|
|||||||
type: github-status-resource
|
type: github-status-resource
|
||||||
source:
|
source:
|
||||||
repository: spring-io/initializr
|
repository: spring-io/initializr
|
||||||
access_token: ((github-access-token))
|
access_token: ((github-ci-status-token))
|
||||||
branch: ((branch))
|
branch: ((branch))
|
||||||
context: build
|
context: build
|
||||||
- name: github-release
|
- name: github-release
|
||||||
@ -81,7 +81,7 @@ resources:
|
|||||||
source:
|
source:
|
||||||
owner: spring-io
|
owner: spring-io
|
||||||
repository: initializr
|
repository: initializr
|
||||||
access_token: ((github-release-notes-access-token))
|
access_token: ((github-ci-release-token))
|
||||||
pre_release: false
|
pre_release: false
|
||||||
- name: 24h
|
- name: 24h
|
||||||
type: time
|
type: time
|
||||||
@ -214,7 +214,7 @@ jobs:
|
|||||||
GITHUB_ORGANIZATION: spring-io
|
GITHUB_ORGANIZATION: spring-io
|
||||||
GITHUB_REPO: initializr
|
GITHUB_REPO: initializr
|
||||||
GITHUB_USERNAME: ((github-username))
|
GITHUB_USERNAME: ((github-username))
|
||||||
GITHUB_TOKEN: ((github-release-notes-access-token))
|
GITHUB_TOKEN: ((github-ci-release-token))
|
||||||
- put: github-release
|
- put: github-release
|
||||||
params:
|
params:
|
||||||
name: generated-release-notes/version
|
name: generated-release-notes/version
|
||||||
|
Loading…
Reference in New Issue
Block a user