Skip to content

Environment variables

Variable Used by Meaning
SQL2DEVOPS_DSN exec, package run Default connection string (change the name with --dsn-env)
SQL2DEVOPS_CONTROL_DIR most commands Path of the control repository (or --control-dir)
SQL2DEVOPS_SIGNING_KEY commands that record events Private signing key text
SQL2DEVOPS_VAR_<NAME> scripts with variables Value of a variable without a mapping in project.yaml
SQL2DEVOPS_LICENSE all License text (paid edition)
SQL2DEVOPS_LICENSE_FILE all Path of a license file
GITHUB_ACTOR identity In GitHub Actions, the actor becomes github:<login>
SQL2DEVOPS_DOWNLOAD_KEY installers Your download key
SQL2DEVOPS_VERSION installers Version to install (default: the latest)
SQL2DEVOPS_DIR, SQL2DEVOPS_BIN_DIR installers Installation folders

Connection strings for deployments come from the variables named by dsn_env in project.yaml, and variable values from the names under variables.