Commit 9d4f5c09 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

globals.yml: flatten the yaml hierarchy



No need for a key here, we can just have these as top-level nodes
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 1dcc3de3
......@@ -16,7 +16,7 @@ if __name__ == '__main__':
# load the various definitions in the provided YAML files
src_folder = Path('src')
with open(src_folder / 'globals.yml') as fd:
globs = yaml.load(fd, Loader=yaml.Loader)['globals']
globs = yaml.load(fd, Loader=yaml.Loader)
# load the example so we can verify for wrong keys in the distribution
# files
......
globals:
## @scripts: list of scripts to be tested against in CI
##
## distros should not overwrite this list, it has a special global meaning
scripts:
- '.hidden_dir/test.sh /test_file'
- '/bin/bash test/script.sh'
- './test/script.sh'
- 'sh test/script.sh'
## @scripts: list of scripts to be tested against in CI
##
## distros should not overwrite this list, it has a special global meaning
scripts:
- '.hidden_dir/test.sh /test_file'
- '/bin/bash test/script.sh'
- './test/script.sh'
- 'sh test/script.sh'
## @bootstrap_tag: the current image tag associated with this bootstrap image
bootstrap_tag: '2020-10-30.1'
## @bootstrap_tag: the current image tag associated with this bootstrap image
bootstrap_tag: '2020-10-30.1'
## @qemu_tag: the current image tag associated with this qemu bootstrap image
qemu_tag: '2020-10-30.1'
## @qemu_tag: the current image tag associated with this qemu bootstrap image
qemu_tag: '2020-10-30.1'
## @ci_templates_registry_path: the path to where the templates should look
## for bootstrap images.
ci_templates_registry: 'quay.io'
ci_templates_registry_path: '/freedesktop.org/ci-templates'
## @ci_templates_registry_path: the path to where the templates should look
## for bootstrap images.
ci_templates_registry: 'quay.io'
ci_templates_registry_path: '/freedesktop.org/ci-templates'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment