File tree Expand file tree Collapse file tree 4 files changed +35
-0
lines changed
Expand file tree Collapse file tree 4 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Spin target environments
2+
3+ This folder contains target environment definitions for Spin. Each target
4+ environment is a TOML file which maps triggers to the WIT worlds supported by
5+ those triggers. When pushed to an OCI registry, these can be referenced
6+ in the Spin manifest ` application.targets ` array.
7+
8+ Pushed environment definitions should not include the ` .toml ` extension
9+ and should be versioned using OCI versioning, e.g. ` spin-up:3.4 `
10+ We avoid using this convention for the source files because 1. syntax
11+ highlighting and 2. Windows filenames.
12+
13+ Versions should include _ minor version only_ because WITs should not
14+ change in patch releases.
Original file line number Diff line number Diff line change 1+ default = { worlds = [" spin:up/platform@3.2.0" ] }
2+
3+ [triggers ]
4+
5+ [triggers .http ]
6+ worlds = [" spin:up/http-trigger@3.2.0" ]
7+ capabilities = [" local_service_chaining" ]
Original file line number Diff line number Diff line change 1+ default = { worlds = [" spin:up/platform@3.4.0" ] }
2+
3+ [triggers ]
4+
5+ [triggers .http ]
6+ worlds = [" spin:up/http-trigger@3.4.0" ]
7+ capabilities = [" local_service_chaining" ]
Original file line number Diff line number Diff line change 1+ default = { worlds = [" spin:up/platform@3.5.0" ] }
2+
3+ [triggers ]
4+
5+ [triggers .http ]
6+ worlds = [" spin:up/http-trigger@3.5.0" , " spin:up/http-trigger@3.4.0" ]
7+ capabilities = [" local_service_chaining" ]
You can’t perform that action at this time.
0 commit comments