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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
{ "git-imports":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["git-imports"]
, "test": ["git-imports.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "git-import-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
}
, "deduplicate":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["deduplicate"]
, "test": ["deduplicate.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "deduplicate-tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
, "keep":
[ "repos-keep.json"
, "actions-keep.json"
, "repos.json"
, "actions.json"
, "repos-dedup.json"
]
}
, "absent":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["absent"]
, "test": ["absent.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
}
, "computed":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["computed"]
, "test": ["computed.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
, "keep": ["repos.json", "actions.json"]
}
, "file-imports":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["file-imports"]
, "test": ["file-imports.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
}
, "archive-imports":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["archive-imports"]
, "test": ["archive-imports.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
}
, "git-tree-imports":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["git-tree-imports"]
, "test": ["git-tree-imports.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
}
, "plain-imports":
{ "type": ["@", "rules", "shell/test", "script"]
, "name": ["plain-imports"]
, "test": ["plain-imports.sh"]
, "deps":
[ ["", "mr-tool-under-test"]
, ["", "tool-under-test"]
, ["end-to-end", "lock-tool-under-test"]
]
}
, "TESTS":
{ "type": ["@", "rules", "test", "suite"]
, "arguments_config": ["TEST_BOOTSTRAP_JUST_MR"]
, "stage": ["just-lock"]
, "deps":
{ "type": "++"
, "$1":
[ ["deduplicate", "absent"]
, { "type": "if"
, "cond": {"type": "var", "name": "TEST_BOOTSTRAP_JUST_MR"}
, "then": []
, "else":
[ "git-imports"
, "computed"
, "file-imports"
, "archive-imports"
, "git-tree-imports"
, "plain-imports"
]
}
]
}
}
}
|