Skip to content

spinframework/spin-environments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Spin target environments

This repository contains target environment definitions for Spin. Each target environment is a TOML file which maps triggers to the WIT worlds supported by those triggers. These can be referenced in the Spin manifest application.targets array (as e.g. spin-up@3.4).

Environment definitions:

  • are TOML files
  • live under a <environment-name> directory
  • are named <environment-name>@<version>.toml

Versions should include minor version only because WITs should not change in patch releases.

(The <environment-name> directory is technically redundant but just makes the repo a bit easier to navigate!)

Schema

  • default (optional)
    • worlds - array of worlds to accept when an unknown triggers is in play
  • triggers
    • <trigger-type>
      • worlds - array of worlds to accept when this trigger is in play
      • capabilities - lockfile capabilities that the host provides when this trigger is in play
  • metadata (all optional)
    • templates - Spin app templates recommended for developing for this environment
      • url - the git repo containing templates for this environment
      • tag - optional tag, if present then use this rev of the templates
    • plugins - plugins recommended to install for working with this environment

About

Spin target environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors