From ad64cc64e18355a4fed6b5792ceb4d3acd107247 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 8 Feb 2024 08:31:11 +0100 Subject: [PATCH] add -Dproductized profile for PR checks 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 | 2 ++ .github/workflows/pr-kogito-apps.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml index 488ad8feae..2ebf49e324 100644 --- a/.github/workflows/pr-downstream.yml +++ b/.github/workflows/pr-downstream.yml @@ -28,6 +28,7 @@ jobs: - 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 }}) @@ -52,6 +53,7 @@ jobs: starting-project: kiegroup/${{ matrix.repository }} github-token: "${{ secrets.GITHUB_TOKEN }}" env: + BUILD_MVN_OPTS: ${{ matrix.env_BUILD_MVN_OPTS }} KOGITO_EXAMPLES_SUBFOLDER_POM: ${{ matrix.env_KOGITO_EXAMPLES_SUBFOLDER_POM }} - name: Surefire Report uses: kiegroup/kie-ci/.ci/actions/surefire-report@main diff --git a/.github/workflows/pr-kogito-apps.yml b/.github/workflows/pr-kogito-apps.yml index 7fd543e4d3..eb21f6bebc 100644 --- a/.github/workflows/pr-kogito-apps.yml +++ b/.github/workflows/pr-kogito-apps.yml @@ -43,6 +43,7 @@ jobs: uses: kiegroup/kie-ci/.ci/actions/build-chain@main env: NODE_OPTIONS: "--max_old_space_size=4096" + BUILD_MVN_OPTS: "-Dproductized" with: definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}