ossez-doc-resources/ci
Brian Clozel 5addf686b8 Add CI infrastructure with Concourse
This commit adds the CI infrastructure for running builds with
Concourse. This includes:

* a docker image for the CI image (JDK 8 based)
* a set of Concourse pipelines for building, staging and promoting
artifacts
2018-12-04 23:04:10 +01:00
..
images/spring-doc-resources-ci-image Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00
scripts Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00
tasks Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00
.gitignore Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00
README.adoc Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00
parameters.yml Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00
pipeline.yml Add CI infrastructure with Concourse 2018-12-04 23:04:10 +01:00

README.adoc

== Concourse pipeline

The pipeline can be deployed using the following command:

[source]
----
$ fly -t spring set-pipeline -p spring-doc-resources -c ci/pipeline.yml -l ci/parameters.yml
----

NOTE: This assumes that you have credhub integration configured with the appropriate
secrets.

=== Release

To release a milestone:

[source]
----
$ fly -t spring trigger-job -j spring-doc-resources/stage-milestone
$ fly -t spring trigger-job -j spring-doc-resources/promote-milestone
----

To release an RC:

[source]
----
$ fly -t spring trigger-job -j spring-doc-resources/stage-rc
$ fly -t spring trigger-job -j spring-doc-resources/promote-rc
----

To release a GA:

[source]
----
$ fly -t spring trigger-job -j spring-doc-resources/stage-release
$ fly -t spring trigger-job -j spring-doc-resources/promote-release
----