Commit Graph

59 Commits

Author SHA1 Message Date
Mark Paluch
030035cd4f After release cleanups.
See #4954
2025-05-16 11:31:36 +02:00
Mark Paluch
fee8485988 Remove MongoDB 4.x driver compatibility stage.
MongoDB 4.x doesn't ship with Vector types.

See: #4529
See: #4706
2025-02-13 16:15:05 +01:00
Christoph Strobl
202b00419d Remove MongoDB 4.4 and 5.x test stages.
Stop testing against MongoDB server versions that are EOL already.

MongoDB 4.4: EOL Feb. 2024
MongoDB 5.0: EOL Oct. 2024

Original pull request: #4893
Closes #4529
2025-02-13 14:46:24 +01:00
Mark Paluch
315b91048e Fix Java 23 Docker build paths.
See #4817
2024-11-15 15:41:30 +01:00
Mark Paluch
418125dc60 Upgrade MongoDB 8 build to Java.next.
Closes #4828
2024-11-07 11:01:38 +01:00
Mark Paluch
2dc8ffce19 Use Docker in Docker CI setup.
See #4788
2024-10-09 15:19:14 +02:00
Mark Paluch
7c255ec018 Polishing.
Update Develocity system property names.

See #4785
2024-09-27 09:57:12 +02:00
Mark Paluch
5f31304cc9 Polishing.
Tweak wording. Remove unused Java 21/Mongo 6 Dockerfile. Move start-server code into shellfile. Remove 7.0/Java 17 test item in favor of Java 21 and old driver variants.

See #4785
Original pull request: #4796
2024-09-27 09:46:19 +02:00
Christoph Strobl
7fd7fd4147 Update MongoDB Server compatibility matrix.
Closes #4785
Original pull request: #4796
2024-09-27 09:46:19 +02:00
Eric Haag
1dccb98129 Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #4752
2024-08-08 15:00:48 +02:00
Mark Paluch
4c04aabbbf Remove Slack notification hook.
See #4731
2024-06-20 09:57:56 +02:00
Mark Paluch
30b3f7b23f Switch to Broadcom docker proxy.
Closes #4731
2024-06-20 09:57:52 +02:00
Christoph Strobl
af6da0f67d Upgrade to MongoDB driver 5.0.
Closes: #4663
2024-03-18 11:50:48 +01:00
Mark Paluch
d53455166d Refine Artifactory build name.
See #4562
2024-01-31 15:22:16 +01:00
Mark Paluch
51e2e7e870 Polishing.
Reformat code. Add missing hints for reflective version detection.

Original pull request: #4624
See: #4578
2024-01-26 15:16:31 +01:00
Christoph Strobl
bce85c4419 Assert compatibility with MongoDB Driver 5.
We now are compatible with MongoDB driver versions 4 and 5. Driver versions can be interchanged and our adapter bridges changed methods via reflection. Usage of removed functionality is either ignored or fails with an exception.

Original pull request: #4624
Closes: #4578
2024-01-26 14:35:12 +01:00
Mark Paluch
b7eedad2f5 Introduce property for Jenkins user and Artifactory server details.
Closes #4570
2023-11-28 14:46:01 +01:00
Eric Haag
69285151a0 Connect build to ge.spring.io.
This change publishes a build scan to ge.spring.io for every local build from an authenticated Spring committer and for CI where appropriate access tokens are available. The build will not fail if publishing fails.

This change also allows the build to benefit from local and remote build caching, providing faster builds for all contributors.

Additionally, the project will have access to all features of Gradle Enterprise such as:

- Dashboards to view all historical build scans, along with performance trends over time
- Build failure analytics for enhanced investigation and diagnosis of build failures
- Test failure analytics to better understand trends and causes around slow, failing, and flaky tests

See #4528
2023-10-19 16:43:18 -05:00
Greg L. Turnquist
02c6d33f21 Polishing.
See #4532
2023-10-16 13:34:08 -05:00
Mark Paluch
f71a2e2dfe Update Java.next CI config.
See #4507
2023-10-13 08:30:02 +02:00
Christoph Strobl
e139a31dbd Reduce number of build pipeline steps.
Remove stage with MongoDB 6.0/Java 20 in favour of the newly introduced MongoDB 7.0/Java20 stage.

See: #4501
2023-09-13 11:47:53 +02:00
Julia
9058820f6f Add CI stage for MongoDB 7.0.x
Closes #4501
Original Pull Request: #4496
2023-09-13 11:32:16 +02:00
Greg L. Turnquist
5733a00f54 Test against Java 20 on CI.
See #4350.
2023-03-29 16:28:08 -05:00
Mark Paluch
2f9fc1618e Use mongosh instead of mongo CLI.
Switch from the deprecated command to its replacement.

See #4138
2022-08-17 12:56:26 +02:00
Mark Paluch
5f16aecd13 Assert compatibility with MongoDB 6.0.
Closes #4138
2022-08-17 10:42:57 +02:00
John Blum
84faff6bd4 Remove Docker Registry login.
Closes #4056.
2022-05-16 12:55:12 -07:00
Christoph Strobl
f197953480 Update build triggers.
See: #4005
2022-03-24 13:53:25 +01:00
Mark Paluch
05730ded1b Fix CI trigger.
Use correct Spring Data Commons version as build trigger.

