Attachments
There are 3 main types of DotZero attachments:
EnvVarDistEnvVarRepo
Attachments are defined at the workflow level, and apply to all capabilities.
EnvVar
An EnvVar spec defines a set of environment variables apply to a given capability. The environment variables themselves are defined in a toml file
Sample EnvVar spec:
name: prototype
description: prototype EnvVar
labels:
- key: d0-kind
value: EnvVar
- key: d0-workflow-kind
value: CapabilitiesWorkflowJob
- key: d0-workflow-name
value: prototype
meta_data:
api_version: default-spec/v1.env_vars
kind: EnvVar
spec:
env_vars:
toml:
- path: AnsiblePlayJob-prototype-1.toml
- path: BashCommandJob-bob-1.toml
- path: BashScriptJob-prototype-1.tomlSample EnvVar spec:
Last updated
Was this helpful?