Skip to content

Commit

Permalink
feat(formulas): capture recent changes across formulas
Browse files Browse the repository at this point in the history
Pre-requisite for pushing changes across formulas using #259 (`pre-commit`).
  • Loading branch information
myii committed Oct 2, 2020
1 parent c259684 commit bdce42d
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 6 deletions.
14 changes: 11 additions & 3 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,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"
body: '* Checked using https://github.com/myii/ssf-formula/pull/260'
title: "chore: standardise structure [skip ci]"
body: '* Automated using https://github.com/myii/ssf-formula/pull/261'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -807,7 +807,15 @@ ssf:
3:
<<: *isk_suite_default
name: 'amazonlinux'
prometheus: *formula_default
prometheus:
<<: *formula_default
context:
<<: *context_default
inspec_suites_kitchen:
<<: *isk_default
1:
<<: *isk_suite_default
name: 'repo'
rabbitmq:
<<: *formula_default
context:
Expand Down
82 changes: 79 additions & 3 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ ssf:
# - [ubuntu , 16.04, 2017.7, 2]
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , master, 3, '']
- [debian , 10 , master, 3, repositories]
- [ubuntu , 18.04, master, 3, repositories]
- [debian , 9 , 2019.2, 3, preferences]
- [ubuntu , 18.04, 2019.2, 3, unattended]
Expand Down Expand Up @@ -3529,17 +3529,93 @@ ssf:
semrel_files: *semrel_files_default
prometheus:
context:
codeowners:
entries:
global:
- '*':
- '@alxwr'
- '@noelmcloughlin'
git:
github:
repo: 'prometheus-formula'
inspec_suites_kitchen:
0:
excludes: &platforms_os_centos_6_2018_3
- [centos , 6 , 2018.3, 2]
inspec_yml:
summary: >-
Verify that the prometheus formula is setup and configured correctly
platforms_matrix: *platforms_matrix_osfamily_debian
travis: *travis_do_not_use_single_job_for_linters
provisioner:
pillars_from_files:
- .sls: 'test/salt/pillar/default.sls'
1:
excludes: *platforms_os_centos_6_2018_3
inspec_yml:
summary: >-
Verify that the prometheus formula is setup and configured correctly
provisioner:
pillars_from_files:
- .sls: 'test/salt/pillar/repo.sls'
inspec_suites_matrix:
- default
- repo
platforms: *platforms_new
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , master, 3, default]
- [ubuntu , 20.04, master, 3, default]
- [centos , 8 , master, 3, default]
- [fedora , 32 , master, 3, default]
- [debian , 10 , 3000.3, 3, repo]
- [debian , 9 , 3000.3, 3, default]
# - [ubuntu , 18.04, 3000.3, 3, default]
- [centos , 7 , 3000.3, 3, repo]
- [opensuse/leap, 15.2 , 3000.3, 3, default]
- [amazonlinux , 2 , 3000.3, 3, default]
# - [fedora , 31 , 2019.2, 3, default]
- [arch-base , latest, 2019.2, 2, default]
# To deal with excessive instances when mimicking `kitchen list -b`
# If values are set, only use these as commented entries in the matrix
platforms_matrix_commented_includes:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , master, 3, default]
- [ubuntu , 20.04, master, 3, default]
- [ubuntu , 18.04, master, 3, default]
- [centos , 8 , master, 3, default]
- [fedora , 32 , master, 3, default]
- [fedora , 31 , master, 3, default]
- [opensuse/leap, 15.2 , master, 3, default]
- [amazonlinux , 2 , master, 3, default]
- [debian , 10 , 3000.3, 3, default]
- [debian , 9 , 3000.3, 3, default]
- [ubuntu , 18.04, 3000.3, 3, default]
- [centos , 8 , 3000.3, 3, default]
- [centos , 7 , 3000.3, 3, default]
- [fedora , 31 , 3000.3, 3, default]
- [opensuse/leap, 15.2 , 3000.3, 3, default]
- [amazonlinux , 2 , 3000.3, 3, default]
- [ubuntu , 18.04, 3000.3, 2, default]
- [ubuntu , 16.04, 3000.3, 2, default]
- [arch-base , latest, 3000.3, 2, default]
- [debian , 10 , 2019.2, 3, default]
- [debian , 9 , 2019.2, 3, default]
- [ubuntu , 18.04, 2019.2, 3, default]
- [ubuntu , 16.04, 2019.2, 3, default]
- [centos , 8 , 2019.2, 3, default]
- [centos , 7 , 2019.2, 3, default]
- [fedora , 31 , 2019.2, 3, default]
- [opensuse/leap, 15.2 , 2019.2, 3, default]
- [amazonlinux , 2 , 2019.2, 3, default]
- [centos , 6 , 2019.2, 2, default]
- [amazonlinux , 1 , 2019.2, 2, default]
- [arch-base , latest, 2019.2, 2, default]
- [debian , 10 , 3000.3, 3, repo]
- [centos , 7 , 3000.3, 3, repo]
use_tofs: true
yamllint:
ignore:
additional:
- prometheus/osfamilymap.yaml
semrel_files: *semrel_files_default
rabbitmq:
context:
Expand Down

0 comments on commit bdce42d

Please sign in to comment.