5483385f4a
This commit contains a few fixes for the CI release process. The base CI image now installs the `jq` binary as it's required by the promotion process. The staging script is fixed to use the correct `sed` syntax for this Linux container, and only consider Gradle as a build system. This also changes the staging script to correctly choose the release version depending on the release type. This commit also adds a `RELEASE_TYPE` parameter to the state task. The project build version is moved to a `gradle.properties` to align with the stage+promote script. The promote release script is now executable. |
||
---|---|---|
.. | ||
images/spring-doc-resources-ci-image | ||
scripts | ||
tasks | ||
.gitignore | ||
README.adoc | ||
parameters.yml | ||
pipeline.yml |
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 ----