438 Commits

Author SHA1 Message Date
spencergibb
32f8b78312 Updates to build jubilee projects 2023-11-03 12:19:09 -04:00
Marcin Grzejszczak
d44f06ee0d Breaking the exception cycle 2020-11-09 11:08:34 +01:00
Marcin Grzejszczak
e9d0c7502e Breaking the exception cycle 2020-11-09 10:49:18 +01:00
spencergibb
3d76f129d3 Updates wiki to to spring-cloud-release
Fixes https://github.com/spring-cloud/spring-cloud-release/issues/180
2020-10-08 11:07:59 -04:00
Marcin Grzejszczak
21154c07c9 Removed commented code 2020-08-04 19:30:48 +02:00
Marcin Grzejszczak
13091b0cf6 Removed the tasks related to updating project documentation repo 2020-08-04 19:25:17 +02:00
spencergibb
84a3d1111c temporarily removes updateWithVersions() call in generateReleaseTrainDocumentation() 2020-08-03 15:19:03 -04:00
spencergibb
96c2d18699 Ignores .sdkmanrc 2020-08-03 15:18:24 -04:00
Oleg Zhurakousky
afb2e43ed4 Polish cherry-picks from master 2020-07-31 16:08:11 +02:00
Oleg Zhurakousky
5ee85187bf Add additional logging for docs publishing 2020-07-31 16:00:43 +02:00
Oleg Zhurakousky
3f48643059 Add additional logging for docs publishing 2020-07-31 16:00:32 +02:00
Oleg Zhurakousky
e78521244e Polishing GH-195 - fix toString() methods to reflect change from plural to singular" 2020-07-31 16:00:23 +02:00
Oleg Zhurakousky
320a071f58 GH-195 Fix profile for publish/deploying docs
This change included changing the command name from plural to signular publish-docs-command(s)

Resolves #195
2020-07-31 16:00:00 +02:00
Marcin Grzejszczak
66383dd656 Changed the way release train docs and project docs are uploaded and generated 2020-06-10 10:18:45 +02:00
Marcin Grzejszczak
0e3a95f9aa Resolves branches for new calver 2020-05-21 12:20:53 +02:00
Spencer Gibb
66e4188a93 Add support for releaser.git.release-train-branch
This avoids guessing the branch
2020-04-16 14:08:00 -04:00
Spencer Gibb
833ec47795 Adds tests (some ignored) for new calver versioning
See gh-193
2020-04-16 13:03:07 -04:00
Spencer Gibb
3658fccdc3 Adds tests (some ignored) for new calver versioning 2020-04-16 12:49:20 -04:00
Spencer Gibb
bc9b7ac981 Adds tests for new calver versioning.
See gh-193 for failing 2020.0.0 (which is a GA release).
2020-04-16 12:24:46 -04:00
Spencer Gibb
6063671ed0 Removes workaround for 2020-1.M1 release train version 2020-04-16 12:24:05 -04:00
Spencer Gibb
2634db5b3d Temporarily support 2020-1.M1 release train version 2020-04-09 20:08:32 -04:00
Marcin Grzejszczak
6d0595d72a Don't throw an exception when project name not found in the list of fixed projects 2020-03-20 15:40:00 +01:00
Marcin Grzejszczak
2d77d2f2a4 Added a guard for non spring cloud projects docs update
fixes gh-177
2020-03-06 09:27:29 +01:00
Marcin Grzejszczak
731d68ef50 Updated exit codes and guarded against no projects to run
- exit code for build unstable resulted in batch being failed - migrated to completed build status and manually checks the execution result
- added a guard against no projects to run when marking the run post release tasks only option

Fixes gh-190, gh-191
2020-03-05 18:35:07 +01:00
Marcin Grzejszczak
50a4155d1c Fixes properties update for Gradle 2020-03-04 13:15:13 +01:00
Marcin Grzejszczak
9f32851fb7 Fixing the unnecessary artifact for stream 2020-03-03 18:34:27 +01:00
Oleg Zhurakousky
1a0fb5f204 Revert "fix #186 Use originalVersion as basis for NEXT_VERSION_MUSTACHE replacement"
This reverts commit e980b1f74e.
2020-03-03 15:39:07 +01:00
Simon Baslé
f5b38780e8 Reactor: Fix gh mention when commit has different author vs committer 2020-02-25 17:05:08 +01:00
Simon Baslé
c64fa4ff0a Reactor: Log commands in file, correctly compute changelog range
- Configured the `releaser.commands` logger to redirect to a file only
 - Made use of new tags listing features to find the perfect log range
 for the release notes task
