Make concourse pipeline public
Migrate concourse pipeline to use credhub and expose a limited number of jobs as "public". Closes gh-10693
This commit is contained in:
parent
06b1b453a6
commit
dd3dde3531
|
@ -1,27 +1,15 @@
|
||||||
== Concourse pipeline
|
== Concourse pipeline
|
||||||
|
|
||||||
To set the pipeline first create a file in this directory called `secrets.yml`:
|
The pipeline can be deployed using the following command:
|
||||||
|
|
||||||
[source,yaml]
|
|
||||||
.secrets.yml
|
|
||||||
----
|
|
||||||
docker-hub-username: <user>
|
|
||||||
docker-hub-password: <secret>
|
|
||||||
github-username: <user>
|
|
||||||
github-password: <secret>
|
|
||||||
artifactory-username: <user>
|
|
||||||
artifactory-password: <secret>
|
|
||||||
----
|
|
||||||
|
|
||||||
NOTE: The file should be ignored by git, make sure that you don't commit it!
|
|
||||||
|
|
||||||
Once the file has been created, the pipeline can be deployed:
|
|
||||||
|
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml -l ci/secrets.yml
|
$ fly -t spring 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
|
=== Release
|
||||||
|
|
||||||
To release a milestone:
|
To release a milestone:
|
||||||
|
|
|
@ -78,6 +78,7 @@ jobs:
|
||||||
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
|
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
|
||||||
- name: build
|
- name: build
|
||||||
serial: true
|
serial: true
|
||||||
|
public: true
|
||||||
plan:
|
plan:
|
||||||
- get: spring-boot-ci-image
|
- get: spring-boot-ci-image
|
||||||
- get: git-repo
|
- get: git-repo
|
||||||
|
@ -121,6 +122,7 @@ jobs:
|
||||||
"zip.deployed": "false"
|
"zip.deployed": "false"
|
||||||
- name: build-pull-requests
|
- name: build-pull-requests
|
||||||
serial: true
|
serial: true
|
||||||
|
public: true
|
||||||
plan:
|
plan:
|
||||||
- get: spring-boot-ci-image
|
- get: spring-boot-ci-image
|
||||||
- get: git-repo
|
- get: git-repo
|
||||||
|
@ -161,6 +163,7 @@ jobs:
|
||||||
status: failure
|
status: failure
|
||||||
- name: jdk9-build
|
- name: jdk9-build
|
||||||
serial: true
|
serial: true
|
||||||
|
public: true
|
||||||
plan:
|
plan:
|
||||||
- get: spring-boot-jdk9-ci-image
|
- get: spring-boot-jdk9-ci-image
|
||||||
- get: git-repo
|
- get: git-repo
|
||||||
|
|
Loading…
Reference in New Issue