Commit Graph

25 Commits (2cb6340ca5532e964154a93d4c3e459dc65eba7d)

Author SHA1 Message Date
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
4 years ago
Madhura Bhave e5aea89599 Move SDKMAN to a separate job
Closes gh-21903
4 years ago
Madhura Bhave 7b38b0ed11 Add SDKMAN to pipeline
Closes gh-11987
4 years ago
Phillip Webb 6d93d732b4 Cherry-pick release script updates
Cherry-pick release script updates from 2.3.x

See gh-21474
4 years ago
Madhura Bhave 656f73f0c5 Parse version from build.json for release notes generation
Fixes gh-18908
5 years ago
Madhura Bhave 2d604beb47 Migrate release scripts to java
Closes gh-17261
5 years ago
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.
5 years ago
Phillip Webb c7746fba3b Allow promote script to be run again 6 years ago
Phillip Webb d6496c00b9 Fixup promote script 6 years ago
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
6 years ago
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
6 years ago
Madhura Bhave 042d495d92 Set gradle-plugin attribute on the Bintray package
Closes gh-14447
6 years ago
Madhura Bhave cdc6cfcaa8 Publish release notes after artifacts have been promoted
Closes gh-14604
6 years ago
Madhura Bhave 26af0ca742 Increase wait timeout for bintray to 20 min
Closes gh-13947
6 years ago
Madhura Bhave d15ca6e0de Update sync-to-maven-central CI job
Closes gh-13296
6 years ago
Madhura Bhave df7ddeefc4 Polish promotion script
See gh-12292
7 years ago
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
7 years ago
Madhura Bhave 0b64ac07c6 Add a separate job for syncing release to central
See gh-12292
7 years ago
Phillip Webb 9bb39f0d44 Increase promote timeouts
Fixes gh-12291
7 years ago
Madhura Bhave 00218dbfea Remove duplicate curl parameter 7 years ago
Phillip Webb ac4b923b88 More promote script fixes
See gh-9316
7 years ago
Phillip Webb 39e680ddc1 Increase promotion timeouts
See gh-9316
7 years ago
Phillip Webb c20af0f57a Fix promote target repo
See gh-9316
7 years ago
Phillip Webb 3dd59ba00b Fix promote script
See gh-9316
7 years ago
Phillip Webb e9f9462917 Add Concourse CI pipeline
Add CI pipeline for builds and releases.

Fixes gh-9316
7 years ago