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 #26

Merged
merged 28 commits into from
Mar 12, 2024

Conversation

rgdoliveira
Copy link
Member

@rgdoliveira rgdoliveira commented Mar 11, 2024

Related PRs:

This is MIDSTREAM if you want to send your PR to UPSTREAM use https://github.com/apache/incubator-kie-kogito-runtimes

Please make sure that your PR meets the following requirements:

  • You have read the contributors guide
  • Your code is properly formatted according to this configuration
  • Pull Request title is properly formatted: KOGITO-XYZ Subject
  • Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains link to any dependent or related Pull Request
  • Pull Request contains description of the issue
  • Pull Request does not include fixes for issues other than the main ticket
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-runtimes|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-runtimes|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-runtimes|kogito-apps|kogito-examples] quarkus-main

  • for quarkus lts checks
    Run checks against Quarkus lts branch
    Please add comment: Jenkins run 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-runtimes|kogito-apps|kogito-examples] native

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.

fjtirado and others added 28 commits March 11, 2024 09:42
* Removing oracle driver and associated tests

* Removing Oracle container

* Removing oracle enum and script
…n domain (apache#3395)

remove DRF support in jbpm and test involved as guard. this functionality is deprecated.
* [Fix apache#3406] Avoid publishing internal variables

* [Fix_#3406] Neus comment
…to-runtimes` (apache#3401)

* incubator-kie-issues#917: Verify Quarkus Extensions metadata in `kogito-runtimes`

* Apply suggestions from code review

Co-authored-by: Ricardo Zanini <[email protected]>

* Apply suggestions from code review

Co-authored-by: Ricardo Zanini <[email protected]>

* - added `kogito-addon-quarkus-source-files` extension metadata.

* - Aligned metadata & capabilities to new naming

* - fix typo

* - adding `cloud` category
- Quarkus Extensions it-tests fix

* - cleanup

---------

Co-authored-by: Ricardo Zanini <[email protected]>
…pache#3410)

* incubator-kie-issues#932: Rename Quarkus Extension in kogito-apps

* - renamed `job-service` addons, `jbpm-quarkus-devui` & `sonataflow-quarkus-devui`
…sions in `kogito-runtimes` (apache#3414)

* incubator-kie-issues#934: Rename the `jBPM` & `drools` Quarkus Extensions in `kogito-runtimes`
* Renamed `drools` Quarkus extensions and Spring-Boot starters
* Renamed `jBPM` Quarkus extensions and Spring-Boot starters
* missing rename
* fix dep
…che#3412)

* [KOGITO-9276] Adding support for businnesKey to resume a process

* [KOGITO-9276] Cleaner alternative

* [KOGITO-9276] Gonzalos comments
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.4.7 to 1.4.12.
- [Commits](qos-ch/logback@v_1.4.7...v_1.4.12)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ch.qos.logback:logback-classic](https://github.com/qos-ch/logback) from 1.2.9 to 1.2.13.
- [Commits](qos-ch/logback@v_1.2.9...v_1.2.13)

---
updated-dependencies:
- dependency-name: ch.qos.logback:logback-classic
  dependency-type: direct:production
...

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

* [Fix apache#3415] Allow constant values in user task assignments

* [Fix apache#3415] Gonzalos comments
…kogito-runtimes` (apache#3417)

* incubator-kie-issues#933: Rename `SonataFlow` Quarkus Extensions in `kogito-runtimes`
* change groupId to `org.apache.sonataflow`
* Update archetype-post-generate.groovy
* Update pom.xml
* [Fix apache#3390] Fixing patch

* [Fix apache#3390] Fixing node not found

* [Fix apache#3390] Adding IT
…in `kogito-runtimes` (apache#3420)

* incubator-kie-issues#935: Rename `kie` & `kogito` Quarkus Extensions in `kogito-runtimes`
* fix FEATURE` names
* fix `kogito.addon`s
* align `README.md`
* codestart fix
* more fixes
* fix codestart
* [Fix apache/incubator-kie-issues#987] New onError event

* [Fix apache/incubator-kie-issues#987] Adding unit test

* [Fix apache/incubator-kie-issues#987] Refactor ProcessNodeEvent children

Although not strictly needed by the PR, for future additions, a new
class in the hierarchy that holds the NodeInstance reference has been
included.
fields has been made final to remark that event objects are inmutable
…for each DMN model (apache#3424)

* [incubator-kie-kogito-runtimes#2608] Generating one definitions json for each DMN model

* [incubator-kie-kogito-runtimes#2608] Fix as per PR comment. Add tests.

* [incubator-kie-kogito-runtimes#2608] Fix tests.

* [incubator-kie-kogito-runtimes#2608] Fix tests.

* [incubator-kie-kogito-runtimes#2608] Fix formatting.

---------

Co-authored-by: Gabriele-Cardosi <[email protected]>
…ifact (apache#3427)

* [incubator-kie-issues#847] WIP

* [incubator-kie-issues#847] Fix for execution during test

* [incubator-kie-issues#847] Fix for execution during test

* [incubator-kie-issues#847] Small refactoring for test. Add KogitoAssetsProcessorTest

---------

Co-authored-by: Gabriele-Cardosi <[email protected]>
@rgdoliveira
Copy link
Member Author

Jenkins Tests / Jenkinsfiles (pull_request) is failing with weird error to resolve some dependencies, see:

2024-03-11T11:15:23.8114486Z [INFO] ------------------------------------------------------------------------
2024-03-11T11:15:23.8115994Z [INFO] BUILD FAILURE
2024-03-11T11:15:23.8117126Z [INFO] ------------------------------------------------------------------------
2024-03-11T11:15:23.8127872Z [INFO] Total time:  05:18 min
2024-03-11T11:15:23.8129950Z [INFO] Finished at: 2024-03-11T11:15:23Z
2024-03-11T11:15:23.8130987Z [INFO] ------------------------------------------------------------------------
2024-03-11T11:15:23.8144775Z [ERROR] Failed to execute goal on project jenkins-pipeline-shared-libraries: Could not resolve dependencies for project org.kie:jenkins-pipeline-shared-libraries:jar:1.0.1: Failed to collect dependencies at org.jenkins-ci.plugins:jira:jar:3.0.8 -> com.atlassian.jira:jira-rest-java-client-api:jar:5.0.4: Failed to read artifact descriptor for com.atlassian.jira:jira-rest-java-client-api:jar:5.0.4: Could not transfer artifact com.atlassian.platform:platform:pom:3.1.7 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [repo.jenkins-ci.org (http://repo.jenkins-ci.org/public/, default, releases)] -> [Help 1]

I suggest we ignore this for now as the important tests that make sure the Kogito projects are building fine are green, and I can try to fix that in a different PR.

@rgdoliveira rgdoliveira merged commit bc498e6 into kiegroup:main Mar 12, 2024
6 of 7 checks passed
@rgdoliveira
Copy link
Member Author

Error in JenkinsFile test fixed by kiegroup/jenkins-pipeline-shared-libraries#314

For some reason the com.atlassian.platform:platform:pom:3.1.7 is indeed not in https://repo.jenkins-ci.org/public/com/atlassian/platform/platform/ (not sure why), so updating Jira plugin to version 3.12 requires a new version of platform that is available.

For the records, I checked in apache and they also updated that, see https://github.com/apache/incubator-kie-kogito-pipelines/blob/main/jenkins-pipeline-shared-libraries/pom.xml#L627

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.

7 participants