Skip to content

Commit

Permalink
[8.40.x-prod] Enable productized profile by default on GHA - remove u…
Browse files Browse the repository at this point in the history
…seless checks
  • Loading branch information
lampajr committed Jun 27, 2023
1 parent a459c1b commit b499cc6
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .ci/buildchain-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2.1'
dependencies: ./buildchain-project-dependencies.yaml
pre: |
export BUILD_MVN_OPTS="${{ env.BUILD_MVN_OPTS }} -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3"
export BUILD_MVN_OPTS="${{ env.BUILD_MVN_OPTS }} -Dproductized -nsu -ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 -Dmaven.wagon.http.retryHandler.count=3"
echo "BUILD_MVN_OPTS=${{ env.BUILD_MVN_OPTS }}"
export BUILD_MVN_OPTS_CURRENT="${{ env.BUILD_MVN_OPTS_CURRENT }} dependency:tree"
echo "BUILD_MVN_OPTS_CURRENT=${{ env.BUILD_MVN_OPTS_CURRENT }}"
Expand Down
92 changes: 46 additions & 46 deletions .github/workflows/pr-drools-ansible.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
name: Drools Ansible RuleBook Integration Check
# 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/**'
# 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: [11]
maven-version: ['3.8.7']
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 }}
- 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
# 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: [11]
# maven-version: ['3.8.7']
# 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 }}
# - 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
114 changes: 57 additions & 57 deletions .github/workflows/pr-optaplanner.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
# Tests RHBOP productized profile builds on PRs
name: Optaplanner Downstream
# # Tests RHBOP productized profile builds on PRs
# name: Optaplanner Downstream

on:
pull_request:
types: [opened, synchronize, reopened, labeled]
branches:
- main
- 8.*
paths-ignore:
- 'LICENSE*'
- '.gitignore'
- '**.md'
- '**.adoc'
- '*.txt'
- 'docsimg/**'
- '.ci/jenkins/**'
# on:
# pull_request:
# types: [opened, synchronize, reopened, labeled]
# branches:
# - main
# - 8.*
# paths-ignore:
# - 'LICENSE*'
# - '.gitignore'
# - '**.md'
# - '**.adoc'
# - '*.txt'
# - 'docsimg/**'
# - '.ci/jenkins/**'

defaults:
run:
shell: bash
# defaults:
# run:
# shell: bash

jobs:
productized-build-chain:
concurrency:
group: rhbop_pull_request-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.java-version }}-${{ matrix.maven-version }}
cancel-in-progress: true
timeout-minutes: 120
strategy:
matrix:
os: [ubuntu-latest]
java-version: [11]
maven-version: ['3.8.7']
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ 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
- 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 }}
- name: Productized Build Chain
uses: kiegroup/kie-ci/.ci/actions/build-chain@main
env:
# maven-assembly-plugin occasionally fails on heap space when building the ZIP in optaplanner-docs
MAVEN_OPTS: "-Xmx2048m"
with:
definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/optaplanner/${BRANCH:main}/.ci/pull-request-config-rhbop.yaml
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
starting-project: kiegroup/optaplanner
- name: Surefire Report
uses: kiegroup/kie-ci/.ci/actions/surefire-report@main
if: ${{ always() }}
with:
report_paths: '**/*-reports/TEST-*.xml'
# jobs:
# productized-build-chain:
# concurrency:
# group: rhbop_pull_request-${{ github.event_name }}-${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.java-version }}-${{ matrix.maven-version }}
# cancel-in-progress: true
# timeout-minutes: 120
# strategy:
# matrix:
# os: [ubuntu-latest]
# java-version: [11]
# maven-version: ['3.8.7']
# fail-fast: false
# runs-on: ${{ matrix.os }}
# name: ${{ 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
# - 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 }}
# - name: Productized Build Chain
# uses: kiegroup/kie-ci/.ci/actions/build-chain@main
# env:
# # maven-assembly-plugin occasionally fails on heap space when building the ZIP in optaplanner-docs
# MAVEN_OPTS: "-Xmx2048m"
# with:
# definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/optaplanner/${BRANCH:main}/.ci/pull-request-config-rhbop.yaml
# annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
# github-token: "${{ secrets.GITHUB_TOKEN }}"
# starting-project: kiegroup/optaplanner
# - name: Surefire Report
# uses: kiegroup/kie-ci/.ci/actions/surefire-report@main
# if: ${{ always() }}
# with:
# report_paths: '**/*-reports/TEST-*.xml'

0 comments on commit b499cc6

Please sign in to comment.