Skip to main content

DeploymentVariables

@webda/core


Interface: DeploymentVariables

Defined in: packages/core/src/deployers/deployer.ts:42

Variables available to the ${...} templates of a deployer

Indexable​

[key: string]: any

Additional variables

Properties​

deployer​

deployer: object

Defined in: packages/core/src/deployers/deployer.ts:50

The deployer: unit name and service type

name​

name: string

type​

type: string


deployment​

deployment: string

Defined in: packages/core/src/deployers/deployer.ts:46

Name of the current deployment, empty if none


env​

env: Record<string, string | undefined>

Defined in: packages/core/src/deployers/deployer.ts:70

Environment variables, for secrets from the CI


git​

git: GitInformation

Defined in: packages/core/src/deployers/deployer.ts:66

Git information of the application repository


now​

now: number

Defined in: packages/core/src/deployers/deployer.ts:74

Current timestamp


package​

package: PackageDescriptor

Defined in: packages/core/src/deployers/deployer.ts:58

package.json of the application


resources​

resources: Record<string, any>

Defined in: packages/core/src/deployers/deployer.ts:54

Parameters of the deployer, before replacement


webda​

webda: WebdaPackageDescriptor

Defined in: packages/core/src/deployers/deployer.ts:62

Webda configuration of the package.json, merged with the workspace one