Skip to content

Commit

Permalink
feat(formula): add epel-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Nov 4, 2019
1 parent b51be37 commit 2814ea0
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 2 deletions.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ ssf:
- deepsea
- dhcpd
- docker
- epel
- exim
- fail2ban
- golang
Expand Down
5 changes: 3 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length
title: 'ci(kitchen): use `develop` image until `master` is ready (`amazonlinux`) [skip ci]'
body: '* Automated using https://github.com/myii/ssf-formula/pull/93'
title: 'feat(semantic-release): implement for this formula'
body: '* Automated using https://github.com/myii/ssf-formula/pull/92'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -269,6 +269,7 @@ ssf:
deepsea: *formula_default
dhcpd: *formula_default
docker: *formula_default
epel: *formula_default
exim: *formula_default
fail2ban: *formula_default
golang: *formula_default
Expand Down
1 change: 1 addition & 0 deletions ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ These formulas are already compatible with semantic-release:
* `deepsea-formula <https://github.com/saltstack-formulas/deepsea-formula>`_
* `dhcpd-formula <https://github.com/saltstack-formulas/dhcpd-formula>`_
* `docker-formula <https://github.com/saltstack-formulas/docker-formula>`_
* `epel-formula <https://github.com/saltstack-formulas/epel-formula>`_
* `exim-formula <https://github.com/saltstack-formulas/exim-formula>`_
* `fail2ban-formula <https://github.com/saltstack-formulas/fail2ban-formula>`_
* `golang-formula <https://github.com/saltstack-formulas/golang-formula>`_
Expand Down
48 changes: 48 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ ssf_node_anchors:
- centos
- fedora
- opensuse
supports_centos_fedora_amazon: &supports_centos_fedora_amazon
- centos
- fedora
- amazon
provisioner:
state_top_salt: &state_top_salt
- '*':
Expand Down Expand Up @@ -560,6 +564,50 @@ ssf:
additional:
- docker/osfamilymap.yaml
semrel_files: *semrel_files_default
epel:
context:
git:
github:
repo: 'epel-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the epel formula is setup and configured correctly
supports: *supports_centos_fedora_amazon
provisioner:
pillars_from_files:
- .sls: 'test/salt/pillar/default.sls'
platforms:
# Later, consider using for all *platforms_osfamily_redhat
# [os , os_ver, salt_ver, py_ver]
- [amazonlinux , 1 , master, 2]
- [centos , 8 , master, 3]
- [fedora , 31 , master, 3]
- [amazonlinux , 2 , master, 2]
- [amazonlinux , 1 , 2019.2, 2]
- [centos , 8 , 2019.2, 3]
- [fedora , 31 , 2019.2, 3]
- [amazonlinux , 2 , 2019.2, 2]
- [centos , 7 , 2019.2, 2]
- [amazonlinux , 1 , 2018.3, 2]
- [fedora , 30 , 2018.3, 3]
- [centos , 7 , 2018.3, 2]
- [amazonlinux , 2 , 2018.3, 2]
- [amazonlinux , 1 , 2017.7, 2]
- [centos , 6 , 2017.7, 2]
- [fedora , 30 , 2017.7, 2]
- [amazonlinux , 2 , 2017.7, 2]
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [centos , 8 , master, 3, default]
# - [fedora , 31 , master, 3, default]
- [amazonlinux , 1 , 2019.2, 2, default]
- [amazonlinux , 2 , 2019.2, 2, default]
- [centos , 7 , 2019.2, 2, default]
# - [fedora , 30 , 2018.3, 3, default]
- [centos , 6 , 2017.7, 2, default]
semrel_files: *semrel_files_default
exim:
context:
git:
Expand Down

0 comments on commit 2814ea0

Please sign in to comment.