Skip to content

Commit

Permalink
feat(formula): add docker-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Oct 17, 2019
1 parent 8f8f9f0 commit 27db0dd
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 2 deletions.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ ssf:
- cron
- deepsea
- dhcpd
- docker
- 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: 'refactor(tofs): upgrade for all file.managed'
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/75'
title: 'feat(semantic-release): implement for this formula'
body: '* Automated using https://github.com/myii/ssf-formula/pull/78'
# yamllint enable rule:line-length
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -283,6 +283,7 @@ ssf:
cron: *formula_default
deepsea: *formula_default
dhcpd: *formula_default
docker: *formula_default
exim: *formula_default
fail2ban: *formula_default
golang: *formula_default
Expand Down
15 changes: 15 additions & 0 deletions ssf/files/tofs_docker-formula/.salt-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
exclude_paths:
# Violation: [204] Lines should be no longer that 160 chars
- docker/repo.sls
skip_list:
# Using `salt-lint` for linting other files as well, such as Jinja macros/templates
- 205 # Use ".sls" as a Salt State file extension
# Skipping `207` and `208` because `210` is sufficient, at least for the time-being
# I.e. Allows 3-digit unquoted codes to still be used, such as `644` and `755`
- 207 # File modes should always be encapsulated in quotation marks
- 208 # File modes should always contain a leading zero
tags: []
verbosity: 1
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 @@ -172,6 +172,7 @@ These formulas are already compatible with semantic-release:
* `cron-formula <https://github.com/saltstack-formulas/cron-formula>`_
* `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>`_
* `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
28 changes: 28 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,34 @@ ssf:
- [centos , 6 , 2017.7, 2, default]
travis: *travis_do_not_use_single_job_for_linters
semrel_files: *semrel_files_default
docker:
context:
git:
github:
repo: 'docker-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the docker formula is setup and configured correctly
provisioner:
state_top:
- '*':
- .
- .containers
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [debian , 10 , develop, 3, default]
- [debian , 9 , 2019.2, 3, default]
- [ubuntu , 18.04, 2019.2, 3, default]
- [arch-base , latest, 2019.2, 2, default]
- [debian , 9 , 2018.3, 2, default]
- [ubuntu , 16.04, 2017.7, 2, default]
yamllint:
ignore:
additional:
- docker/osfamilymap.yaml
semrel_files: *semrel_files_default
exim:
context:
git:
Expand Down

0 comments on commit 27db0dd

Please sign in to comment.