Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: GHA: Update optaplanner references #2969

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/buildchain-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ default:
docker system prune -f

build:
- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
build-command:
before:
upstream: |
Expand Down
4 changes: 2 additions & 2 deletions .ci/buildchain-project-dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: "2.1"
dependencies:
- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
- project: kiegroup/optaplanner-quickstarts
dependencies:
- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
mapping:
dependencies:
default:
Expand Down
4 changes: 2 additions & 2 deletions .ci/nightly-build-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ build:
upstream: |
${{ env.PME_CMD }} ${{ env.PME_ALIGNMENT_PARAMS_kiegroup_drools }}
bash -c "${{ env.ALIGN_QUARKUS }} -pl :drools-build-parent ; set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_kiegroup_drools }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/drools.maven.log"
- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
build-command:
current: |
${{ env.PME_CMD }} ${{ env.PME_ALIGNMENT_PARAMS_kiegroup_optaplanner }}
bash -c "set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_kiegroup_optaplanner }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/optaplanner.maven.log"
bash -c "set -o pipefail ; ${{ env.PME_BUILD_SCRIPT_apache_incubator_kie_optaplanner }} ${{ env.BUILD_MVN_OPTS }} | tee ${{ env.WORKSPACE }}/incubator-kie-optaplanner.maven.log"
- project: kiegroup/optaplanner-quickstarts
build-command:
downstream: |
Expand Down
4 changes: 2 additions & 2 deletions .ci/project-dependencies-rhbop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ version: "2.1"
dependencies:
- project: kiegroup/drools

- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
dependencies:
- project: kiegroup/drools

- project: kiegroup/optaplanner-quickstarts
dependencies:
- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
mapping:
dependencies:
default:
Expand Down
2 changes: 1 addition & 1 deletion .ci/pull-request-config-rhbop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ build:
export DROOLS_VERSION=`mvn org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression=project.version -q -DforceStdout`
echo "DROOLS_VERSION=${{ env.DROOLS_VERSION }}"

- project: kiegroup/optaplanner
- project: apache/incubator-kie-optaplanner
build-command:
current: mvn clean install -Dfull ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_CURRENT }} ${{ env.OPTAPLANNER_BUILD_MVN_OPTS }} -Dversion.org.drools=${{ env.DROOLS_VERSION }}
upstream: mvn clean install -Dquickly ${{ env.BUILD_MVN_OPTS }} ${{ env.BUILD_MVN_OPTS_UPSTREAM }} ${{ env.OPTAPLANNER_BUILD_MVN_OPTS_UPSTREAM }} -Dversion.org.drools=${{ env.DROOLS_VERSION }}
Expand Down
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ changes that span multiple kiegroup repositories and depend on each other. -->
<!-- Example:
- https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/1234
- https://github.com/kiegroup/drools/pull/3000
- https://github.com/kiegroup/optaplanner/pull/899
- https://github.com/apache/incubator-kie-optaplanner/pull/899
- etc.
-->

Expand Down Expand Up @@ -106,7 +106,7 @@ How to retest this PR or trigger a specific build:

### CI Status

You can check OptaPlanner repositories CI status from [Chain Status webpage](https://kiegroup.github.io/optaplanner/).
You can check OptaPlanner repositories CI status from [Chain Status webpage](https://apache.github.io/incubator-kie-optaplanner/).

<details>
<summary>
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full-downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build Chain
uses: kiegroup/kie-ci/.ci/actions/build-chain@main
with:
definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/optaplanner/${BRANCH:main}/.ci/buildchain-config.yaml
definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/incubator-kie-optaplanner/${BRANCH:main}/.ci/buildchain-config.yaml
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
flow-type: full-downstream
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate_status_page_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: '0 * * * *'
jobs:
generate-status-page-data:
if: github.repository == 'kiegroup/optaplanner'
if: github.repository == 'apache/incubator-kie-optaplanner'
concurrency:
group: generate-status-page-data
cancel-in-progress: true
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Generate status page data
uses: kiegroup/chain-status/.ci/actions/generate-data@main
with:
definition-file: https://raw.githubusercontent.com/kiegroup/optaplanner/main/.ci/builchain-config.yaml
definition-file: https://raw.githubusercontent.com/apache/incubator-kie-optaplanner/main/.ci/builchain-config.yaml
title: Pull Request Status
subtitle: OptaPlanner organization repositories CI Status
base-branch-filter: main,8\.*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jenkins-tests-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
uses: kiegroup/kie-ci/.ci/actions/dsl-tests@main
with:
project: optaplanner
main-config-file-repo: kiegroup/optaplanner
main-config-file-repo: apache/incubator-kie-optaplanner
main-config-file-path: .ci/jenkins/config/main.yaml
branch-config-file-repo: kiegroup/optaplanner
branch-config-file-repo: apache/incubator-kie-optaplanner
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ jobs:
# 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/buildchain-config.yaml
definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/incubator-kie-optaplanner/${BRANCH:main}/.ci/buildchain-config.yaml
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
starting-project: kiegroup/optaplanner
starting-project: apache/incubator-kie-optaplanner
flow-type: ${{ env.FLOW_TYPE }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Surefire Report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rhbop_productized_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
# 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
definition-file: https://raw.githubusercontent.com/${GROUP:kiegroup}/incubator-kie-optaplanner/${BRANCH:main}/.ci/pull-request-config-rhbop.yaml
annotations-prefix: ${{ runner.os }}-${{ matrix.java-version }}/${{ matrix.maven-version }}
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Surefire Report
Expand Down