Repository navigation
Release v3.134.0
A model with extensions now runs with cratis run after its settings and secrets are set with cratis config. Extensions are admitted against screenplay.lock and the project's allow-list before anything starts, and secret values never appear on a command line, in output or in a file that is committed.
Added
cratis config --requires <model>lists everything a model needs from the selected environment - identity provider keys, named secrets (secrets.<Name>) and the settings of its extensions (systems.<System>.<setting>) - with whether each is set. It never prints a value, and exits with5while a key is missing or an extension is not restored. (#577)cratis runadmits a model's extensions before starting Docker: each must be pinned inscreenplay.lockand its publisher and reference allowed in.cratis/extensions.json, otherwise nothing starts (exit5). Contracts are restored from the lock into the digest-keyed cache, and the Stage keeps pulled packages by digest in a cache that survives runs. (#577)cratis runhands the Stage the extension settings assystems__<System>__<setting>configuration, named secrets mapped to the settings that use them, registry credentials, the allow-list and the signing keys of the locked publishers. The Stage starts each backend in its tier when it is first needed. (#577)- Documentation for extension settings, named secrets, registry credentials and allow-lists in the environments and run pages, linked with the Screenplay and Stage documentation. (#577)
Changed
cratis config setalways stores a key undersecrets.as a secret, with or without--secret, and refuses a value given as an argument.cratis config --missingalso lists the named secrets and extension settings a model needs.- A secret passed to the Stage goes in a file only your user can read, passed with
--env-fileand deleted when the run ends; a secret value that spans several lines, or a registry host with a port, is refused by name. cratis runon a single.playfile refuses a model that has extensions: run the folder that holds the model and the lock.