Skip to content

Commit daf3015

Browse files
marko-bekhtambellade
authored andcommitted
Update "Setting up the maintenance branch" steps
1 parent 776798f commit daf3015

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

MAINTAINERS.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,24 @@ In any case:
167167

168168
### Setting up the maintenance branch
169169

170-
Once the release series (e.g. 7.2) is branched out and goes into maintenance mode make sure to:
170+
Once the release series (e.g. 7.3) is branched out and goes into maintenance mode make sure to:
171171
* Enable automated releases (for that branch)
172172
- Update [Jenkinsfile](ci/release/Jenkinsfile) and switch `RELEASE_ON_SCHEDULE` to `true`
173173
* Remove the nightly Jenkins job from that branch ([nightly.Jenkinsfile](nightly.Jenkinsfile))
174174
* Update GitHub workflows:
175-
- For [ci.yml](.github/workflows/ci.yml) / [codeql.yml](.github/workflows/codeql.yml)
175+
- For [ci.yml](.github/workflows/ci.yml)
176176
+ remove the branch push triggers (`on.pushbranches`)
177177
+ update branch in the pull request triggers
178-
* Enable Quarkus testing job (in necessary)
178+
* Enable Quarkus testing job (if the update to this version was already merged(test against main Quarkus branch)/released(test the corresponding version branch))
179179
- In [quarkus.Jenkinsfile](ci/quarkus.Jenkinsfile) switch `ENABLE_QUARKUS_BUILDS` to true and update `QUARKUS_BRANCH_TO_TEST` as necessary.
180+
* Enable Hibernate Search dependency update job
181+
- In [Jenkinsfile](Jenkinsfile) add an execution just before the `parallel(executions)`:
182+
```groovy
183+
executions.put('Hibernate Search Update Dependency', {
184+
build job: '/hibernate-search-dependency-update/{HIBERNATE_SEARCH_VERSION}', propagate: true, parameters: [string(name: 'UPDATE_JOB', value: 'orm{HIBERNATE_ORM_VERSION}'), string(name: 'ORM_REPOSITORY', value: helper.scmSource.remoteUrl), string(name: 'ORM_PULL_REQUEST_ID', value: helper.scmSource.pullRequest.id)]
185+
})
186+
```
187+
- In this example above, replace `{HIBERNATE_SEARCH_VERSION}` and `{HIBERNATE_ORM_VERSION}` with actual release series, e.g. `8.3`/`7.3`
180188
* Update main build [Jenkinsfile](Jenkinsfile) (for the branch)
181189
- Enable JDK testing in the build by removing the conditions under `Don't build environments for newer JDKs`
182190
- Stop running this build for pushes to the branch

0 commit comments

Comments
 (0)