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 docker-formula #78

Merged
merged 1 commit into from
Oct 17, 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 @@ -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