From c7c39052213462cf15766f515ce6c8f7754395d4 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 12 Feb 2021 06:27:28 +0000 Subject: [PATCH] feat: overhaul CI Establish all of the following changes: .DONE . Use wildcards for (but *maintain* current ordering of entries when rendered): .. NOTE: Use new values to ensure reverse compatibility, where need to be able to use the original, non-wildcard method instead .. To filter out `platforms` that must not be included (and `platform_matrix`) .. `platform_suite` inclusions and exclusions .. `platforms_matrix` (after initial testing) . Use latest pre-salted images .. Active unique combination of platforms for all formulas: ... E.g. `apt-formula` must only have Debian-based platforms in the list ... Based around idea of supplying these in the `FORMULA` file ... Active became the wildcards that have been implemented . Move `dependencies` to the top in each suite (where used) .TODO . Use `share` suite everywhere automatically (no need to define or at least minimise) .. LEAVE: Too much hassle to arrange this, do in a subsequent PR . Put `_mapdata` files in place, even if not used straight away .. Include for each suite in `kitchen.yml` immediately (useful for debug output) . Enable Travis CI for the 4 formulas not working with GitLab CI . Consider: .. New solution for `platforms_matrix_commented_includes`: ... Use wildcards? ... Automatic generation from "ideal, unique platforms"? .. Find method to avoid using `inspec_suites_matrix` (just do automatically?) .. Avoid `:context:git:github:repo` where possible (use expected default) --- ssf/defaults.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ssf/defaults.yaml b/ssf/defaults.yaml index 855b7d8b..76703e51 100644 --- a/ssf/defaults.yaml +++ b/ssf/defaults.yaml @@ -62,8 +62,8 @@ ssf_node_anchors: # An alternative method could be to use: # `git describe --abbrev=0 --tags` # yamllint disable rule:line-length rule:quoted-strings - title: "chore: standardise structure ('`'.gitignore'`' & '`'_mapdata.rb'`') [skip ci]" - body: '* Automated using https://github.com/myii/ssf-formula/pull/292' + title: "chore: use latest pre-salted images" + body: '* Automated using https://github.com/myii/ssf-formula/pull/293' # yamllint enable rule:line-length rule:quoted-strings github: owner: 'saltstack-formulas'