The proposal to merge ~artivis/lpcraft:feature/yaml-include into lpcraft:main 
has been updated.

Description changed to:

[Do Not Merge Yet]

Note: This is based on top of another branch 
(https://git.launchpad.net/~artivis/lpcraft/tree/?h=feature/yaml-alias-filter) 
which may replace MP 
https://code.launchpad.net/~artivis/lpcraft/+git/lpcraft/+merge/435370

Add support for yaml inclusion.

This allows for including other yaml files to a configuration file using the 
'include' tag located at the root. Included file paths can be relative or 
absolute. Since yaml anchors are lost during the inclusion, this MP also 
introduce the 'extends' tag that essentially does the work of mapping.

Hereafter is an example of what that looks like,

# .included.launchpad.yaml
.test:
  series: bionic
  architectures: [amd64]

# .launchpad.yaml
pipeline:
  - test

include:
  - .included.launchpad.yaml

jobs:
  test-a:
      series: focal
      architectures: [amd64]
  test-b:
      extends: .test # maps '.test' nested entries
      packages: [file] # can be further extended with new entries

[Do Not Merge Yet]

For more details, see:
https://code.launchpad.net/~artivis/lpcraft/+git/lpcraft/+merge/435460
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of 
~artivis/lpcraft:feature/yaml-include into lpcraft:main.


_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to     : launchpad-reviewers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help   : https://help.launchpad.net/ListHelp

Reply via email to