Project

A Viash project configuration file. It’s name should be _viash.yaml.

Example:

viash_version: 0.6.4
source: src
target: target
config_mods: |
  .platforms[.type == 'docker'].target_registry := 'ghcr.io'
  .platforms[.type == 'docker'].target_organization := 'viash-io'
  .platforms[.type == 'docker'].namespace_separator := '/'
  .platforms[.type == 'docker'].target_image_source := 'https://github.com/viash-io/viash'

config_mods

Type: String / List of String

Default: Empty

Which config mods to apply.

Example:

config_mods: ".functionality.name := 'foo'"

source

Type: String

Default: Empty

Which source directory to use for the viash ns commands.

Example:

source: src

target

Type: String

Default: Empty

Which target directory to use for viash ns build.

Example:

target: target

viash_version

Type: String

Default: Empty

Which version of Viash to use.

Example:

viash_versions: 0.6.4