|
279 | 279 | # Production variant for catalogs whose resource profiles are WASIp2 components. |
280 | 280 | # |
281 | 281 | # Doubles as `checks.wasip2-resource-providers`: one compile of the runtime feature serves |
282 | | - # the package's hermetic suite, the provider/supervisor end-to-end targets, and the |
283 | | - # Component Model executor's fixture and cache trust boundary — the default workspace stays |
284 | | - # Wasmtime-free either way. |
| 282 | + # the provider/supervisor end-to-end targets and the Component Model executor's fixture and |
| 283 | + # cache trust boundary. The default workspace remains covered by `checks.st2`. |
285 | 284 | st2ProviderRuntime = st2.overrideAttrs (old: { |
286 | 285 | pname = "st2-provider-runtime"; |
287 | 286 | cargoBuildFeatures = (old.cargoBuildFeatures or [ ]) ++ [ "wasip2-provider-runtime" ]; |
|
294 | 293 | ST2_GITHUB_PR_COMPONENT = providerComponentPath "st2_github_pr_component"; |
295 | 294 | ST2_PTY_STATS_COMPONENT = providerComponentPath "st2_pty_stats_component"; |
296 | 295 | ST2_VISTA_COMPONENT = providerComponentPath "st2_vista_component"; |
297 | | - postCheck = |
298 | | - extraCargoTest { |
299 | | - label = "wasip2 resource providers"; |
300 | | - flags = [ |
301 | | - "-p" |
302 | | - "st2-resource-providers" |
303 | | - "--lib" |
304 | | - "--test" |
305 | | - "github_issue_component" |
306 | | - "--test" |
307 | | - "github_pr_component" |
308 | | - "-p" |
309 | | - "st2" |
310 | | - "--features" |
311 | | - "st2/wasip2-provider-runtime" |
312 | | - "--test" |
313 | | - "resource_profile_supervisor_e2e" |
314 | | - "--test" |
315 | | - "resource_provider_e2e" |
316 | | - ]; |
317 | | - } |
318 | | - + extraCargoTest { |
319 | | - label = "wasip2 resource executor"; |
320 | | - flags = [ |
321 | | - "-p" |
322 | | - "st2-resource-wasip2" |
323 | | - "--features" |
324 | | - "runtime" |
325 | | - "--lib" |
326 | | - "--test" |
327 | | - "executor" |
328 | | - ]; |
329 | | - }; |
| 296 | + cargoTestFlags = [ |
| 297 | + "-p" |
| 298 | + "st2-resource-providers" |
| 299 | + "--lib" |
| 300 | + "--test" |
| 301 | + "github_issue_component" |
| 302 | + "--test" |
| 303 | + "github_pr_component" |
| 304 | + "-p" |
| 305 | + "st2" |
| 306 | + "--features" |
| 307 | + "st2/wasip2-provider-runtime" |
| 308 | + "--test" |
| 309 | + "resource_profile_supervisor_e2e" |
| 310 | + "--test" |
| 311 | + "resource_provider_e2e" |
| 312 | + ]; |
| 313 | + postCheck = extraCargoTest { |
| 314 | + label = "wasip2 resource executor"; |
| 315 | + flags = [ |
| 316 | + "-p" |
| 317 | + "st2-resource-wasip2" |
| 318 | + "--features" |
| 319 | + "runtime" |
| 320 | + "--lib" |
| 321 | + "--test" |
| 322 | + "executor" |
| 323 | + ]; |
| 324 | + }; |
330 | 325 | }); |
331 | 326 |
|
332 | 327 | # Sandbox-safe integration episodes the package's own release-mode boundary cannot reach, |
|
0 commit comments