Commit Graph

30 Commits

Author SHA1 Message Date
Glenn Renfro
acf3aeab0b Removed Spring Cloud Task to be skipped in release train (#235) 2021-02-11 14:59:11 -05:00
dependabot-preview[bot]
20408770f9 Bump cloudfoundry-client.version from 4.10.0.RELEASE to 4.12.0.RELEASE (#227)
Bumps `cloudfoundry-client.version` from 4.10.0.RELEASE to 4.12.0.RELEASE.

Updates `cloudfoundry-client-reactor` from 4.10.0.RELEASE to 4.12.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.10.0.RELEASE...v4.12.0.RELEASE)

Updates `cloudfoundry-operations` from 4.10.0.RELEASE to 4.12.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.10.0.RELEASE...v4.12.0.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-05 08:45:37 +01:00
spencergibb
a4713042db Updates wiki to to spring-cloud-release
Fixes https://github.com/spring-cloud/spring-cloud-release/issues/180
2020-10-08 11:23:42 -04:00
Marcin Grzejszczak
f24dba4201 Added missing sc-starter-build dependency 2020-10-05 08:49:01 +02:00
dependabot-preview[bot]
57ca53041a Bump cloudfoundry-client.version from 4.9.0.RELEASE to 4.10.0.RELEASE (#224)
Bumps `cloudfoundry-client.version` from 4.9.0.RELEASE to 4.10.0.RELEASE.

Updates `cloudfoundry-client-reactor` from 4.9.0.RELEASE to 4.10.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.9.0.RELEASE...v4.10.0.RELEASE)

Updates `cloudfoundry-operations` from 4.9.0.RELEASE to 4.10.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.9.0.RELEASE...v4.10.0.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-17 08:53:38 +02:00
dependabot-preview[bot]
5b193975d9 Bump cloudfoundry-client.version from 4.8.0.RELEASE to 4.9.0.RELEASE (#220)
Bumps `cloudfoundry-client.version` from 4.8.0.RELEASE to 4.9.0.RELEASE.

Updates `cloudfoundry-client-reactor` from 4.8.0.RELEASE to 4.9.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.8.0.RELEASE...v4.9.0.RELEASE)

Updates `cloudfoundry-operations` from 4.8.0.RELEASE to 4.9.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.8.0.RELEASE...v4.9.0.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-17 11:35:48 +02:00
Marcin Grzejszczak
5645e9aa2d Removed unnecessary jobs 2020-08-06 10:25:50 +02:00
Marcin Grzejszczak
13091b0cf6 Removed the tasks related to updating project documentation repo 2020-08-04 19:25:17 +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
dependabot-preview[bot]
ccd7f41c42 Bump cloudfoundry-client.version from 4.3.0.RELEASE to 4.8.0.RELEASE
Bumps `cloudfoundry-client.version` from 4.3.0.RELEASE to 4.8.0.RELEASE.

Updates `cloudfoundry-client-reactor` from 4.3.0.RELEASE to 4.8.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.3.0.RELEASE...v4.8.0.RELEASE)

Updates `cloudfoundry-operations` from 4.3.0.RELEASE to 4.8.0.RELEASE
- [Release notes](https://github.com/cloudfoundry/cf-java-client/releases)
- [Commits](https://github.com/cloudfoundry/cf-java-client/compare/v4.3.0.RELEASE...v4.8.0.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 17:00:27 +02:00
Marcin Grzejszczak
4cf6bd853d Bumped versions and fixed wrong version passing to docs publishing 2020-07-20 16:16:52 +02:00
Oleg Zhurakousky
43cf760ec0 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-19 16:46:16 +02:00
Marcin Grzejszczak
922c939153 Merge branch '1.0.x' 2020-06-10 10:19:33 +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
0f3748814b Added stream parsing for cloud 2020-06-05 12:12:10 +02:00
Marcin Grzejszczak
cf6e4d7ae0 Working with calver
updated the version to 2.0.0-SNAPSHOT
2020-06-05 11:39:37 +02: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
9f32851fb7 Fixing the unnecessary artifact for stream 2020-03-03 18:34:27 +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
Marcin Grzejszczak
d66fa96735 Extending the stream projects 2020-02-13 14:08:55 +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
7497446dfe Should fix issues ith post processing 2020-02-03 09:42:13 +01: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
Marcin Grzejszczak
0506113ee7 Fixed
- not breaking the build when a release task has failed
- added skipped state of task
2020-01-21 13:39:11 +01:00
Marcin Grzejszczak
78d645c4e4 Parametrized org name 2020-01-09 16:28:03 +01:00
Marcin Grzejszczak
36a8acc591 Added reactor setup 2020-01-07 16:21:19 +01:00
Marcin Grzejszczak
8992e45321 Refactoring to batch (#181)
The rationale of this pull request is to

* have more maintainable and granular code
* not maintain the custom made job engine
* allow the users to customize the defaults of the releaser more easy
* allow the users to create their own steps without the need to change any existing code
* allow the users to fully change the flows and tasks logic
* abstract underlying batch mechanism (Spring Batch) so it doesn't leak to production code
* allow parallelization of the release process and release tasks
2019-12-23 13:49:58 +01:00