See #3973
2022-03-15 14:38:54 +01:00
Mark Paluch
90b8ba7246 Polishing.
Extract docker credentials into properties file.
Use tabs for indentation instead of spaces.

See #3949
2022-02-16 13:36:39 +01:00
Greg L. Turnquist
28f262309c Use Harbor Proxy for containers.
Leverage internal infrastructure for pulling Docker container images. Reduces pressure on Docker Hub and reduces risk of hitting rate limits.

See #3954.
Related https://github.com/spring-projects/spring-data-build/issues/1630.
2022-02-07 10:59:50 -06:00
Mark Paluch
d0f2ca9efc Polishing.
Refine build script.

See #3949
2022-02-04 08:49:49 +01:00
Mark Paluch
e6c8ee037a Polishing.
Extract docker credentials into properties file.
Use tabs for indentation instead of spaces.

See #3949
2022-02-04 08:46:05 +01:00
Christoph Strobl
dcdf3a2365 Prepare Spring Data MongoDB 4.x branch.
Upgrade to data-commons 3.0 and Java 17 (still source level 16 due to asm).
Remove support for threeten, joda-time.
Transition to PersistentEntitiesFactoryBean from data-commons.
Update build to MongoDB 4.4 and 5 with Java17. Remove Java8 setup.
Fix javadoc tooling error on cdi 1 vs. 2 version mix.
Disabled internal package cycle analysis as this requires transition to ArchUnit.
2022-02-03 08:07:59 +01:00
Greg L. Turnquist
f62feac421 Externalize build properties.
By reading a properties file from an external location, it is possible to inject a consistent set of properties from Spring Data Build. This also supports repeatable builds.

Closes #3949.
2022-01-31 16:33:45 -06:00
Mark Paluch
dfbd1bded5 Polishing.
Run mvnw -version command in Artifactory build to display Java version.

See #3882
2022-01-17 13:55:53 +01:00
Christoph Strobl
9e2f6055a3 Refine CI job triggers.
See #3696
Original pull request: #3753.
2021-09-21 15:20:36 +02:00
Christoph Strobl
2f208d712c Update CI to cover MongoDB Server 5.0.
MongoDB has alpha releases in a slightly different location on their distribution server. And they use different keys for signing these alpha releases compared to the overall package listing.

Closes #3696
Original pull request: #3753.
2021-09-21 15:20:26 +02:00
Greg L. Turnquist
eec6cea507 Update CI to JDK 16.
See #3603.
2021-05-13 15:52:30 -05:00
Greg L. Turnquist
2edc29f758 Authenticate with artifactory.
See #3616.
2021-04-22 14:59:20 -05:00
Greg L. Turnquist
54f75e653b Migrate to main branch.
See #3616.
2021-04-16 12:27:26 -05:00
Mark Paluch
9d7473487f Upgrade to MongoDB 4.4 on CI.
Closes #3612.
2021-04-08 17:13:49 +02:00
Greg L. Turnquist
b7310fd1ae DATAMONGO-2665 - Use Docker hub credentials for all CI jobs, 2020-12-14 16:43:15 -06:00
Greg L. Turnquist
2d348be5b2 DATAMONGO-2629 - Use JDK 15 for next CI jobs. 2020-10-26 13:26:11 -05:00
Greg L. Turnquist
965a34efd3 DATAMONGO-2629 - Only test other versions for local changes on main branch. 2020-09-18 11:08:38 -05:00
Greg Turnquist
bf921cdbd7 DATAMONGO-2510 - Use JDK 14 for Java.NEXT CI testing. 2020-04-09 14:29:16 -05:00
Mark Paluch
46ab6b4c94 DATAMONGO-2481 - Polishing.
Migrate more tests to JUnit 5. Rearrange methods. Reduce method visibility according to JUnit 5 requirements.

Remove Java 11 build and only use Java 8 and 13.

Original pull request: #838.
2020-03-06 12:20:26 +01:00
Christoph Strobl
993018feb1 DATAMONGO-2461 - Efficient resource usage and ci related improvments.
- Give the server a little time to think on ci system.
- Reuse and Close MongoClients in tests.
- Use WriteConcern majority in setup.
- Use longer transaction timeout on server
- Use junit-pioneer to repeatable tests known to fail due to network errors.

Original pull request: #831.
2020-02-05 10:35:51 +01:00
Mark Paluch
c83929c2a3 DATAMONGO-2427 - Simplify docker setup.
Original pull request: #823.
2020-01-27 11:44:02 +01:00
Mark Paluch
f688cca400 DATAMONGO-2427 - Switch to MongoDB Driver 4.0.0-beta1.
Enable disabled tests. Adapt to ReactiveGridFS changes.

Use WriteConcern.MAJORITY in tests.

Original pull request: #823.
2020-01-27 11:43:52 +01:00
Mark Paluch
5f29bee6c9 DATAMONGO-2419 - Enable JDK 11+ builds. 2020-01-22 21:19:55 -06:00