Commit Graph

239 Commits

Author SHA1 Message Date
Phillip Webb de5a5abc7e Merge branch '2.3.x' 2020-09-21 21:39:13 -07:00
dreis2211 f85fe952fc Upgrade Java 15 CI image to use the Java 15 GA build
See gh-23391
2020-09-17 16:36:36 +01:00
Andy Wilkinson 07d59ce659 Merge branch '2.3.x' 2020-07-31 12:18:39 +01:00
Andy Wilkinson 2939476852 Allow build-pr-project.sh to be executed
See gh-22645
2020-07-31 12:18:07 +01:00
Andy Wilkinson 044408e3ff Merge branch '2.3.x'
Closes gh-22651
2020-07-29 17:55:28 +01:00
Andy Wilkinson 68324c4143 Build pull requests with --continue
Closes gh-22645
2020-07-29 17:54:54 +01:00
Andy Wilkinson 750777db24 Merge branch '2.1.x' into 2.2.x 2020-07-25 10:36:19 +01:00
Andy Wilkinson 5d776f2a8b Set user.name in CI builds so it's picked up by Gradle Enterprise 2020-07-25 10:33:39 +01:00
Andy Wilkinson 051d3f2a2e Merge branch '2.1.x' into 2.2.x 2020-07-24 14:24:46 +01:00
Andy Wilkinson 6215052c5b Polish integration of Gradle Enterprise in CI builds 2020-07-24 14:22:25 +01:00
Andy Wilkinson f4508b4059 Merge branch '2.1.x' into 2.2.x
Closes gh-22547
2020-07-24 11:54:12 +01:00
Andy Wilkinson 60ff87155f Polish "Add Gradle Enterprise Extension"
See gh-22089
2020-07-24 11:51:52 +01:00
Andy Wilkinson c16b21f6ec Merge branch '2.3.x'
Closes gh-22184
2020-07-01 13:48:40 +01:00
Andy Wilkinson f4cbdf556d Merge branch '2.2.x' into 2.3.x
Closes gh-22183
2020-07-01 13:48:27 +01:00
Andy Wilkinson e44640de89 Merge branch '2.1.x' into 2.2.x
Closes gh-22182
2020-07-01 13:48:08 +01:00
dreis2211 24072bed96 Improve error handling in JDK upgrade checks
See gh-22110
2020-07-01 13:45:50 +01:00
Stephane Nicoll e87c3193ce Polish "Add Java 15 CI"
See gh-21713
2020-06-15 17:08:12 +02:00
dreis2211 85218db222 Add Java 15 CI
See gh-21713
2020-06-15 17:05:54 +02:00
Phillip Webb 209c5c4013 Merge branch '2.1.x' into 2.2.x 2020-06-11 23:19:16 -07: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
Phillip Webb 6285409326 Merge branch '2.3.x'
Closes gh-21900
2020-06-11 23:09:19 -07:00
Phillip Webb 1706ae29f5 Support octet-stream response from sonatype
See gh-21474
2020-06-11 22:56:43 -07:00
Phillip Webb dbda2d0b92 Improve release script logging
Improve logging and fix a few issue with the release script.

See gh-21474
2020-06-11 22:29:50 -07:00
Andy Wilkinson 8e8548756e Start work on Spring Boot 2.4 2020-05-28 10:52:18 +01:00
Madhura Bhave 7e5fbdd2e8 Merge branch '2.2.x'
Closes gh-21528
2020-05-20 14:38:09 -07:00
Madhura Bhave 808cb98b98 Merge branch '2.1.x' into 2.2.x
Closes gh-21527
2020-05-20 14:35:27 -07:00
Madhura Bhave 7d197e6469 Don't add waiting-for-triage label for issues created by CI automation
Closes gh-21282
2020-05-20 14:32:48 -07:00
Madhura Bhave d4f3b34bc6 Merge branch '2.2.x'
Closes gh-20982
2020-04-15 16:34:07 -07:00
Madhura Bhave a8bd62501d Merge branch '2.1.x' into 2.2.x
Closes gh-20981
2020-04-15 16:33:09 -07:00
Madhura Bhave fd14c4e72a Switch docker upgrade script to submit issue rather than PR
Closes gh-20976
2020-04-15 16:31:49 -07:00
Madhura Bhave 36fd2ed249 Merge branch '2.2.x'
Closes gh-20863
2020-04-06 19:10:27 -07:00
Madhura Bhave 41f26d3e23 Merge branch '2.1.x' into 2.2.x
Closes gh-20862
2020-04-06 19:09:07 -07:00
Madhura Bhave 1a3df294d0 Prevent duplication of issues created by CI automation
This is done by checking for existing issues only in the milestone
corresponding to the current branch. For issues, the milestone is assigned
at the time of issue creation. For PRs, since the branch is different the
milestone can be derived from that while triaging the issue.

