continuous-integration icon indicating copy to clipboard operation
continuous-integration copied to clipboard

Using import "foo.yml" syntax expects the working directory to be "foo"

Open aiuto opened this issue 2 years ago • 0 comments

This is a strange and undocumented feature. It means you can't easily split sections of the yaml up by logical grouping. Instead, it expects sections to be by file system layout. For example, if you called the include file tutorials.yml, but actual things were scattered, we have to work around it with things like

tutorials.yml

tasks:
  concept1:
     working_directory: ../training/concept1
  getting_started:
     working_directory: ../basics/getting_started

aiuto avatar Apr 19 '22 15:04 aiuto