From f018003143034f98b694c0a480d2da5ba0ed1164 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 8 Feb 2024 08:28:57 +0100 Subject: [PATCH 1/2] 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 0f2e24e924..488ad8feae 100644 --- a/.github/workflows/pr-downstream.yml +++ b/.github/workflows/pr-downstream.yml @@ -20,17 +20,11 @@ jobs: timeout-minutes: 180 strategy: matrix: - job_name: [ kogito-quarkus-examples, kogito-springboot-examples, serverless-workflow-examples ] + job_name: [ serverless-workflow-examples ] os: [ubuntu-latest] java-version: [17] maven-version: ['3.9.3'] include: - - 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 f67578c2c9986b01ecbf75292933f47ac2c60111 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 8 Feb 2024 08:31:11 +0100 Subject: [PATCH 2/2] 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 }}