Skip to content

Commit

Permalink
.ci/buildchain-project-dependencies.yaml: remove Drools / Kogito mapping
Browse files Browse the repository at this point in the history
This mapping is not required anymore as Drools and Kogito are now synced in the same branch/version.
This was needed before because the branches used to be Kogito 1.x and Drools 8.x
  • Loading branch information
rgdoliveira committed Apr 4, 2024
1 parent a95811e commit f48a1b4
Showing 1 changed file with 1 addition and 53 deletions.
54 changes: 1 addition & 53 deletions .ci/buildchain-project-dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,68 +1,16 @@
version: "2.1"
dependencies:
- project: kiegroup/drools
mapping:
dependencies:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1-7}.${n2}`)"
dependant:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1+7}.${n2}`)"
# exclude:
# - kiegroup/kie-jpmml-integration

- project: kiegroup/kogito-runtimes
dependencies:
- project: kiegroup/drools
mapping:
dependencies:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1+7}.${n2}`)"
dependant:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1-7}.${n2}`)"
exclude:
- kiegroup/kogito-examples
- kiegroup/kogito-apps


- project: kiegroup/kogito-apps
dependencies:
- project: kiegroup/kogito-runtimes
mapping:
dependencies:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1+7}.${n2}`)"
dependant:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1-7}.${n2}`)"
exclude:
- kiegroup/kogito-examples
- kiegroup/kogito-runtimes

- project: kiegroup/kogito-examples
dependencies:
- project: kiegroup/kogito-runtimes
- project: kiegroup/kogito-apps
mapping:
dependencies:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1+7}.${n2}`)"
dependant:
default:
- source: (\d*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)/g, (m, n1, n2) => `${+n1-7}.${n2}`)"
exclude:
- kiegroup/kogito-apps
- kiegroup/kogito-runtimes

# - project: kiegroup/kie-jpmml-integration
# dependencies:
# - project: kiegroup/drools
# no mapping needed

0 comments on commit f48a1b4

Please sign in to comment.