Closes gh-20680
2020-04-06 19:05:26 -07:00
Madhura Bhave 053e531f3a Merge branch '2.2.x'
Closes gh-20802
2020-04-01 18:35:47 -07:00
Madhura Bhave d1ef19615c Merge branch '2.1.x' into 2.2.x
Closes gh-20801
2020-04-01 18:35:10 -07:00
dreis2211 0ee6108427 Harmonize issue title for auto-created Docker upgrade issues
See gh-20793
2020-04-01 18:31:50 -07:00
Madhura Bhave a4025f3ccb Merge branch '2.2.x' 2020-03-31 14:00:21 -07:00
Madhura Bhave 60311af19f Merge branch '2.1.x' into 2.2.x 2020-03-31 14:00:03 -07:00
Madhura Bhave 1ea8c7b55d Fix case when pull request already exists
If a PR with the given title exists, we clone the existing PR branch so
that it doesn't get overridden by master.

See gh-20530
2020-03-31 13:54:37 -07:00
Madhura Bhave 71f7bd6ce6 Merge branch '2.2.x' 2020-03-31 11:57:16 -07:00
Madhura Bhave 77e425529d Merge branch '2.1.x' into 2.2.x 2020-03-31 11:55:47 -07:00
Madhura Bhave b3906e0466 Fix no such directory error on CI
See gh-20530
2020-03-31 11:54:20 -07:00
Madhura Bhave 9ebad0dfe5 Merge branch '2.2.x'
Closes gh-20753
2020-03-31 10:48:13 -07:00
Madhura Bhave 41255ca8d1 Merge branch '2.1.x' into 2.2.x
Closes gh-20752
2020-03-31 10:47:21 -07:00
Madhura Bhave e174231d15 Polish "Automate Docker update in CI"
See gh-20530
2020-03-31 10:39:42 -07:00
dreis2211 4752d7e91a Automate Docker updates in CI
See gh-20530
2020-03-31 10:39:34 -07:00
Stephane Nicoll 9766127f9a Merge branch '2.2.x'
Closes gh-20599
2020-03-21 14:02:09 +01:00
Stephane Nicoll 1bf7d25141 Remove Java 13 CI job
Closes gh-20578
2020-03-21 13:56:41 +01:00
Andy Wilkinson c3b04d7376 Merge branch '2.2.x'
Closes gh-20588
2020-03-20 10:55:27 +00:00
Andy Wilkinson 242e6b9974 Merge branch '2.1.x' into 2.2.x
Closes gh-20587
2020-03-20 10:54:43 +00:00
dreis2211 e6abcacf1a Only suggest Ubuntu versions available in the Docker registry
See gh-20577
2020-03-20 10:53:40 +00:00
dreis2211 0e796479dc Add Java 14 CI
Closes gh-20576
2020-03-19 14:54:33 +01:00
Stephane Nicoll 8d3ab1cc7d Polish "Add Java 14 CI"
See gh-20413
2020-03-18 14:33:01 +01:00
dreis2211 f0e57ed688 Add Java 14 CI
See gh-20413
2020-03-18 14:29:55 +01:00
Stephane Nicoll 1a314a1dec Merge branch '2.2.x'
Closes gh-20359
2020-03-01 11:19:32 -05:00
Stephane Nicoll 8c6dc8bf22 Merge branch '2.1.x' into 2.2.x
Closes gh-20358
2020-03-01 11:18:41 -05:00
dreis2211 4136300235 Automate Ubuntu base image upgrade
See gh-20355
2020-03-01 11:14:37 -05:00
Andy Wilkinson eb08ad02b9 Correct name of the file added to git after version change in staging 2020-01-23 16:57:13 +00:00
Andy Wilkinson 518e14a7bf Use system property rather than --quiet to suppress welcome message
Closes gh-19630
2020-01-12 16:41:02 +00:00
Andy Wilkinson bda3cedf10 Suppress Gradle's welcome message in CI builds
Closes gh-19630
2020-01-12 11:30:35 +00:00
Andy Wilkinson ce99db1902 Port the build to Gradle
Closes gh-19609
Closes gh-19608
2020-01-10 14:15:35 +00:00
Stephane Nicoll 208b2d3b30 Merge branch '2.1.x' into 2.2.x
Closes gh-19175
2019-11-28 10:31:23 +01:00
dreis2211 9a59d5f9fc Use AdoptOpenJDK API V3 when detecting JDK updates
See gh-19168
2019-11-28 10:24:02 +01:00
Madhura Bhave 28448340ce Merge branch '2.1.x' into 2.2.x
Closes gh-19061
2019-11-19 12:21:25 -08:00
Madhura Bhave 656f73f0c5 Parse version from build.json for release notes generation
Fixes gh-18908
2019-11-19 12:19:55 -08:00
Stephane Nicoll 8e3459fe4f Merge branch '2.1.x'
Closes gh-18851
2019-11-04 10:05:39 +01:00
dreis2211 f9cb7c6220 Drop JDK 12-based CI
See gh-18848
2019-11-04 10:00:42 +01:00
Madhura Bhave 2369639b4b Merge branch '2.1.x'
Closes gh-18840
2019-11-01 16:15:42 -07:00
Madhura Bhave 2d604beb47 Migrate release scripts to java
Closes gh-17261
2019-11-01 16:14:28 -07:00
Stephane Nicoll 9f1243129c Switch JDK 13 url check to release 2019-09-19 08:52:12 +02:00
dreis2211 9a162f9899 Detect JDK 13 updates
See gh-18122
2019-09-05 19:30:34 +02:00
Phillip Webb 040712168e Cache embedmongo on CI 2019-08-01 13:06:17 +01:00
Madhura Bhave 2964286275 Merge branch '2.1.x' 2019-07-30 14:02:09 -07:00
Madhura Bhave d906f96258 Always get latest snapshots for windows build 2019-07-30 14:01:15 -07:00
Madhura Bhave 9bd1187f40 Merge branch '2.1.x'
Closes gh-17628
2019-07-24 13:39:45 -07:00
Madhura Bhave bb85612723 Add concourse pipeline for Windows
Closes gh-15553
2019-07-24 13:25:54 -07:00
Madhura Bhave d9466f5659 Move smoke tests under spring-boot-test
See gh-17393
2019-07-02 15:55:58 -07:00
Madhura Bhave c9d6617713 Fix CI scripts following samples rename
See gh-17197
2019-06-25 16:59:58 -07:00
Madhura Bhave d5c0009c6e Rename samples to smoke tests
Closes gh-17197
2019-06-25 11:32:56 -07:00
Phillip Webb 0233cc3c94 Merge branch '2.1.x' 2019-06-18 21:05:32 -07:00
Phillip Webb 6e5ba8077a Fix sync-to-maven-central script 2019-06-18 21:04:54 -07:00
Phillip Webb 527a3b5395 Merge branch '2.1.x' 2019-06-18 20:41:53 -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 1513ed1b09 Merge branch '2.1.x' 2019-06-18 09:50:34 -07:00
Phillip Webb de037f55dc Fix detect JDK CI script 2019-06-18 09:50:05 -07:00
Phillip Webb 840f0d7a9f Merge branch '2.1.x'
Closes gh-17210
2019-06-16 21:05:41 -07:00
Phillip Webb 4894affbb6 Allow maven central sync to run several times
Update the "sync to maven central" CI job so that it can be rerun if
necessary. We now first check if artifacts are already published before
triggering the sync from Bintray.

