Skip to content

Commit 27db0dd

Browse files
committed
feat(formula): add docker-formula
1 parent 8f8f9f0 commit 27db0dd

File tree

5 files changed

+48
-2
lines changed

5 files changed

+48
-2
lines changed

pillar.example

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ ssf:
7878
- cron
7979
- deepsea
8080
- dhcpd
81+
- docker
8182
- exim
8283
- fail2ban
8384
- golang

ssf/defaults.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ ssf_node_anchors:
2222
# An alternative method could be to use:
2323
# `git describe --abbrev=0 --tags`
2424
# yamllint disable rule:line-length
25-
title: 'refactor(tofs): upgrade for all file.managed'
26-
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/75'
25+
title: 'feat(semantic-release): implement for this formula'
26+
body: '* Automated using https://github.com/myii/ssf-formula/pull/78'
2727
# yamllint enable rule:line-length
2828
github:
2929
owner: 'saltstack-formulas'
@@ -283,6 +283,7 @@ ssf:
283283
cron: *formula_default
284284
deepsea: *formula_default
285285
dhcpd: *formula_default
286+
docker: *formula_default
286287
exim: *formula_default
287288
fail2ban: *formula_default
288289
golang: *formula_default
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=yaml
3+
---
4+
exclude_paths:
5+
# Violation: [204] Lines should be no longer that 160 chars
6+
- docker/repo.sls
7+
skip_list:
8+
# Using `salt-lint` for linting other files as well, such as Jinja macros/templates
9+
- 205 # Use ".sls" as a Salt State file extension
10+
# Skipping `207` and `208` because `210` is sufficient, at least for the time-being
11+
# I.e. Allows 3-digit unquoted codes to still be used, such as `644` and `755`
12+
- 207 # File modes should always be encapsulated in quotation marks
13+
- 208 # File modes should always contain a leading zero
14+
tags: []
15+
verbosity: 1

ssf/files/tofs_template-formula/docs/CONTRIBUTING.rst

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ These formulas are already compatible with semantic-release:
172172
* `cron-formula <https://github.com/saltstack-formulas/cron-formula>`_
173173
* `deepsea-formula <https://github.com/saltstack-formulas/deepsea-formula>`_
174174
* `dhcpd-formula <https://github.com/saltstack-formulas/dhcpd-formula>`_
175+
* `docker-formula <https://github.com/saltstack-formulas/docker-formula>`_
175176
* `exim-formula <https://github.com/saltstack-formulas/exim-formula>`_
176177
* `fail2ban-formula <https://github.com/saltstack-formulas/fail2ban-formula>`_
177178
* `golang-formula <https://github.com/saltstack-formulas/golang-formula>`_

ssf/formulas.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,34 @@ ssf:
471471
- [centos , 6 , 2017.7, 2, default]
472472
travis: *travis_do_not_use_single_job_for_linters
473473
semrel_files: *semrel_files_default
474+
docker:
475+
context:
476+
git:
477+
github:
478+
repo: 'docker-formula'
479+
inspec_suites_kitchen:
480+
0:
481+
inspec_yml:
482+
summary: >-
483+
Verify that the docker formula is setup and configured correctly
484+
provisioner:
485+
state_top:
486+
- '*':
487+
- .
488+
- .containers
489+
platforms_matrix:
490+
# [os , os_ver, salt_ver, py_ver, inspec_suite]
491+
- [debian , 10 , develop, 3, default]
492+
- [debian , 9 , 2019.2, 3, default]
493+
- [ubuntu , 18.04, 2019.2, 3, default]
494+
- [arch-base , latest, 2019.2, 2, default]
495+
- [debian , 9 , 2018.3, 2, default]
496+
- [ubuntu , 16.04, 2017.7, 2, default]
497+
yamllint:
498+
ignore:
499+
additional:
500+
- docker/osfamilymap.yaml
501+
semrel_files: *semrel_files_default
474502
exim:
475503
context:
476504
git:

0 commit comments

Comments
 (0)