spring-boot/ci
Andy Wilkinson 891c7120ef Wait for distribution to reach Bintray before checking its completeness
Previously, as soon as the distribution of a release from Artifactory
to Bintray had been initiated we would start checking if it was
complete. This created a race condition between the distribution being
created and us checking if it was complete. If the check won the race
and happened before the creation, Bintray would respond with a 404.

This commit updates BintrayService to wait for up to 5 minutes for the
distribution to be created on Bintray. Once it has been created we
then wait for up to 40 minutes for it to be complete as we did before.

The use of Awaitility has been introduced in this commit to simplify
the logic required to wait for the distribution's creation and
completion.

Closes gh-18902
2019-11-06 14:52:50 +00:00
..
images Wait for distribution to reach Bintray before checking its completeness 2019-11-06 14:52:50 +00:00
scripts Drop JDK 12-based CI 2019-11-04 10:00:42 +01:00
tasks Add concourse pipeline for Windows 2019-07-24 13:25:54 -07:00
parameters.yml Merge branch '2.0.x' into 2.1.x 2019-08-01 10:50:31 +01:00
pipeline.yml Drop JDK 12-based CI 2019-11-04 10:00:42 +01:00
README.adoc Merge branch '2.0.x' into 2.1.x 2019-06-14 22:46:26 -07:00

== Concourse pipeline

Ensure that you've setup the spring-boot target and can login

[source]
----
$ fly -t spring-boot login -n spring-boot -c https://ci.spring.io
----

The pipeline can be deployed using the following command:

[source]
----
$ fly -t spring-boot set-pipeline -p spring-boot-2.1.x -c ci/pipeline.yml -l ci/parameters.yml
----

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