Commit Graph

26 Commits

Author SHA1 Message Date
Andy Wilkinson
c587eae831 Migrate to common concourse-release-scripts
Closes gh-32577
2023-10-17 09:54:12 +01:00
Andy Wilkinson
98ee724ec6 Stop using Bintray to publish to Maven Central
This commit reworks the CI pipeline to remove the use of Bintray for
publishing to Maven Central. In its place it adds a new
publishToCentral command to the release scripts. This command can be
used to publish a directory tree of artifacts to the Maven Central
gateway hosted by Sonatype.

Publishing consists of 4 steps:

1. Create the staging repository
2. Deploy artifacts to the repository
3. Close the repository
4. Release the repository

The command requires 3 arguments:

1. The type of release being performed
2. Location of a build info JSON file that describes the release
   that is to be deployed
3. Root of a directory structure, in Maven repository layout, that
   contains the artifacts to be deployed

Closes gh-25107
2021-02-17 16:50:02 +00:00
Madhura Bhave
e5aea89599 Move SDKMAN to a separate job
Closes gh-21903
2020-12-09 12:20:05 -08:00
Madhura Bhave
7b38b0ed11 Add SDKMAN to pipeline
Closes gh-11987
2020-12-02 10:52:41 -08:00
Phillip Webb
6d93d732b4 Cherry-pick release script updates
Cherry-pick release script updates from 2.3.x

See gh-21474
2020-06-11 23:15:10 -07:00
Madhura Bhave
656f73f0c5 Parse version from build.json for release notes generation
Fixes gh-18908
2019-11-19 12:19:55 -08:00
Madhura Bhave
2d604beb47 Migrate release scripts to java
Closes gh-17261
2019-11-01 16:14:28 -07:00
Phillip Webb
11b8e7c2de Don't exit script on error
Update CI scripts so that command failures do not cause an immediate
exit. Prior to this commit, some of our looping logic would never run
because the entire script would exit.
2019-06-18 20:41:26 -07:00
Phillip Webb
c7746fba3b Allow promote script to be run again 2019-04-03 21:27:50 -07:00
Phillip Webb
d6496c00b9 Fixup promote script 2019-04-03 20:33:41 -07:00
Phillip Webb
ec094cdfda Increase timeout for promote script
Increase the timeout used when checking if artifacts have landed in
Bintray from 20m to 40m. Also added some additional protection against
the curl command failing.

Closes gh-16443
2019-04-03 16:35:49 -07:00
Phillip Webb
3fb30fddb4 Use Bintray API key rather than password in CI
Update CI scripts to use the Bintray API key rather than the password
when making curl calls.

Closes gh-15015
2018-11-15 11:15:33 -08:00
Madhura Bhave
042d495d92 Set gradle-plugin attribute on the Bintray package
Closes gh-14447
2018-10-11 16:30:33 -07:00
Madhura Bhave
cdc6cfcaa8 Publish release notes after artifacts have been promoted
Closes gh-14604
2018-10-05 11:39:48 -07:00
Madhura Bhave
26af0ca742 Increase wait timeout for bintray to 20 min
Closes gh-13947
2018-08-08 15:05:54 -07:00
Madhura Bhave
d15ca6e0de Update sync-to-maven-central CI job
Closes gh-13296
2018-07-02 13:57:34 -07:00
Madhura Bhave
df7ddeefc4 Polish promotion script
See gh-12292
2018-04-13 11:57:56 -07:00
Madhura Bhave
a938c372ea Switch to async promotion
Due to timeouts while distributing release artifacts,
this commit uses the async mode for distribution.

Before syncing to maven central, we need to check if all the artifacts
have been published to Bintray. This is done by hitting the Bintray API
till we get the version or until a timeout is reached.

Closes gh-12292
2018-03-29 16:03:24 -07:00
Madhura Bhave
0b64ac07c6 Add a separate job for syncing release to central
See gh-12292
2018-03-12 17:07:15 -07:00
Phillip Webb
9bb39f0d44 Increase promote timeouts
Fixes gh-12291
2018-02-28 19:01:24 -08:00
Madhura Bhave
00218dbfea Remove duplicate curl parameter 2018-02-27 18:56:06 -08:00
Phillip Webb
ac4b923b88 More promote script fixes
See gh-9316
2017-10-12 09:35:13 -07:00
Phillip Webb
39e680ddc1 Increase promotion timeouts
See gh-9316
2017-10-11 18:58:04 -07:00
Phillip Webb
c20af0f57a Fix promote target repo
See gh-9316
2017-10-11 18:49:33 -07:00
Phillip Webb
3dd59ba00b Fix promote script
See gh-9316
2017-10-11 18:44:59 -07:00
Phillip Webb
e9f9462917 Add Concourse CI pipeline
Add CI pipeline for builds and releases.

Fixes gh-9316
2017-10-04 20:18:53 -07:00