Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(formula): add iscsi-formula #62

Merged
merged 1 commit into from
Oct 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ssf:
- grafana
- influxdb
- iptables
- iscsi
- keepalived
- libvirt
- locale
Expand Down
13 changes: 11 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(travis): use `fedora-29` instead of `fedora-30` (for reliability)'
body: '* Automated using https://github.com/myii/ssf-formula/pull/67'
title: 'feat(semantic-release): complete for this formula'
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/62'
# yamllint enable rule:line-length
github:
owner: saltstack-formulas
Expand Down Expand Up @@ -297,6 +297,15 @@ ssf:
1:
<<: *isk_suite_default
name: tables
iscsi:
<<: *formula_default
context:
<<: *context_default
inspec_suites_kitchen:
<<: *isk_default
1:
<<: *isk_suite_default
name: centarch
keepalived: *formula_default
libvirt:
<<: *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 @@ -178,6 +178,7 @@ These formulas are already compatible with semantic-release:
* `grafana-formula <https://github.com/saltstack-formulas/grafana-formula>`_
* `influxdb-formula <https://github.com/saltstack-formulas/influxdb-formula>`_
* `iptables-formula <https://github.com/saltstack-formulas/iptables-formula>`_
* [`WIP <https://github.com/saltstack-formulas/iscsi-formula/pull/23>`_] `iscsi-formula <https://github.com/saltstack-formulas/iscsi-formula>`_
* `keepalived-formula <https://github.com/saltstack-formulas/keepalived-formula>`_
* `libvirt-formula <https://github.com/saltstack-formulas/libvirt-formula>`_
* `locale-formula <https://github.com/saltstack-formulas/locale-formula>`_
Expand Down
90 changes: 90 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ ssf_node_anchors:
# - [amazonlinux , 2 , 2019.2, 2]
# - [amazonlinux , 2 , 2018.3, 2]
# - [amazonlinux , 2 , 2017.7, 2]
platforms_os_centos_and_arch: &platforms_os_centos_and_arch
# [os , os_ver, salt_ver, py_ver]
- [centos , 7 , develop, 3]
- [arch-base , latest, develop, 2]
- [centos , 7 , 2019.2, 3]
- [arch-base , latest, 2019.2, 2]
- [centos , 7 , 2018.3, 2]
- [arch-base , latest, 2018.3, 2]
- [centos , 6 , 2017.7, 2]
- [arch-base , latest, 2017.7, 2]
platforms_matrix_osfamily_suites: &platforms_matrix_osfamily_suites
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , develop, 3, debian]
Expand Down Expand Up @@ -604,6 +614,86 @@ ssf:
key-duplicates:
ignore: *ignore_pillar_example
semrel_files: *semrel_files_default
iscsi:
context:
git:
github:
repo: iscsi-formula
inspec_suites_kitchen:
0:
excludes: *platforms_os_centos_and_arch
inspec_yml:
summary: >-
Verify that the iscsi formula is setup and configured correctly
provisioner:
dependencies:
- name: lvm
repo: git
source: https://github.com/saltstack-formulas/lvm-formula.git
pillars:
- '*':
- lvm
- .
pillars_from_files:
- lvm.sls: test/salt/pillar/lvm.example
- .sls: test/salt/pillar/pillar.example
state_top:
- '*':
- lvm.install
- lvm.files.create
- lvm.pv.create
- .
- .clean
1:
includes: *platforms_os_centos_and_arch
provisioner:
dependencies:
- name: users
repo: git
source: https://github.com/saltstack-formulas/users-formula.git
- name: lvm
repo: git
source: https://github.com/saltstack-formulas/lvm-formula.git
pillars:
- '*':
- users
- lvm
- .
pillars_from_files:
- users.sls: test/salt/pillar/users.arch
- lvm.sls: test/salt/pillar/lvm.example
- .sls: test/salt/pillar/pillar.travis
state_top:
- '*':
- users
- lvm.install
- lvm.files.create
- lvm.pv.create
- .
- .clean
verifier:
test_suite: default
inspec_suites_matrix:
- default
- centarch
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , develop, 3, default]
- [centos , 7 , develop, 3, centarch]
- [ubuntu , 18.04, 2019.2, 3, default]
- [centos , 7 , 2019.2, 3, centarch]
- [opensuse/leap, 15 , 2019.2, 3, default]
- [arch-base , latest, 2019.2, 2, centarch]
- [amazonlinux , 2 , 2018.3, 2, default]
use_tofs: true
yamllint:
ignore:
additional:
- iscsi/oscodename.yaml
yaml-files:
additional:
- '*.arch'
semrel_files: *semrel_files_default
keepalived:
context:
git:
Expand Down