Commit Graph

60 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
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
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
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
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
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
Marcus Da Coregio
34e77cb3ca Update Structure101 version 2021-11-01 09:02:43 -03:00
Josh Cummings
d779cd1d48 Support Structure101 License ID
Closes gh-10443
2021-10-28 13:26:02 -06: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
2765cd58f1 Exclude rc without versions from dependencyUpdates 2021-08-16 14:18:54 -05:00
Rob Winch
05dd69395d Delay until PublishAllJavaComponentsPlugin 2021-05-17 23:53:01 -05:00
Rob Winch
b750f3b86c copyproperties for bom plugin 2021-05-17 22:22:55 -05:00
Rob Winch
b0f661f432 Revert "Map optional dependencies to Maven"
This reverts commit 7dc34ccef7.
2021-05-17 22:17:52 -05:00
Rob Winch
7dc34ccef7 Map optional dependencies to Maven 2021-05-17 20:44:12 -05:00
Rob Winch
b2d14be18e Revert "versionMapping"
This reverts commit 834a1fca0d.
2021-05-17 17:50:08 -05:00
Rob Winch
834a1fca0d versionMapping 2021-05-17 17:50:02 -05:00
Rob Winch
daf37942c5 Fix maven.from 2021-05-17 17:49:37 -05:00
Rob Winch
928c855a7d polish publish 2021-05-17 16:31:13 -05:00
Rob Winch
3b77986e85 apply publishplugin 2021-05-17 16:21:07 -05:00
Rob Winch
096a6586e7 fix publish url 2021-05-17 16:20:54 -05:00
Rob Winch
304636520d buildSrc to publish 2021-05-17 14:00:56 -05:00
Rob Winch
4e8b7dfb12 add minorVersionBump
Closes gh-9709
2021-05-03 14:36:47 -05:00
Rob Winch
8c11853eaf Add generateChangelog
Closes gh-9704
2021-04-30 16:10:08 -05:00
Rob Winch
84d9629599 Add gitHubCheckMilestoneHasNoOpenIssues
Closes gh-9693
2021-04-29 16:15:02 -05:00
Rob Winch
23eee9aa03 Remove unused ratelimit code 2021-04-29 15:43:57 -05:00
Rob Winch
006b9b9607 master->main
Closes gh-9683
2021-04-26 16:55:43 -05:00
Rob Winch
1a082357d3 Add sagan(Create|Delete)Release
Closes gh-9577
2021-04-08 17:56:21 -05:00
Rob Winch
7cc8dac37d Update spring-doc-resources to 0.2.5
Closes gh-9552
2021-04-05 22:23:59 -05:00