Skip to content

Commit

Permalink
fix .ci/nightly-project-dependencies.yaml (#1000) (#1001)
Browse files Browse the repository at this point in the history
Co-authored-by: Roberto Oliveira <[email protected]>
  • Loading branch information
github-actions[bot] and rgdoliveira authored Jun 19, 2023
1 parent b975901 commit fd0ea7d
Showing 1 changed file with 77 additions and 3 deletions.
80 changes: 77 additions & 3 deletions .ci/nightly-project-dependencies.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,82 @@
version: "2.1"

extends: ./project-dependencies.yaml

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

- 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, n3) => `${+n1+7}.${n2}.${n3}`)"
dependant:
default:
- source: (\d*)\.(.*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)\\.(.*)/g, (m, n1, n2, n3) => `${+n1-7}.${n2}.${n3}`)"
exclude:
- kiegroup/kogito-examples
- kiegroup/kogito-apps
- kiegroup/kogito-images

- 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, n3) => `${+n1+7}.${n2}.${n3}`)"
dependant:
default:
- source: (\d*)\.(.*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)\\.(.*)/g, (m, n1, n2, n3) => `${+n1-7}.${n2}.${n3}`)"
exclude:
- kiegroup/kogito-examples
- kiegroup/kogito-runtimes
- kiegroup/kogito-images

- 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, n3) => `${+n1+7}.${n2}.${n3}`)"
dependant:
default:
- source: (\d*)\.(.*)\.(.*)
targetExpression: "process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)\\.(.*)/g, (m, n1, n2, n3) => `${+n1-7}.${n2}.${n3}`)"
exclude:
- kiegroup/kogito-apps
- kiegroup/kogito-runtimes
- kiegroup/kogito-images

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

0 comments on commit fd0ea7d

Please sign in to comment.