|
1 | 1 | # -*- coding: utf-8 -*- |
2 | 2 | # vim: ft=jinja |
3 | 3 |
|
4 | | -{%- macro format_ci_matrix(platforms, inspec_suites_kitchen, inspec_suites_matrix, platforms_matrix, platforms_matrix_commented_includes, semrel_formula, width=4, use_new_travis_format=False ) %} |
| 4 | +{%- macro format_ci_matrix( |
| 5 | + platforms, |
| 6 | + inspec_suites_kitchen, |
| 7 | + inspec_suites_matrix, |
| 8 | + platforms_matrix, |
| 9 | + platforms_matrix_commented_includes, |
| 10 | + semrel_formula, |
| 11 | + width=4, |
| 12 | + use_new_travis_format=False |
| 13 | + ) %} |
5 | 14 | {%- filter indent(width) %} |
6 | 15 | {#- Centralise duplication from here and `kitchen.yml` #} |
7 | 16 | {%- set platform_and_suite_names_done = [] %} |
|
25 | 34 | {%- do platform_and_suite_names_done.append(platform_and_suite_name) %} |
26 | 35 | {#- Only continue depending on an appropriate combination of `includes` and `excludes`: #} |
27 | 36 | {#- |---|-----|-----|--------| #} |
28 | | -{#- | # | inc | exc | result | #} |
| 37 | +{#- | # | inc | exc | result | #} |
29 | 38 | {#- |---|-----|-----|--------| #} |
30 | | -{#- | 1 | y | [] | TRUE | #} |
31 | | -{#- | 2 | y | n | TRUE | #} |
32 | | -{#- | 3 | y | y | TRUE | #} |
33 | | -{#- | 4 | [] | [] | TRUE | #} |
34 | | -{#- | 5 | [] | n | TRUE | #} |
35 | | -{#- | 6 | [] | y | FALSE | #} |
36 | | -{#- | 7 | n | [] | FALSE | #} |
37 | | -{#- | 8 | n | n | FALSE | #} |
38 | | -{#- | 9 | n | y | FALSE | #} |
| 39 | +{#- | 1 | y | [] | TRUE | #} |
| 40 | +{#- | 2 | y | n | TRUE | #} |
| 41 | +{#- | 3 | y | y | TRUE | #} |
| 42 | +{#- | 4 | [] | [] | TRUE | #} |
| 43 | +{#- | 5 | [] | n | TRUE | #} |
| 44 | +{#- | 6 | [] | y | FALSE | #} |
| 45 | +{#- | 7 | n | [] | FALSE | #} |
| 46 | +{#- | 8 | n | n | FALSE | #} |
| 47 | +{#- | 9 | n | y | FALSE | #} |
39 | 48 | {#- |---|-----|-----|--------| #} |
40 | 49 | {%- if (platform in includes) or (not includes and platform not in excludes) %} |
41 | 50 | {%- set include_instance = True %} |
|
67 | 76 | salt_ver | replace('.', '-'), |
68 | 77 | py_ver, |
69 | 78 | ) %} |
70 | | -{{ comment }}- {{instance_and_env }}{{ instance }} |
| 79 | +{{ comment }}- {{ instance_and_env }}{{ instance }} |
71 | 80 | {%- endif %} |
72 | 81 | {%- endif %} |
73 | 82 | {%- endif %} |
|
0 commit comments