-
Notifications
You must be signed in to change notification settings - Fork 24
/
tests.json
55 lines (55 loc) · 3.48 KB
/
tests.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[
{
"name": "issue-372",
"cmd": "build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/droolsjbpm-build-bootstrap/${BRANCH:main}/.ci/compilation-config.yaml' -o bc -u https://github.com/kiegroup/appformer/pull/1394 --skipExecution",
"description": "To test that definition file url placeholders fallback to using default value. Checking whether build succeeded is enough"
},
{
"name": "issue-401",
"cmd": "build-chain build cross_pr -f 'https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/%{process.env.GITHUB_BASE_REF.replace(/(\\d*)\\.(.*)\\.(.*)/g, (m, n1, n2, n3) => `${+n1-7}.${n2}.${n3}`)}/.ci/pull-request-config.yaml' -o bc -u https://github.com/apache/incubator-kie-optaplanner/pull/2634 -p kiegroup/optaplanner --skipExecution",
"description": "To test that definition file url placeholders as well as expressions work when defined together. Checking whether build succeeded is enough"
},
{
"name": "issue-386",
"cmd": "build-chain build cross_pr -f 'https://raw.githubusercontent.com/apache/incubator-kie-kogito-pipelines/1.34.x/.ci/pull-request-config.yaml' -o bc -u https://github.com/apache/incubator-kie-kogito-examples/pull/1570 -p kiegroup/kogito-examples --skipExecution",
"description": "To test if GITHUB_BASE_REF is set during CLI execution. Checking if 8.34.x is checked out of drools should verify this",
"matchOutput": [
"Project taken from kiegroup/drools:8.34.x",
"Project taken from kiegroup/kogito-runtimes:1.34.x",
"Project taken from kiegroup/kogito-apps:1.34.x",
"Project taken from kiegroup/kogito-examples:1.34.x"
]
},
{
"name": "pr-388,build-chain-config-reader-issue-91",
"cmd": "build-chain build branch -f 'https://raw.githubusercontent.com/${GROUP:kiegroup}/optaplanner/8.38.x-prod/.ci/nightly-build-config.yaml' -b main -o bc -p kiegroup/optaplanner --fullProjectDependencyTree --skipParallelCheckout --skipExecution --skipProjectCheckout 'jboss-integration/rhbop-optaplanner'",
"description": "There needs to be a clear difference between project triggering the job and starting project. Checking which branch is checked out should verify this since if there was no distinction then we would have incorrect mapping",
"matchOutput": [
"Project taken from kiegroup/drools:main",
"Project taken from kiegroup/optaplanner:main",
"Project taken from kiegroup/optaplanner-quickstarts:8.x"
]
},
{
"name": "issue-378",
"cmd": "build-chain build branch -f https://raw.githubusercontent.com/rgdoliveira/kogito-pipelines/main/.ci/pull-request-config.yaml -o bc -p kiegroup/drools -b main -g rgdoliveira --skipExecution",
"description": "To ensure that branch flow uses the user input. Checking if rgdoliveira/drools is checked out instead of kiegroup/drools should be enough",
"matchOutput": [
"Project taken from rgdoliveira/drools:main"
],
"dontMatchOutput": [
"Project taken from kiegroup/drools:main"
]
},
{
"name": "issue-338",
"description": "${{ env.var }} was not being substituted",
"cmd": "build-chain build cross_pr -f https://raw.githubusercontent.com/kiegroup/droolsjbpm-build-bootstrap/main/.ci/pull-request-config.yaml --url https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/2187 -p kiegroup/droolsjbpm-build-bootstrap --skipExecution",
"matchOutput": [
"BUILD_MVN_OPTS= dependency:tree"
],
"dontMatchOutput": [
"BUILD_MVN_OPTS=${{ env.BUILD_MVN_OPTS }}"
]
}
]