Skip to content

Commit

Permalink
feat: overhaul CI
Browse files Browse the repository at this point in the history
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 `<formula>:context:git:github:repo` where possible (use expected default)
  • Loading branch information
myii committed Feb 13, 2021
1 parent 473eab8 commit c7c3905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c7c3905

Please sign in to comment.