From 3c83365c85dc1a14fe8722eb277a38fb55590a08 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 7 Nov 2024 11:56:03 -0500 Subject: [PATCH 1/5] remove modules that are not part of the product --- drools-impact-analysis/pom.xml | 1 - drools-quarkus-extension/pom.xml | 8 -------- kie-dmn/pom.xml | 10 ---------- kie-drl/kie-drl-implementations/pom.xml | 1 - kie-drl/pom.xml | 2 -- pom.xml | 14 -------------- 6 files changed, 36 deletions(-) diff --git a/drools-impact-analysis/pom.xml b/drools-impact-analysis/pom.xml index 64c671f4d8f..0a5cf1cdea7 100644 --- a/drools-impact-analysis/pom.xml +++ b/drools-impact-analysis/pom.xml @@ -42,7 +42,6 @@ drools-impact-analysis-model drools-impact-analysis-parser drools-impact-analysis-graph - drools-impact-analysis-itests diff --git a/drools-quarkus-extension/pom.xml b/drools-quarkus-extension/pom.xml index 42b271eaad3..1e2b2de9230 100644 --- a/drools-quarkus-extension/pom.xml +++ b/drools-quarkus-extension/pom.xml @@ -37,14 +37,6 @@ drools-quarkus-util-deployment - drools-quarkus - drools-quarkus-deployment - drools-quarkus-integration-test - drools-quarkus-integration-test-kmodule - drools-quarkus-integration-test-hotreload - drools-quarkus-ruleunit-integration-test - drools-quarkus-quickstart-test - drools-quarkus-examples diff --git a/kie-dmn/pom.xml b/kie-dmn/pom.xml index f650452ba8c..f9f0c4bdb06 100644 --- a/kie-dmn/pom.xml +++ b/kie-dmn/pom.xml @@ -49,16 +49,6 @@ kie-dmn-backend kie-dmn-validation-bootstrap kie-dmn-validation - kie-dmn-openapi - kie-dmn-tck - kie-dmn-legacy-tests - kie-dmn-trisotech - kie-dmn-signavio - kie-dmn-pmml-tests-parent - kie-dmn-xls2dmn-cli - kie-dmn-core-jsr223-jq - kie-dmn-core-jsr223 - kie-dmn-ruleset2dmn-parent diff --git a/kie-drl/kie-drl-implementations/pom.xml b/kie-drl/kie-drl-implementations/pom.xml index c7cd1013fe2..a263d59e4e9 100644 --- a/kie-drl/kie-drl-implementations/pom.xml +++ b/kie-drl/kie-drl-implementations/pom.xml @@ -38,7 +38,6 @@ kie-drl-map-input - kie-drl-kiesession-local \ No newline at end of file diff --git a/kie-drl/pom.xml b/kie-drl/pom.xml index 4a642e876bc..0b03cfcf696 100644 --- a/kie-drl/pom.xml +++ b/kie-drl/pom.xml @@ -42,8 +42,6 @@ kie-drl-compilation-common kie-drl-implementations kie-drl-runtime-common - kie-drl-tests - kie-drl-tests-without-index-file diff --git a/pom.xml b/pom.xml index 403489502cd..3cd573a147b 100644 --- a/pom.xml +++ b/pom.xml @@ -200,35 +200,21 @@ drools-xml-support drools-legacy-test-util drools-tms - drools-beliefs drools-serialization-protobuf - drools-traits - drools-verifier - drools-persistence drools-templates drools-decisiontables - drools-examples kie-ci drools-model - drools-examples-api - drools-test-coverage - drools-scenario-simulation - drools-metric drools-alphanetwork-compiler drools-engine drools-engine-classic drools-impact-analysis - drools-retediagram - drools-fastutil efesto kie-drl kie-dmn kie-pmml-trusty - kie-maven-plugin - kie-archetypes drools-quarkus-extension drools-reliability - drools-drlonyaml-parent From f229e9bdf4e4f457e806cad2f8b38191e552418b Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 4 Apr 2024 09:12:05 +0200 Subject: [PATCH 2/5] pr-downstream.yml: remove kogito-quarkus-examples and kogito-springboot-examples that are not part of the product --- .github/workflows/pr-downstream.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml index b82393a748f..53f3ed1d3a7 100644 --- a/.github/workflows/pr-downstream.yml +++ b/.github/workflows/pr-downstream.yml @@ -20,7 +20,7 @@ jobs: timeout-minutes: 180 strategy: matrix: - job_name: [ kogito-runtimes, kogito-apps, kogito-quarkus-examples, kogito-springboot-examples, serverless-workflow-examples ] + job_name: [ kogito-runtimes, kogito-apps, serverless-workflow-examples ] os: [ubuntu-latest] java-version: [17] maven-version: ['3.9.6'] @@ -30,12 +30,6 @@ jobs: - job_name: kogito-apps repository: kogito-apps env_BUILD_MVN_OPTS: "-DskipUI" - - job_name: kogito-quarkus-examples - repository: kogito-examples - env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-quarkus-examples/ - - job_name: kogito-springboot-examples - repository: kogito-examples - env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-springboot-examples/ - job_name: serverless-workflow-examples repository: kogito-examples env_KOGITO_EXAMPLES_SUBFOLDER_POM: serverless-workflow-examples/ From 22cddb637f11e6c499e20e5ff36ef5dd5735f77b Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 9 May 2024 17:16:23 +0200 Subject: [PATCH 3/5] Remove Drools Ansible intregration check --- .github/workflows/pr-drools-ansible.yml | 49 ------------------------- 1 file changed, 49 deletions(-) delete mode 100644 .github/workflows/pr-drools-ansible.yml diff --git a/.github/workflows/pr-drools-ansible.yml b/.github/workflows/pr-drools-ansible.yml deleted file mode 100644 index 253b577bb45..00000000000 --- a/.github/workflows/pr-drools-ansible.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Drools Ansible RuleBook Integration Check - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths-ignore: - - 'LICENSE' - - '**/.gitignore' - - '**.md' - - '**.adoc' - - '*.txt' - - 'docsimg/**' - - '.ci/jenkins/**' - -jobs: - drools-ansible: - concurrency: - group: pr-drools_ansible_${{ matrix.os }}_${{ matrix.java-version }}_${{ matrix.maven-version }}_${{ github.head_ref }} - cancel-in-progress: true - timeout-minutes: 120 - strategy: - matrix: - os: [ubuntu-latest] - java-version: [17] - maven-version: ['3.9.6'] - fail-fast: false - runs-on: ${{ matrix.os }} - name: Ansible Integration / ${{ matrix.os }} / Java-${{ matrix.java-version }} / Maven-${{ matrix.maven-version }} - steps: - - name: Clean Disk Space - uses: kiegroup/kie-ci/.ci/actions/ubuntu-disk-space@main - if: ${{ matrix.os == 'ubuntu-latest' }} - - name: Support long paths - if: ${{ matrix.os == 'windows-latest' }} - uses: kiegroup/kie-ci/.ci/actions/long-paths@main - - name: Java and Maven Setup - uses: kiegroup/kie-ci/.ci/actions/maven@main - with: - java-version: ${{ matrix.java-version }} - maven-version: ${{ matrix.maven-version }} - cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} - allow-snapshots: true - - name: Build Chain - uses: kiegroup/kie-ci/.ci/actions/build-chain@main - with: - definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/drools-ansible-rulebook-integration/${BRANCH:main}/.ci/pull-request-config.yaml - annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }} - github-token: "${{ secrets.GITHUB_TOKEN }}" - starting-project: kiegroup/drools-ansible-rulebook-integration \ No newline at end of file From 9fb374660250d4adb6813365349b18d4c71521c0 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 4 Apr 2024 09:47:35 +0200 Subject: [PATCH 4/5] add -Dproductized profile for Kogito PR check and remove -Dfull profile for Drools PR check The productized profile is still needed as there are still some leftovers of it in upstream code that was not removed yet --- .github/workflows/pr-downstream.yml | 4 +++- .github/workflows/pr-drools.yml | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml index 53f3ed1d3a7..c7c2a04bf0d 100644 --- a/.github/workflows/pr-downstream.yml +++ b/.github/workflows/pr-downstream.yml @@ -27,12 +27,14 @@ jobs: include: - job_name: kogito-runtimes repository: kogito-runtimes + env_BUILD_MVN_OPTS: "-Dproductized" - job_name: kogito-apps repository: kogito-apps - env_BUILD_MVN_OPTS: "-DskipUI" + env_BUILD_MVN_OPTS: "-DskipUI -Dproductized" - job_name: serverless-workflow-examples repository: kogito-examples env_KOGITO_EXAMPLES_SUBFOLDER_POM: serverless-workflow-examples/ + env_BUILD_MVN_OPTS: "-Dproductized" fail-fast: false runs-on: ${{ matrix.os }} name: ${{ matrix.job_name }} (${{ matrix.os }} / Java-${{ matrix.java-version }} / Maven-${{ matrix.maven-version }}) diff --git a/.github/workflows/pr-drools.yml b/.github/workflows/pr-drools.yml index 01c32b6f9a2..5776538b389 100644 --- a/.github/workflows/pr-drools.yml +++ b/.github/workflows/pr-drools.yml @@ -41,8 +41,6 @@ jobs: cache-key-prefix: ${{ runner.os }}-${{ matrix.java-version }}-maven${{ matrix.maven-version }} - name: Build Chain uses: kiegroup/kie-ci/.ci/actions/build-chain@main - env: - BUILD_MVN_OPTS_CURRENT: -Dfull with: definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/drools/${BRANCH:main}/.ci/buildchain-config.yaml annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }} From f08fb979cb41dfa474558d28b9fea711a9b66713 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 7 Nov 2024 19:57:24 -0500 Subject: [PATCH 5/5] buildchain-config.yaml: drop docker system prune as it is not required and it is making CI to fail --- .ci/buildchain-config.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.ci/buildchain-config.yaml b/.ci/buildchain-config.yaml index 3217ce1a253..5d5fd4481ed 100644 --- a/.ci/buildchain-config.yaml +++ b/.ci/buildchain-config.yaml @@ -23,9 +23,6 @@ default: mvn clean install ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} upstream: | mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} - after: - current: | - docker system prune -f build: - project: kiegroup/drools