Skip to content

Commit 73db2d2

Browse files
committed
examples(spec): add ExecutionFork example
1 parent 98d33c0 commit 73db2d2

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

examples/execution_fork.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": "urn:srcos:execution-fork:checkout-example",
3+
"type": "ExecutionFork",
4+
"specVersion": "2.0.0",
5+
"name": "checkout-example",
6+
"substrate": "kubernetes",
7+
"baselineRef": "urn:srcos:truth-surface:baseline-example",
8+
"baselineDigest": "sha256:baseline-example",
9+
"routingContractRef": "urn:srcos:routing-contract:checkout-example",
10+
"runnerGroupRef": "urn:srcos:runner-group:validation-standard",
11+
"quotaPolicyRef": "urn:srcos:quota:team-default",
12+
"isolationRefs": ["urn:srcos:isolation:database-partition-example"],
13+
"workloads": [
14+
{
15+
"name": "checkout",
16+
"targetRef": "urn:srcos:workload:checkout",
17+
"imageRef": "image.local/checkout:example",
18+
"localPath": null,
19+
"writePolicy": "isolated_only",
20+
"envOverrides": { "FEATURE_MODE": "example" }
21+
}
22+
],
23+
"ttl": "8h",
24+
"cleanupPolicy": "destroy_with_evidence_retained",
25+
"tags": ["example", "validation"]
26+
}

0 commit comments

Comments
 (0)