-
Notifications
You must be signed in to change notification settings - Fork 104
/
.cirrus.star
38 lines (36 loc) · 1017 Bytes
/
.cirrus.star
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
# Check Starlark specs: https://github.com/bazelbuild/starlark/blob/master/spec.md
# DevInfra modules
load("github.com/SonarSource/cirrus-modules@v3", "load_features")
# Modules
load(
"github.com/SonarSource/cirrus-modules/cloud-native/helper.star@analysis/master",
"merge_dict"
)
load(".cirrus/modules/env.star", "env")
load(
".cirrus/modules/build.star",
"build_task",
"build_test_analyze_task",
"sca_scan_task"
)
load(
".cirrus/modules/qa.star",
"qa_os_win_task",
"qa_plugin_task",
"qa_ruling_task",
"qa_pr_analysis_task"
)
load(".cirrus/modules/promote.star", "promote_task")
def main(ctx):
conf = dict()
merge_dict(conf, load_features(ctx))
merge_dict(conf, env())
merge_dict(conf, build_task())
merge_dict(conf, build_test_analyze_task())
merge_dict(conf, qa_os_win_task())
merge_dict(conf, sca_scan_task())
merge_dict(conf, qa_plugin_task())
merge_dict(conf, qa_ruling_task())
merge_dict(conf, qa_pr_analysis_task())
merge_dict(conf, promote_task())
return conf