Skip to content

Commit dd3dde3

Browse files
committed
Make concourse pipeline public
Migrate concourse pipeline to use credhub and expose a limited number of jobs as "public". Closes gh-10693
1 parent 06b1b45 commit dd3dde3

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

ci/README.adoc

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
11
== Concourse pipeline
22

3-
To set the pipeline first create a file in this directory called `secrets.yml`:
4-
5-
[source,yaml]
6-
.secrets.yml
7-
----
8-
docker-hub-username: <user>
9-
docker-hub-password: <secret>
10-
github-username: <user>
11-
github-password: <secret>
12-
artifactory-username: <user>
13-
artifactory-password: <secret>
14-
----
15-
16-
NOTE: The file should be ignored by git, make sure that you don't commit it!
17-
18-
Once the file has been created, the pipeline can be deployed:
3+
The pipeline can be deployed using the following command:
194

205
[source]
216
----
22-
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml -l ci/secrets.yml
7+
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml
238
----
249

10+
NOTE: This assumes that you have credhub integration configured with the appropriate
11+
secrets
12+
2513
=== Release
2614

2715
To release a milestone:

ci/pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image
7979
- name: build
8080
serial: true
81+
public: true
8182
plan:
8283
- get: spring-boot-ci-image
8384
- get: git-repo
@@ -121,6 +122,7 @@ jobs:
121122
"zip.deployed": "false"
122123
- name: build-pull-requests
123124
serial: true
125+
public: true
124126
plan:
125127
- get: spring-boot-ci-image
126128
- get: git-repo
@@ -161,6 +163,7 @@ jobs:
161163
status: failure
162164
- name: jdk9-build
163165
serial: true
166+
public: true
164167
plan:
165168
- get: spring-boot-jdk9-ci-image
166169
- get: git-repo

0 commit comments

Comments
 (0)