Closes gh-16866
2019-06-16 21:00:31 -07:00
Phillip Webb 7ed0faa574 Merge branch '2.1.x'
Closes gh-17088
2019-06-07 21:03:13 -07:00
Phillip Webb 80e5762457 Merge branch '2.0.x' into 2.1.x
Closes gh-17087
2019-06-07 20:59:29 -07:00
Phillip Webb da1d4b8c3b Run root nohttp checkstyle on CI
Closes gh-17081
2019-06-07 20:57:02 -07:00
Phillip Webb db75347eb6 Merge branch '2.1.x' 2019-06-04 14:41:20 -07:00
Phillip Webb 0ef331018e Merge branch '2.0.x' into 2.1.x 2019-06-04 14:30:52 -07:00
Brian Clozel 81d3945922 Reinstate SNAPSHOT updates in integration tests
Fixes gh-16453
2019-04-04 09:57:06 +02: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
Stephane Nicoll 274e9ede81 Set up CI for JDK 12
Closes gh-16212
2019-03-25 16:13:44 +01:00
Madhura Bhave 10f0bcf992 Merge branch '2.0.x' into 2.1.x 2019-03-22 14:25:00 -07:00
Madhura Bhave 3e82e7aa7e Publish release notes after central sync for releases
Closes gh-15713
2019-03-22 14:23:13 -07:00
Madhura Bhave ddfcc1e28f Change label for automatic jdk upgrade issues
Closes gh-15825
2019-02-13 15:35:10 -08:00
Madhura Bhave edc1a4fb86 Automate JDK CI upgrades using AdoptOpenJDK API
An issue is created if a new release is detected.

