Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync main branch with Apache main branch #2

Merged
merged 16 commits into from
Jan 18, 2024

Conversation

rgdoliveira
Copy link
Member

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.

build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:
  • for pull request checks
    Please add comment: Jenkins retest this

  • for a specific pull request check
    Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] tests

  • for quarkus branch checks
    Run checks against Quarkus current used branch
    Please add comment: Jenkins run quarkus-branch

  • for a quarkus branch specific check
    Run checks against Quarkus current used branch
    Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] quarkus-branch

  • for quarkus main checks
    Run checks against Quarkus main branch
    Please add comment: Jenkins run quarkus-main

  • for a specific quarkus main check
    Run checks against Quarkus main branch
    Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] quarkus-main

  • for quarkus lts checks
    Run checks against Quarkus lts branch
    Please add comment: Jenkins run quarkus-lts

  • for a specific quarkus lts check
    Run checks against Quarkus lts branch
    Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] quarkus-lts

  • for native checks
    Run native checks
    Please add comment: Jenkins run native

  • for a specific native check
    Run native checks
    Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] native

  • for native lts checks
    Run native checks against quarkus lts branch
    Please add comment: Jenkins run native-lts

  • for a specific native lts check
    Run native checks against quarkus lts branch
    Please add comment: Jenkins (re)run [kogito-apps|kogito-examples] native-lts

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.

If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

Quarkus-3 PR check is failing ... what to do ? The Quarkus 3 check is applying patches from the `.ci/environments/quarkus-3/patches`.

The first patch, called 0001_before_sh.patch, is generated from Openrewrite .ci/environments/quarkus-3/quarkus3.yml recipe. The patch is created to speed up the check. But it may be that some changes in the PR broke this patch.
No panic, there is an easy way to regenerate it. You just need to comment on the PR:

jenkins rewrite quarkus-3

and it should, after some minutes (~20/30min) apply a commit on the PR with the patch regenerated.

Other patches were generated manually. If any of it fails, you will need to manually update it... and push your changes.

mariofusco and others added 16 commits January 18, 2024 10:44
* - Bump Quarkus Version

* [Quarkus 3] Updated rewrite data

* - fix patches

* rebase main

* TEMPORARY: adjust pipeline config

* CI - limit generated jobs

* CI: update mvn and jdk in GHA

* - Fixing JobResource Tests (apache#1930)

* - Fix Oracle IT Tests (apache#1931)

* Normalizing timezones storage as Hibernate ORM 5 for backwards compatibility. (apache#1935)

* - Change `jib-maven-plugin` base image to fix `SpringBootTrustyExplainabilityEnd2EndIT` (apache#1936)

* rebase

---------

Co-authored-by: Pere Fernández <[email protected]>
Co-authored-by: jstastny-cz <[email protected]>
apache#1927)

* kie-issues#526: Fix @kogito-apps/process-form: doesn't display custom forms.

* Update imports to use 'dist/types'

* Create CustomProcessFormDisplayer component

* Add FormActions

* Move Form* types into common-components

* Merge CustomForm and Form

* remove forms-list from process-form

* use Promise.all

* remove getcustomformlist

* Fix task-console-webapp package

* Fix imports in tests

* Fix forms-list test imports

* Fix imports in form-details

* Fix process-form tests

* processForm__getCustomForm

* Incorporate review feedback

* Use CustomProcessFormDisplayerMock

* Fix task-form Mocks imports

* Fix CustomTaskFormDisplayer

* Fix runtime-tools-dev-ui-webapp
…ogito.service.url parameter (apache#1943)

* ISSUE-1942 Jobs Service Embedded Addon do not allow to override the kogito.service.url parameter
* [incubator-kie-issues-576] Data Audit app for kogito

* [incubator-kie-issues-576] add tests for data audit

* added data audit context to local

* make proxy independent of runtime

* tweak events

* fix deletion of spring boot subsystem

* fix logic in data audit

* fix tests

* fix json objects in variable values

* added pagination

* fix roles in process state query

* add mechanism extension

* fix for assignments

* fix deadlines notifications

* fix spring boot test

* add queries for processes

* repacle anonymous classe by reusable classes

* job log changed to match data index

* add microprofile to subsystem

* make context factory independent

* fix names

* readme.md

* fix compilation problems

* fix artifact id and added new query

* fix master pom adding data audit module

* fix names in the projects to fit naming conventions

* formatting pom.xml

* setting configuration

* fix service

* fix jdbc driver dependencies

* fix jdbc driver dependencies

* added jpa container service

* Fix naming conventions for tables

* fix sla

* fix configuration. simplification

* fix service

* fix for orm

* fix classloader

* clean unnecessary fields

* fix readme.md

* fix transaction error in springboot

* fix try for transactions wthout transaction manager provider

* fix

* fix query

* fix plural queries

* Quarkus 3 upgrade fixes:
- `999-SNAPSHOT` version bump
- javax to jakarta migration
- test fixes

* - fix log

---------

Co-authored-by: Pere Fernández <[email protected]>
…d service for Quarkus (apache#1925)

* [incubator-kie-issues-711] Refactroing job service to allow collocated service for Quarkus

* fix debug information

* fix in-vm events

* set correct logger level

* add lifecycle test

* fix formatting

* Quarkus 3 upgrades

* - renames
- cleanup

* - Fixed alternatives

* - Fix Data Audit Jobs Events
- Format

---------

Co-authored-by: Pere Fernández <[email protected]>
…o avoid the use of hibernate flag. (apache#1948)

* [incubator-kie-issues-812] Adding indexes and scripts to data audit to avoid the use of hibernate flag.

* remove duplicate database sccript
…ache#1941)

* [FIX_#1923] Refactor persistent layer to allow optimitization for
relational DB

* [Fix_#1923] Optimizing UserTaskInstance

* [Fix_#1923] Fixing unit tests
…dit container images. (apache#1949)

* [incubator-kie-issues-813] Create multiple quarkus builds for data audit container images.

* fix classpath for pgsql
Bumps [axios](https://github.com/axios/axios) from 0.21.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v0.21.2...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
apache#1955)

Bumps [org.apache.opennlp:opennlp-tools](https://github.com/apache/opennlp) from 1.9.2 to 2.3.1.
- [Commits](apache/opennlp@opennlp-1.9.2...opennlp-2.3.1)

---
updated-dependencies:
- dependency-name: org.apache.opennlp:opennlp-tools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@rgdoliveira rgdoliveira requested review from mareknovotny and ricardozanini and removed request for paulovmr January 18, 2024 09:52
Copy link
Member

@mareknovotny mareknovotny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rgdoliveira rgdoliveira merged commit 3c08db2 into kiegroup:main Jan 18, 2024
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants