-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.yml
269 lines (237 loc) · 6.68 KB
/
config.yml
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
###############################################
# Evergreen Template for AI-ML-Testing Pipeline
###############################################
# Mark a failure as a system/bootstrap failure (purple box) rather then a task
# failure by default.
# Actual testing tasks are marked with `type: test`
command_type: system
# Protect yourself against rogue test case, or curl gone wild, that runs forever
# Good rule of thumb: the averageish length a task takes, times 5
# That roughly accounts for variable system performance for various buildvariants
exec_timeout_secs:
3600 # 60 minutes is the longest we'll ever run (primarily
# for macos hosts)
# What to do when evergreen hits the timeout (`post:` tasks are run automatically)
timeout:
- command: shell.exec
params:
script: |
ls -la
functions:
"fetch source":
- command: git.get_project
type: setup
params:
directory: "src"
"fetch secrets":
- command: subprocess.exec
type: setup
params:
working_dir: "src"
binary: bash
args: [.evergreen/fetch-secrets.sh]
"fetch repo":
- command: subprocess.exec
type: setup
params:
include_expansions_in_env: [DIR]
working_dir: "src"
binary: bash
args: [.evergreen/fetch-repo.sh]
"execute tests":
- command: subprocess.exec
type: test
params:
include_expansions_in_env: [DIR]
working_dir: "src"
binary: bash
args: [.evergreen/execute-tests.sh]
"setup local atlas":
- command: subprocess.exec
type: setup
retry_on_failure: true
params:
include_expansions_in_env: [DIR]
working_dir: "src"
binary: bash
args:
- .evergreen/provision-atlas.sh
"setup remote atlas":
- command: subprocess.exec
type: setup
params:
include_expansions_in_env: [DIR]
working_dir: "src"
binary: bash
args: [.evergreen/setup-remote.sh]
pre_error_fails_task: true
pre:
- func: "fetch source"
- func: "fetch secrets"
tasks:
- name: test-semantic-kernel-python-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-semantic-kernel-python-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
- name: test-semantic-kernel-csharp-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-semantic-kernel-csharp-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
- name: test-langchain-python-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-langchain-python-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
- name: test-langgraph-python-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-langgraph-python-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
- name: test-chatgpt-retrieval-plugin-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-chatgpt-retrieval-plugin-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
- name: test-llama-index-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-llama-index-remote
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
- name: test-docarray-local
tags: [local]
commands:
- func: "fetch repo"
- func: "setup local atlas"
- func: "execute tests"
- name: test-docarray-remote
tags: [remote]
commands:
- func: "fetch repo"
- func: "setup remote atlas"
- func: "execute tests"
buildvariants:
- name: test-llama-index-kvstore-rhel
# TODO - Maintainer has pushed back on this.
display_name: LlamaIndex RHEL KV Store
expansions:
DIR: llama-index-python-kvstore
run_on:
- rhel87-small
tasks:
- name: test-llama-index-local
- name: test-llama-index-remote
batchtime: 10080 # 1 week
- name: test-semantic-kernel-python-rhel
display_name: Semantic-Kernel RHEL Python
expansions:
DIR: semantic-kernel-python
run_on:
- rhel87-small
tasks:
- name: test-semantic-kernel-python-local
# TODO: INTPYTHON-430
# - name: test-semantic-kernel-python-remote
# batchtime: 10080 # 1 week
- name: test-semantic-kernel-csharp-rhel
display_name: Semantic-Kernel RHEL CSharp
expansions:
DIR: semantic-kernel-csharp
run_on:
- rhel87-small
tasks:
- name: test-semantic-kernel-csharp-local
- name: test-semantic-kernel-csharp-remote
batchtime: 10080 # 1 week
- name: test-langchain-python-rhel
display_name: Langchain RHEL Python
expansions:
DIR: langchain-python
run_on:
- rhel87-small
tasks:
- name: test-langchain-python-local
- name: test-langchain-python-remote
batchtime: 10080 # 1 week
- name: test-langgraph-python-rhel
display_name: Langgraph RHEL Python
expansions:
DIR: langgraph-python
run_on:
- rhel87-small
tasks:
- name: test-langgraph-python-local
- name: test-langgraph-python-remote
batchtime: 10080 # 1 week
- name: test-chatgpt-retrieval-plugin-rhel
display_name: ChatGPT Retrieval Plugin
expansions:
DIR: chatgpt-retrieval-plugin
run_on:
- rhel87-small
tasks:
- name: test-chatgpt-retrieval-plugin-local
- name: test-chatgpt-retrieval-plugin-remote
batchtime: 10080 # 1 week
- name: test-llama-index-vectorstore-rhel
display_name: LlamaIndex RHEL Vector Store
expansions:
DIR: llama-index-python-vectorstore
run_on:
- rhel87-small
tasks:
- name: test-llama-index-local
# TODO: INTPYTHON-440
# - name: test-llama-index-remote
# batchtime: 10080 # 1 week
- name: test-docarray-rhel
display_name: DocArray RHEL
expansions:
DIR: docarray
run_on:
- rhel87-small
tasks:
- name: test-docarray-local
- name: test-docarray-remote