Skip to content

Commit cb2403e

Browse files
committed
[GR-17907] Move CI code into overlay
PullRequest: graalpython/660
2 parents a39d509 + b31fac5 commit cb2403e

File tree

9 files changed

+30
-497
lines changed

9 files changed

+30
-497
lines changed

ci.jsonnet

Lines changed: 1 addition & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1 @@
1-
local utils = import 'ci_common/utils.libsonnet';
2-
local const = import 'ci_common/constants.libsonnet';
3-
local builder = import 'ci_common/builder.libsonnet';
4-
5-
{
6-
overlay: "7ad24fb14b37e95aeac98c4dacf2e1350b928ad2",
7-
8-
// ======================================================================================================
9-
//
10-
// help:
11-
// 1) to get the json out of the jsonnet configuration make sure the `jsonnet` executable is in path
12-
// 2) execute the following command: jsonnet ci.jsonnet > ci.json
13-
// 3) a helper script which does just that is located in: ./scripts/jsonnet_json.sh
14-
//
15-
// ======================================================================================================
16-
17-
// ------------------------------------------------------------------------------------------------------
18-
//
19-
// the gates
20-
//
21-
// ------------------------------------------------------------------------------------------------------
22-
local gates = [
23-
// unittests on JDK8
24-
builder.testGate(type="unittest", platform="linux"),
25-
builder.testGate(type="unittest", platform="darwin"),
26-
builder.testGateTime(type="tagged-unittest", platform="linux", timelimit=const.TIME_LIMIT["2h"]),
27-
builder.testGateTime(type="tagged-unittest", platform="darwin", timelimit=const.TIME_LIMIT["2h"]),
28-
builder.testGate(type="svm-unittest", platform="linux"),
29-
builder.testGate(type="svm-unittest", platform="darwin"),
30-
builder.testGate(type="unittest-jython", platform="linux"),
31-
32-
// JDK11
33-
// builder.testGate11(type="unittest", platform="linux"),
34-
// builder.testGate11(type="svm-unittest", platform="linux"),
35-
36-
// junit
37-
builder.testGate(type="junit", platform="linux"),
38-
builder.testGate(type="junit", platform="darwin"),
39-
40-
// style
41-
builder.styleGate,
42-
43-
// coverage
44-
builder.coverageGate,
45-
46-
// graalvm gates
47-
builder.graalVmGate,
48-
49-
// deploy binaries
50-
builder.deployGate(platform="linux"),
51-
builder.deployGate(platform="darwin"),
52-
],
53-
54-
// ======================================================================================================
55-
//
56-
// the builds (the public section)
57-
//
58-
// ======================================================================================================
59-
builds: gates,
60-
}
1+
{ overlay: "91be9b2632f293b113131237d17087c52276ac3e" }

ci_common/builder.libsonnet

Lines changed: 0 additions & 126 deletions
This file was deleted.

ci_common/constants.libsonnet

Lines changed: 0 additions & 31 deletions
This file was deleted.

ci_common/mixins.libsonnet

Lines changed: 0 additions & 135 deletions
This file was deleted.

0 commit comments

Comments
 (0)