Script Policy

scriptpolicy

Identified with the scriptpolicy key, it is an array of scripts that are run sequentially. By default scripts are run as root, but this can be changed with the runas key (this is useful in the User Policy)

Scripts can be run at various stages using the key: runphase:

  • regular: after the machine has been initialized w/ the basic templates, this is the default, it does not need to be specified
  • checkout: when a user is assigned to a devbox

Example:

Related
Basic Template Policy
Templates control how a DevZero “devbox” is created so that code is cloned, packages installed and custom commands are run.
Software Policy
List of Debian packages that will get installed on a devbox.
Repo Policy
List of Debian packages that will get installed on a devbox.
Popular
Source Code Management Integrations
DevZero supports GitHub (Cloud and On-Prem) and Gitlab.
Secrets
The usage of tokens, passwords, and keys are a critical part to most development environments.
Basic Template Policy
Templates control how a DevZero “devbox” is created so that code is cloned, packages installed and custom commands are run.