From 663bc82a4e942a52529b75d97c4e24e139eb1971 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 4 Apr 2024 09:12:05 +0200 Subject: [PATCH 1/3] 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 18799cc9d2e2bcd0cc3d19a9ed233b1de0c6f574 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 9 May 2024 17:16:23 +0200 Subject: [PATCH 2/3] 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 778b69d5e5481ba028913bf81cf07cee6d5e317f Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 4 Apr 2024 09:47:35 +0200 Subject: [PATCH 3/3] 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 }}