Commit Graph

195 Commits

Author SHA1 Message Date
Marcus Da Coregio 5e4f1ba211 Merge branch '5.8.x'
Closes gh-11826
2022-09-16 10:19:32 -03:00
Marcus Da Coregio b6a8c10d05 Merge branch '5.6.x' into 5.7.x
Closes gh-11824
2022-09-16 10:17:21 -03:00
Marcus Da Coregio 7756247c3a Simplify checkSamples task
Closes gh-11814
2022-09-16 09:36:12 -03:00
Marcus Da Coregio 00584327bd Merge branch '5.8.x'
Closes gh-11769
2022-08-30 11:01:15 -03:00
Marcus Da Coregio db95f6d5c5 Merge branch '5.6.x' into 5.7.x
Closes gh-11767
2022-08-30 10:54:50 -03:00
Marcus Da Coregio 40abf87ae6 Add buildScan to checkRemote
Closes gh-11766
2022-08-30 09:11:08 -03:00
Rob Winch f33d7253b6 GitHubMilestoneApiTests due_on Uses LocalDate
`GitHubMilestoneApiTests` uses `Instant.now()` for `due_on`. Since
`Instant.now()` is UTC time based,
`isMilestoneDueTodayWhenDueTodayThenTrue` fails when the computer that runs
the test is not the same day as it is in UTC time.

To fix it, `due_on` should be set to an `Instant` based upon the timezone
of the current computer.

Closes gh-11706
2022-08-15 13:04:29 -05:00
Rob Winch d8ae2c8763 GitHubMilestoneApiTests due_on Uses LocalDate
`GitHubMilestoneApiTests` uses `Instant.now()` for `due_on`. Since
`Instant.now()` is UTC time based,
`isMilestoneDueTodayWhenDueTodayThenTrue` fails when the computer that runs
the test is not the same day as it is in UTC time.

To fix it, `due_on` should be set to an `Instant` based upon the timezone
of the current computer.

Closes gh-11706
2022-08-15 13:03:10 -05:00
Rob Winch c7b39eed58 GitHubMilestoneApiTests due_on Uses LocalDate
`GitHubMilestoneApiTests` uses `Instant.now()` for `due_on`. Since
`Instant.now()` is UTC time based,
`isMilestoneDueTodayWhenDueTodayThenTrue` fails when the computer that runs
the test is not the same day as it is in UTC time.

To fix it, `due_on` should be set to an `Instant` based upon the timezone
of the current computer.

Closes gh-11706
2022-08-15 13:02:32 -05:00
Rob Winch 7a860e1568 Fix Snapshot Sources/Javadoc
This commit merges a workaround to an issue in JFrog's Gradle plugin
which causes SNAPSHOT javadoc and sources to become out of sync and thus
prevents users from being able to download either.

Closes gh-10602
2022-07-26 16:26:31 -05:00
Rob Winch ad9e737bf2 Fix Snapshot Sources/Javadoc
This commit merges a workaround to an issue in JFrog's Gradle plugin
which causes SNAPSHOT javadoc and sources to become out of sync and thus
prevents users from being able to download either.

Closes gh-10602
2022-07-26 16:25:52 -05:00
Rob Winch b6258fe1f9 Apply ArtifactoryPlugin in RootProjectPlugin
Issue gh-10602
2022-07-26 15:42:51 -05:00
Rob Winch 8aa6fbfed2 ArtifactoryPlugin only apply default publications for MavenPublishPlugin
Issue gh-10602
2022-07-26 15:42:51 -05:00
Steve Riesenberg 148756076c
Backport release automation and github actions
Closes gh-11501
2022-07-13 15:51:25 -05:00
Steve Riesenberg 6f321a27c4
Fix inconsistency in hasProperty check 2022-07-13 15:51:25 -05:00
Steve Riesenberg 539443b4be
Add GitHubReleasePlugin with createGitHubRelease task
Issue gh-10456
Issue gh-10457
2022-07-13 15:51:24 -05:00
Steve Riesenberg d76c321f8c
Backport release automation and github actions
Closes gh-11500
2022-07-13 15:17:03 -05:00
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
Marcus Da Coregio 330f0f050d Add initScripts and projectProperties to IncludeCheckRemotePlugin
Issue gh-10344
2022-05-11 16:13:34 -03:00
Marcus Da Coregio 34f280a5a3 Add initScripts and projectProperties to IncludeCheckRemotePlugin
Issue gh-10344
2022-05-11 16:13:07 -03: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
Simone Giannino e4a321511a Update saganCreateRelease property referenceDocUrl
- Updated saganCreateRelease task with the new referenceDocUrl for reference documentation

Closes gh-11016
2022-04-01 13:08:18 -03:00
Simone Giannino ea373645e5 Update saganCreateRelease property referenceDocUrl
- Updated saganCreateRelease task with the new referenceDocUrl for reference documentation

Closes gh-11016
2022-04-01 13:07:32 -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
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 c67ee6f2a8 javax.servlet:javax.servlet-api -> jakarta.servlet:jakarta.servlet-api
Issue gh-10501
2022-01-19 15:32:12 -06:00
Rob Winch aa06088077 Add CheckProhibitedDependenciesLifecyclePlugin
Issue gh-10501
2022-01-19 15:30:34 -06:00
Rob Winch 2a60776c8a Add CheckClasspathForProhibitedDependencies
Issues gh-10499 gh-10501
2022-01-19 15:30:34 -06: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 8f64bb6c8c javax.servlet:javax.servlet-api -> jakarta.servlet:jakarta.servlet-api
Issue gh-10501
2022-01-19 14:33:53 -06:00
Rob Winch 72dd4e738b Add CheckProhibitedDependenciesLifecyclePlugin
Issue gh-10501
2022-01-19 14:32:55 -06:00
Rob Winch d146bcb7fc Add CheckClasspathForProhibitedDependencies
Issues gh-10499 gh-10501
2022-01-19 14:32:34 -06:00
Rob Winch f411ecada2 CheckAntoraVersionTask has optional properties 2022-01-18 14:29:39 -06:00
Rob Winch c8713b1d91 CheckAntoraVersionTask has optional properties 2022-01-18 14:29:29 -06:00
Rob Winch dffa0ed430 CheckAntoraVersionTask has optional properties 2022-01-18 14:29:14 -06:00