From b688f36574cd8931cd2db2311802b1142ccfe407 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Tue, 6 Feb 2024 11:32:11 +0100 Subject: [PATCH 1/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 | 5 ++++- .github/workflows/pr-kogito-runtimes.yml | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml index 8a477879ca1..ca439951232 100644 --- a/.github/workflows/pr-downstream.yml +++ b/.github/workflows/pr-downstream.yml @@ -27,16 +27,19 @@ jobs: include: - job_name: kogito-apps repository: kogito-apps - env_BUILD_MVN_OPTS: "-DskipUI" + env_BUILD_MVN_OPTS: "-DskipUI -Dproductized" - job_name: kogito-quarkus-examples repository: kogito-examples env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-quarkus-examples/ + env_BUILD_MVN_OPTS: "-Dproductized" - job_name: kogito-springboot-examples repository: kogito-examples env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-springboot-examples/ + env_BUILD_MVN_OPTS: "-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-kogito-runtimes.yml b/.github/workflows/pr-kogito-runtimes.yml index fb794f5f40a..0d310adbed4 100644 --- a/.github/workflows/pr-kogito-runtimes.yml +++ b/.github/workflows/pr-kogito-runtimes.yml @@ -47,6 +47,7 @@ jobs: definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/kogito-pipelines/${BRANCH:main}/.ci/pull-request-config.yaml env: BUILD_MVN_OPTS_CURRENT: '-T 1.5C' + BUILD_MVN_OPTS: -Dproductized - name: Junit Report uses: kiegroup/kogito-pipelines/.ci/actions/action-junit-report@main if: ${{ always() }} From c7191e14d1f60e3498d6e644d12cf45527fd2a3c Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Tue, 6 Feb 2024 12:03:36 +0100 Subject: [PATCH 2/2] pr-downstream.yml: remove kogito-quarkus-examples and kogito-springboot-examples that are not part of the product --- .github/workflows/pr-downstream.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/pr-downstream.yml b/.github/workflows/pr-downstream.yml index ca439951232..346c0ef16e0 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-apps, kogito-quarkus-examples, kogito-springboot-examples, serverless-workflow-examples ] + job_name: [ kogito-apps, serverless-workflow-examples ] os: [ubuntu-latest] java-version: [17] maven-version: ['3.9.3'] @@ -28,14 +28,6 @@ jobs: - job_name: kogito-apps repository: kogito-apps env_BUILD_MVN_OPTS: "-DskipUI -Dproductized" - - job_name: kogito-quarkus-examples - repository: kogito-examples - env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-quarkus-examples/ - env_BUILD_MVN_OPTS: "-Dproductized" - - job_name: kogito-springboot-examples - repository: kogito-examples - env_KOGITO_EXAMPLES_SUBFOLDER_POM: kogito-springboot-examples/ - env_BUILD_MVN_OPTS: "-Dproductized" - job_name: serverless-workflow-examples repository: kogito-examples env_KOGITO_EXAMPLES_SUBFOLDER_POM: serverless-workflow-examples/