Commit Graph

182 Commits

Author SHA1 Message Date
Steve Riesenberg 98fbc7a88f
Calculate release day from the first Monday
Fixes an issue where the first day of the month is (for example) a
Tuesday causing the 2nd Tuesday and 3rd Monday to be over a week apart.

Issue gh-10458
2022-06-09 15:30:37 -05:00
Steve Riesenberg 0ec64c0843 Polish GitHubMilestonePlugin 2022-06-03 15:07:42 -05:00
Steve Riesenberg 46723a601c Add workflow step for scheduling the next milestone
This step introduces the concept of a release train to determine the appropriate release dates and schedules milestones as needed. It uses the following rules:

- If the current SNAPSHOT version is a minor release (patchVersion == 0), checks to see if a GA release exists. If not, a release train is scheduled as follows:
  - Finds the next available release train starting month (including this month), either January or July.
  - Schedules a release train with M1, M2, M3, RC1 and GA versions on either January/February/March/April/May or July/August/September/October/November
- If the current SNAPSHOT version is a patch release (patchVersion != 0), checks to see if a GA release exists. If not, an individual milestone is scheduled on the next even month whose release day is in the future (can include this month).
- In either case, the release day used to schedule the release is based on the configured weekOfMonth (1-4) and dayOfWeek (1-5), e.g. 3rd Monday of the month (3, 1).

If a milestone already exists, nothing is created. Once created, milestone due dates can be updated manually as desired.

Closes gh-10458
2022-06-03 15:07:42 -05:00
Steve Riesenberg ab3b6ae95f Add scheduleNextRelease gradle task 2022-06-03 15:07:42 -05:00
Steve Riesenberg 1295b793b3
Polish gh-11183
Fixed typo in plugin for setting workflowId and added missing repository() closure
2022-06-03 11:56:08 -05:00
Steve Riesenberg 2c93a92afa Add dispatchGitHubWorkflow gradle task 2022-06-03 10:19:02 -05:00
Steve Riesenberg 8a030b7f46
Update junit-bom to 5.9.0-M1
Closes gh-11252
Closes gh-11253
2022-05-16 10:40:00 -05:00
Steve Riesenberg 93fc2bba99
Update io.projectreactor to 2020.0.19
Closes gh-11242
Closes gh-11243
2022-05-16 10:39:16 -05:00
Marcus Da Coregio cddffa46b4 Add initScripts and projectProperties to IncludeCheckRemotePlugin
Issue gh-10344
2022-05-11 12:32:16 -03:00
Rob Winch 451873fdb7 RepositoryRef Serializable
This is necessary to support caching of tasks that use RepsitoryRef as
inputs or outputs.

Issue gh-11158
2022-04-27 19:07:48 +02:00
Rob Winch 57cf0bf3bb GitHubMilestoneNextVersionDueTodayTask Outputs to File
Rather than having the task fail if the milestone is not due today, it now
outputs to a file true or false. This allows the pipeline to determine
if it should continue or not without causing a failure.

Issue gh-11158
2022-04-27 19:07:21 +02:00
Rob Winch 78f059e446 GitHubMilestoneHasNoOpenIssuesTask outputs to a file
Rather than having the task fail if the milestone is not due today, it now
outputs to a file true or false. This allows the pipeline to determine
if it should continue or not without causing a failure.

Closes gh-11158
2022-04-27 19:06:53 +02:00
Simone Giannino c719a8e4d4 Update saganCreateRelease property referenceDocUrl
- Updated saganCreateRelease task with the new referenceDocUrl for reference documentation

Closes gh-11016
2022-04-01 13:14:56 -03:00
Eleftheria Stein 992b8c38ac Update antora on next development version release
Move commit from gradle task to workflow. Update antora.yml after project version update and before commit.

Closes gh-11021
2022-03-29 12:28:37 +02:00
Eleftheria Stein 55c956ee68 Add task to update version in antora.yml
This task updates the docs version based on the version in gradle.properties

Closes gh-11020
2022-03-28 18:11:20 +02:00
Steve Riesenberg 3e8ed5ea06
Update io.projectreactor to 2020.0.17
Closes gh-10986
2022-03-18 18:11:44 -05:00
Eleftheria Stein f12e5cab3c Add gradle task for updating to next development version
Issue gh-10461
2022-03-18 12:10:21 -05:00
Eleftheria Stein 6f35364c5d Default next milestone when checking for open issues
Closes gh-10921
2022-03-01 15:38:03 +01:00
Eleftheria Stein d644f32baa Add gradle task to update project version
Closes gh-10455
2022-03-01 09:48:35 +01:00
Eleftheria Stein f8675343e6 Extract IO Utils in buildSrc
Issue gh-10455
2022-03-01 09:48:35 +01:00
Eleftheria Stein 1a1ef42094 Add workflow that triggers release on due date
Add 2 Gradle tasks, one that calculates the next release milestone based on the current version and one that checks if it is due today.