Closes gh-15164
2018-12-10 19:20:11 -08:00
Phillip Webb 7cc1e0e4d6 Fix release notes generation script
Script was accidentally trying to import `common.sh`.

Closes gh-15349
2018-11-29 21:19:49 -08: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
Johnny Lim 7eb93a0126 Remove unnecessary echo in release notes script
Closes gh-15169
2018-11-13 17:06:00 -08:00
Phillip Webb 506fbd803b Use release notes generator docker image in CI
Closes gh-15160
2018-11-13 10:15:50 -08:00
Madhura Bhave f145e81354 Use github release resource for publishing release notes
This commit also marks a release as pre-release for milestones and RCs

Closes gh-14908
Closes gh-14875
2018-10-19 16:17:11 -07:00
Madhura Bhave 3a7101233f Fix publish release notes script
See gh-14857
2018-10-16 14:22:48 -07:00
Madhura Bhave 54966bea6f Use the entire version for the tag name
This commit also restores the `sed` call to sanitize the request body.

Fixes gh-14857
2018-10-16 11:51:54 -07:00
Madhura Bhave ef655ce949 Update sonatype credentials in sync-to-maven-central job
Closes gh-14454
2018-10-15 15:15:02 -07: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
Hanope 31a5bfdcba Simplify escaping of newline characters when publishing release notes
Closes gh-14620
2018-10-05 10:37:26 +02:00
Madhura Bhave 579722bfbd Fix braces in publish release notes script 2018-09-25 12:30:27 -04:00
Phillip Webb 96f5c8280c Make release notes script executable 2018-09-24 19:54:13 -04:00
Madhura Bhave ea3d9b4ead Update publish release notes script
The milestone name and tag name can be different if the release type
is ".RELEASE".
2018-09-24 11:11:58 -04:00
Madhura Bhave 7d04c51294 Automate creation of releases notes on GitHub
Closes gh-12552
2018-09-20 16:36:43 -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 1758d8c106 Remove email resource from pipeline
Closes gh-13307
2018-05-30 19:05:34 -07:00
Madhura Bhave 04d6bc5119 Update email script to find status till one is found
The determine-email-body script would only look at the previous commit's
status to determine whether to send a success email or not. If no status
was found (this happens when commits are pushed close to each other and CI
only runs the latest one), it would send a successful email even if the last
CI run was successful.
2018-05-02 13:33:14 -07:00
Madhura Bhave 2e836ac74b Use token to prevent rate limiting by Github API 2018-04-19 10:39:52 -07:00
Madhura Bhave df7ddeefc4 Polish promotion script
See gh-12292
2018-04-13 11:57:56 -07:00
Madhura Bhave 62a8f60bb3 Second attempt at fixing email notification script 2018-04-11 19:34:44 -07:00
Madhura Bhave 68a9aa56f0 Fix determine email body script 2018-04-11 18:09:08 -07:00
Madhura Bhave 8d4e5cbfb7 No need to create output directory 2018-04-11 14:13:11 -07:00
Madhura Bhave ee8188a19c Send email if build is successful after failure
See gh-10790
2018-04-11 13:41:52 -07:00
Madhura Bhave fa4a3ab308 Don't force snapshot update for integration tests
See if that fixes intermittent NoClassDefFoundError.

See gh-12689
2018-04-03 12:04:20 -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
Madhura Bhave 589d4f9cdf Fix concourse scripts to get next release version
Fixes gh-12239
2018-02-27 11:06:00 -08:00
Phillip Webb 2f834b377c Fix variable names used in concourse stage script 2018-01-30 14:31:24 -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 4f0a41d80e Fix pipeline stage script 2017-10-11 15:22:46 -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