Created
December 18, 2013 08:50
-
-
Save srenatus/8019254 to your computer and use it in GitHub Desktop.
DRY .kitchen.yml using YAML references
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ls -ld test/integration/backend* | |
drwxr-xr-x 3 srenatus staff 102 17 Dec 15:31 test/integration/backend | |
lrwxr-xr-x 1 srenatus staff 7 17 Dec 16:00 test/integration/backend-7.0 -> backend | |
lrwxr-xr-x 1 srenatus staff 7 17 Dec 16:00 test/integration/backend-7.2 -> backend | |
lrwxr-xr-x 1 srenatus staff 7 17 Dec 16:00 test/integration/backend-7.4 -> backend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment