You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by js...@apache.org on 2024/04/23 13:23:20 UTC

(incubator-kie-drools) branch main updated: kie-issues#872: use build-chain config from kogito-pipelines in CI

This is an automated email from the ASF dual-hosted git repository.

jstastnycz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f1d54c956 kie-issues#872: use build-chain config from kogito-pipelines in CI
4f1d54c956 is described below

commit 4f1d54c9568440a10024fc838d2da2e8ddf49501
Author: jstastny-cz <ja...@ibm.com>
AuthorDate: Tue Apr 23 15:16:05 2024 +0200

    kie-issues#872: use build-chain config from kogito-pipelines in CI
---
 .ci/jenkins/Jenkinsfile                  | 2 +-
 .ci/jenkins/config/branch.yaml           | 4 ++--
 .github/workflows/pr-downstream-full.yml | 2 +-
 .github/workflows/pr-downstream.yml      | 6 ++++--
 .github/workflows/pr-drools.yml          | 2 +-
 5 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile b/.ci/jenkins/Jenkinsfile
index 24746e0568..6428215ad5 100644
--- a/.ci/jenkins/Jenkinsfile
+++ b/.ci/jenkins/Jenkinsfile
@@ -13,7 +13,7 @@ pipeline {
     }
     environment {
         BUILDCHAIN_PROJECT = 'apache/incubator-kie-drools'
-        BUILDCHAIN_CONFIG_REPO = 'incubator-kie-drools'
+        BUILDCHAIN_CONFIG_REPO = 'incubator-kie-kogito-pipelines'
         BUILDCHAIN_CONFIG_FILE_PATH = '.ci/buildchain-config-pr-cdb.yaml'
 
         ENABLE_SONARCLOUD = 'false'
diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml
index bcd33cf6a4..5fd16706e4 100644
--- a/.ci/jenkins/config/branch.yaml
+++ b/.ci/jenkins/config/branch.yaml
@@ -54,8 +54,8 @@ git:
   jenkins_config_path: .ci/jenkins
 buildchain_config:
   git:
-    repository: incubator-kie-drools
-    file_path: .ci/buildchain-config.yaml
+    repository: incubator-kie-kogito-pipelines
+    file_path: .ci/pull-request-config.yaml
     token_credentials_id: kie-ci3-token
 maven:
   settings_file_id: kie-release-settings
diff --git a/.github/workflows/pr-downstream-full.yml b/.github/workflows/pr-downstream-full.yml
index ecebb3e231..f763a3a825 100644
--- a/.github/workflows/pr-downstream-full.yml
+++ b/.github/workflows/pr-downstream-full.yml
@@ -44,7 +44,7 @@ jobs:
       - name: Build Chain
         uses: apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main
         with:
-          definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-drools/${BRANCH:main}/.ci/buildchain-config.yaml
+          definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
           annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
           github-token: "${{ secrets.GITHUB_TOKEN }}"
           flow-type: full-downstream
diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml
index c039cbc60b..a7123929bb 100644
--- a/.github/workflows/pr-downstream.yml
+++ b/.github/workflows/pr-downstream.yml
@@ -20,11 +20,13 @@ jobs:
     timeout-minutes: 180
     strategy:
       matrix:
-        job_name: [ kogito-runtimes, kogito-apps, kogito-quarkus-examples, kogito-springboot-examples, serverless-workflow-examples ]
+        job_name: [ optaplanner, kogito-runtimes, kogito-apps, kogito-quarkus-examples, kogito-springboot-examples, serverless-workflow-examples ]
         os: [ubuntu-latest]
         java-version: [17]
         maven-version: ['3.9.6']
         include:
+          - job_name: optaplanner
+            repository: incubator-kie-optaplanner
           - job_name: kogito-runtimes
             repository: incubator-kie-kogito-runtimes
           - job_name: kogito-apps
@@ -60,7 +62,7 @@ jobs:
       - name: Build Chain
         uses: apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main
         with:
-          definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-drools/${BRANCH:main}/.ci/buildchain-config.yaml
+          definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
           annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
           starting-project: apache/${{ matrix.repository }}
           github-token: "${{ secrets.GITHUB_TOKEN }}"
diff --git a/.github/workflows/pr-drools.yml b/.github/workflows/pr-drools.yml
index 4751e517c5..23be1b10bf 100644
--- a/.github/workflows/pr-drools.yml
+++ b/.github/workflows/pr-drools.yml
@@ -45,7 +45,7 @@ jobs:
           BUILD_MVN_OPTS_CURRENT: -Dfull
           MAVEN_OPTS: "-Dfile.encoding=UTF-8"
         with:
-          definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-drools/${BRANCH:main}/.ci/buildchain-config.yaml
+          definition-file: https://raw.githubusercontent.com/${GROUP:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml
           annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
           github-token: "${{ secrets.GITHUB_TOKEN }}"
       - name: Surefire Report


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org