Issue gh-10451
Issue gh-10455
2022-02-03 10:11:46 +01:00
Rob Winch 122f7b52bd Add CheckProhibitedDependenciesLifecyclePlugin
Issue gh-10501
2022-01-19 14:39:54 -06:00
Rob Winch fbc685437e Add CheckClasspathForProhibitedDependencies
Issues gh-10499 gh-10501
2022-01-19 14:39:51 -06:00
Rob Winch dffa0ed430 CheckAntoraVersionTask has optional properties 2022-01-18 14:29:14 -06:00
Rob Winch ade0872d09 Verify Antora display_versionsaving
Issue gh-10765
2022-01-18 14:10:39 -06:00
Marcus Da Coregio de72e01e03 Update junit-bom to 5.8.2
Closes gh-10754
2022-01-17 10:51:09 -03:00
Marcus Da Coregio 201f662057 Update io.projectreactor to 2020.0.15
Closes gh-10743
2022-01-17 10:50:42 -03:00
Marcus Da Coregio 9dd9e6bd61 Rename integrationTestCompile/Runtime configurations
The kotlin-gradle-plugin is changing some configuration's properties from configurations that has the same prefix as the sourceSet.
It is enforcing the canBeResolved property to false. See https://youtrack.jetbrains.com/issue/KT-50748.
This commits changes the suffix to compile -> compileClasspath, runtime -> runtimeClasspath to workaround this issue.

Issue gh-10350
2022-01-13 08:44:57 -03:00
Josh Cummings 0ae41ff873 Update Structure101 binaries link
Closes gh-10697
2022-01-11 10:04:08 -07:00
Josh Cummings 6706512b3a Pull most recent Structure101 version
Closes gh-10696
2022-01-11 10:03:57 -07:00
Rob Winch 5598a6a9e1 Update to org.jfrog.buildinfo:build-info-extractor-gradle:4.26.1 2022-01-07 12:44:55 -06:00
Rob Winch d5483f7cbb Antora prerelease: true for milestone and rc 2022-01-05 09:59:18 -06:00
Rob Winch 9b6c7af526 Add CheckAntoraVersionPlugin 2022-01-04 15:33:24 -06:00
Steve Riesenberg ad907457ee Fix inconsistency in hasProperty check 2021-12-22 10:24:18 -06:00
Steve Riesenberg 80e39e9343 Add GitHubReleasePlugin with createGitHubRelease task
Closes gh-10456
Closes gh-10457
2021-12-22 10:24:18 -06:00
Lars Grefer 0541341201 Remove usages of Gradle's jcenter() repository
Closes gh-10253
2021-11-22 08:42:40 -03:00
Lars Grefer 5c012dc7eb Fix Gradle Deprecation Warnings 2021-11-22 08:42:40 -03:00
Marcus Da Coregio b83693e9c9 Update to Gradle 7.3
Closes gh-10480
2021-11-10 11:05:18 -03:00
Marcus Da Coregio 34e77cb3ca Update Structure101 version 2021-11-01 09:02:43 -03:00
Marcus Da Coregio db60df2f9c Update to Spring Framework 6.0
Issue gh-10360
2021-11-01 09:02:42 -03:00
Marcus Da Coregio 010f719344 Upgrade to JDK 17
Closes gh-10343
2021-11-01 09:02:42 -03:00
Josh Cummings d779cd1d48 Support Structure101 License ID
Closes gh-10443
2021-10-28 13:26:02 -06:00
Rob Winch 1569ae2b75 Update junit-bom to 5.8.1
Closes gh-10400
2021-10-18 21:04:51 -05:00
Rob Winch 5f8ded6b5f Update io.projectreactor to 2020.0.12
Closes gh-10391
2021-10-18 21:03:12 -05:00
Marcus Da Coregio 02b2fcc6f0 Restore ManagementConfigurationPlugin
Issue gh-9615
2021-10-05 11:23:29 -03:00
Marcus Da Coregio e2e93887af Update JFrog Build Info plugin
Issue gh-9615
2021-10-04 16:01:40 -03:00
Marcus Da Coregio d2e5f2ae0d Update Gradle to 7.2
Closes gh-9615
2021-10-04 15:19:40 -03:00
Josh Cummings 6978f51f19 Structure101 Build Plugin
Issue gh-6236
2021-09-27 14:56:03 -06:00
Rob Winch be9ff16583 Remove Asciidoctor from the build in favor of Antora 2021-09-23 15:50:14 -05:00
Rob Winch f736d4dd76 Update org.mockito to 3.12.4
Closes gh-10296
2021-09-17 16:40:58 -05:00