Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/assets/definition-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ The type of the asset, determines how the execution will happen. Must be one of

## `owner`
The owner of the asset, has no functional implications on Bruin CLI as of today, allows documenting the ownership information. On [Bruin Cloud](https://getbruin.com), it is used to analyze ownership information, used in governance reports and ownership lineage.
- **Type:** `String`
- **Type:** `String`

## `tier`
Defines an optional priority grouping for assets. Valid values range from `1` to `5`; omit the field to use the default behavior.

## `tags`
As the name states, tags that are applied to the asset. These tags can then be used while running assets, e.g.:
Expand Down
2 changes: 1 addition & 1 deletion pkg/pipeline/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,8 +672,8 @@
Image string `json:"image" yaml:"image,omitempty" mapstructure:"image"`
Instance string `json:"instance" yaml:"instance,omitempty" mapstructure:"instance"`
Owner string `json:"owner" yaml:"owner,omitempty" mapstructure:"owner"`
Tier int `json:"tier,omitempty" yaml:"tier,omitempty" mapstructure:"tier"`
Tier int `json:"tier,omitempty" yaml:"tier,omitempty" mapstructure:"tier"`
ExecutableFile ExecutableFile `json:"executable_file" yaml:"-" mapstructure:"-"`

Check failure on line 676 in pkg/pipeline/pipeline.go

View workflow job for this annotation

GitHub Actions / lint

File is not properly formatted (gci)
DefinitionFile TaskDefinitionFile `json:"definition_file" yaml:"-" mapstructure:"-"`
Parameters EmptyStringMap `json:"parameters" yaml:"parameters,omitempty" mapstructure:"parameters"`
Secrets []SecretMapping `json:"secrets" yaml:"secrets,omitempty" mapstructure:"secrets"`
Expand Down
Loading