From 9fb374660250d4adb6813365349b18d4c71521c0 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 4 Apr 2024 09:47:35 +0200 Subject: [PATCH] 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 }}