2020-02-21 23:09:25 +01:00
Simon Baslé
4b01dbea64 fix #187 Add facilities to list and filter tags, find closest previous tag 2020-02-21 23:09:25 +01:00
Simon Baslé
e980b1f74e fix #186 Use originalVersion as basis for NEXT_VERSION_MUSTACHE replacement
Using `changedVersion` typically results in a .RELEASE suffix, which is undesired.
On the other hand `originalVersion` typically has a snapshot suffix.
2020-02-21 23:09:25 +01:00
Simon Baslé
ea76d81630 fix #185 Redirect commands stdout/stderr to releaser.commands logger
This allows configuration of that specific logger to append only to
eg. a File instead of polluting the main application log.
2020-02-21 23:09:25 +01:00
Marcin Grzejszczak
eb723b9157 Oleg Oleg Oleg 2020-02-13 14:58:51 +01:00
Marcin Grzejszczak
2551f9d6f6 THank you Oleg so much 2020-02-13 14:51:58 +01:00
Oleg Zhurakousky
52ef699a30 Wrapp additional sagan update elements in try/catch 2020-02-13 14:15:47 +01:00
Marcin Grzejszczak
d66fa96735 Extending the stream projects 2020-02-13 14:08:55 +01:00
Oleg Zhurakousky
e7b3c05824 Disable further operation if updateSaganForNonSnapshot fails 2020-02-13 13:56:49 +01:00
Oleg Zhurakousky
1b7981c113 Mark Sagan unstable in case of exception
Ensures that any exceptions thrown during Sagan update does not halt the release
2020-02-13 13:49:12 +01:00
Marcin Grzejszczak
186a1fc358 Added same bom parsing logic for stream as it is for cloud 2020-02-13 08:35:24 +01:00
Marcin Grzejszczak
9c4c2dc517 Improved the version comparison algorithm 2020-02-12 17:05:13 +01:00
Marcin Grzejszczak
aadd5baaf0 Uses releaser properties of a given project for certain tasks 2020-02-03 16:32:39 +01:00
Marcin Grzejszczak
7497446dfe Should fix issues ith post processing 2020-02-03 09:42:13 +01:00
Marcin Grzejszczak
987e800213 Store release result only for commands that need it 2020-01-23 18:21:52 +01:00
Simon Baslé
353cbc1ab7 Allow live output + output capture thanks to zt-exec (#184) 2020-01-23 18:13:55 +01:00
Spencer Gibb
0d5460e051 Add ProcessBuilder.inheritIO() back 2020-01-23 11:38:08 -05:00
Marcin Grzejszczak
6251019073 Read custom config for a single project 2020-01-23 16:17:20 +01:00
Spencer Gibb
93598690ab Splits BuildReportHandler from ExecutionResultHandler 2020-01-22 14:59:45 -05:00
Marcin Grzejszczak
99dd179e13 Fixed the broken compilation 2020-01-22 15:53:27 +01:00
Simon Baslé
188c079bd6 Improvements to common build and new Reactor task (merge with rebase) (#183)
* Reactor: For reference, mention additional inputs in app properties

* Polish: fix javadoc copypasta and mark potential problem in GitRepo

* Common: Expose method for git log (list revisions between 2 refs)

* Common: Only post-process RtGithub beans into CachingGithub

* Common: Make Sagan noOp if property is not explicitly set

* Common: Fix Process command executor outputting to app's stdout

This prevents the command executor from capturing the command's output.

* Common: Fix findTagOrBranchHeadRevision and log

In findTag... we need to compare name using refs/tags/
and refs/heads/ prefixes.

In log we need to peel symbolic tags to get the right
ObjectId. Optional.map did seem to cause issues.

* Common: Add isMergeCommit to SimpleCommit

* Common: Add method to find tag SHA by name

* Common: Polish how exit codes are generated and used

* Common: Add BuildReportHandler to show report earlier than last step

This commit also filters out tasks that haven't run yet, avoiding
NPE due to endTime being null.

* Reactor: restart task should not be part of dry-runs

* Reactor: Alter Gradle build command to include bumpVersionsInReadme task

* Reactor: Add GenerateReleaseNotesTask

Also added partial tests for the task.

Avoids generating notes if snapshot, mark as pre-release if milestone
or rc.

* Reactor: Split out configurations and use profiles for test

* Reactor: Fix org in application.yml

* Reactor: Fix some formatting

* Reactor: Force github OAuth token at Github client creation

* Reactor: Split parseChangelog into several more testable methods

* Reactor: Let interactive GenerateReleaseNotesTask force a log range

* Reactor: Allow multiple dispatch of note entries

Switching from a single TYPE to an EnumSet

* Reactor: Extract issue numbers in title too just in case

* Reactor: Fix alternative titles markdown and description

Also better protect agains Github client failures when
fetching more info like title and labels.

* Reactor: Polish format (newlines) in tag input, notes output

* Reactor: Check tag exists but not release. Check on SHA1

* Reactor: Make checks we can save notes draft BEFORE querying commits

* Reactor: Attempt to find existing release draft (max 2 month old), avoid unnecessary calls

If an existing draft is found, append notes to it.

* Reactor: Ask only for "from" change for interactive log/release notes
2020-01-22 10:44:59 +01:00
Marcin Grzejszczak
7632b99031 Don't run post release tasks if main ones failed 2020-01-21 14:17:36 +01:00