Skip to content

Instantly share code, notes, and snippets.

@srenatus
Created December 18, 2013 08:50
Show Gist options
  • Save srenatus/8019254 to your computer and use it in GitHub Desktop.
Save srenatus/8019254 to your computer and use it in GitHub Desktop.
DRY .kitchen.yml using YAML references
---
platforms:
- name: ubuntu-12.04
- name: centos-6.4
suites:
- name: backend-6.2
run_list: &backend
- recipe[foo-qa::backend]
attributes: &legacy
foo:
version: 6.2.2
- name: backend-7.0
run_list: *backend
attributes: &70
foo:
version: 7.0.1
- name: backend-7.2
run_list: *backend
attributes: &72
foo:
version: 7.2.2
- name: backend-7.4
run_list: *backend
attributes: &74
foo:
version: 7.4.1
- name: office-7.4
run_list: &office
- recipe[foo-qa::backend]
- recipe[foo::office]
attributes: *74
- name: office-7.2
run_list: *office
attributes: *72
- name: office-7.0
run_list: *office
attributes: *70
- name: ui-7.4
run_list: &ui
- recipe[foo-qa]
- recipe[foo::ui]
attributes: *74
- name: ui-7.2
run_list: *ui
attributes: *72
- name: ui-7.0
run_list: *ui
attributes: *70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment