mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 09:40:26 +00:00
chore: use semantic-release
cross-formula standard structure
* Automated using `ssf-formula` (v0.1.0-rc.1)
This commit is contained in:
parent
981adf7f78
commit
a067c5853a
6 changed files with 37 additions and 20 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -48,6 +48,7 @@ coverage.xml
|
||||||
.kitchen
|
.kitchen
|
||||||
.kitchen.local.yml
|
.kitchen.local.yml
|
||||||
kitchen.local.yml
|
kitchen.local.yml
|
||||||
|
junit-*.xml
|
||||||
|
|
||||||
# Translations
|
# Translations
|
||||||
*.mo
|
*.mo
|
||||||
|
@ -111,3 +112,11 @@ docs/*.md
|
||||||
|
|
||||||
# Vim
|
# Vim
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
## Collected when centralising formulas (check and sort)
|
||||||
|
# `collectd-formula`
|
||||||
|
.pytest_cache/
|
||||||
|
/.idea/
|
||||||
|
Dockerfile.*_*
|
||||||
|
ignore/
|
||||||
|
tmp/
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=yaml
|
||||||
|
---
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
- commitlint
|
- commitlint
|
||||||
|
@ -42,7 +45,7 @@ env:
|
||||||
# - INSTANCE: default-amazonlinux-2-2017-7-py2
|
# - INSTANCE: default-amazonlinux-2-2017-7-py2
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- bundle exec kitchen verify ${INSTANCE}
|
- bin/kitchen verify ${INSTANCE}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
|
|
|
@ -156,3 +156,4 @@ An example of that:
|
||||||
BREAKING CHANGE: With the removal of all of the `.sls` files under
|
BREAKING CHANGE: With the removal of all of the `.sls` files under
|
||||||
`template package`, this formula no longer supports the installation of
|
`template package`, this formula no longer supports the installation of
|
||||||
packages.
|
packages.
|
||||||
|
|
||||||
|
|
34
kitchen.yml
34
kitchen.yml
|
@ -50,7 +50,7 @@ platforms:
|
||||||
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
- curl -o bootstrap-salt.sh -L https://bootstrap.saltstack.com
|
||||||
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
|
- sh bootstrap-salt.sh -XdPbfrq -x python2 git develop
|
||||||
|
|
||||||
## SALT 2019.2
|
## SALT `2019.2`
|
||||||
- name: debian-9-2019-2-py3
|
- name: debian-9-2019-2-py3
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py3:debian-9
|
image: netmanagers/salt-2019.2-py3:debian-9
|
||||||
|
@ -71,7 +71,7 @@ platforms:
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2019.2-py2:amazonlinux-2
|
image: netmanagers/salt-2019.2-py2:amazonlinux-2
|
||||||
|
|
||||||
## SALT 2018.3
|
## SALT `2018.3`
|
||||||
- name: debian-9-2018-3-py2
|
- name: debian-9-2018-3-py2
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2018.3-py2:debian-9
|
image: netmanagers/salt-2018.3-py2:debian-9
|
||||||
|
@ -92,7 +92,7 @@ platforms:
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2018.3-py2:amazonlinux-2
|
image: netmanagers/salt-2018.3-py2:amazonlinux-2
|
||||||
|
|
||||||
## SALT 2017.7
|
## SALT `2017.7`
|
||||||
- name: debian-8-2017-7-py2
|
- name: debian-8-2017-7-py2
|
||||||
driver:
|
driver:
|
||||||
image: netmanagers/salt-2017.7-py2:debian-8
|
image: netmanagers/salt-2017.7-py2:debian-8
|
||||||
|
@ -123,17 +123,6 @@ provisioner:
|
||||||
salt_copy_filter:
|
salt_copy_filter:
|
||||||
- .kitchen
|
- .kitchen
|
||||||
- .git
|
- .git
|
||||||
state_top:
|
|
||||||
base:
|
|
||||||
'*':
|
|
||||||
- mysql
|
|
||||||
pillars:
|
|
||||||
top.sls:
|
|
||||||
base:
|
|
||||||
'*':
|
|
||||||
- mysql
|
|
||||||
pillars_from_files:
|
|
||||||
mysql.sls: test/salt/pillar/mysql.sls
|
|
||||||
|
|
||||||
verifier:
|
verifier:
|
||||||
# https://www.inspec.io/
|
# https://www.inspec.io/
|
||||||
|
@ -142,8 +131,21 @@ verifier:
|
||||||
# cli, documentation, html, progress, json, json-min, json-rspec, junit
|
# cli, documentation, html, progress, json, json-min, json-rspec, junit
|
||||||
reporter:
|
reporter:
|
||||||
- cli
|
- cli
|
||||||
inspec_tests:
|
|
||||||
- path: test/integration/default
|
|
||||||
|
|
||||||
suites:
|
suites:
|
||||||
- name: default
|
- name: default
|
||||||
|
provisioner:
|
||||||
|
state_top:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- mysql
|
||||||
|
pillars:
|
||||||
|
top.sls:
|
||||||
|
base:
|
||||||
|
'*':
|
||||||
|
- mysql
|
||||||
|
pillars_from_files:
|
||||||
|
mysql.sls: test/salt/pillar/mysql.sls
|
||||||
|
verifier:
|
||||||
|
inspec_tests:
|
||||||
|
- path: test/integration/default
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Default InSpec Profile
|
# InSpec Profile: `default`
|
||||||
|
|
||||||
This shows the implementation of the Default InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
|
This shows the implementation of the `default` InSpec [profile](https://github.com/inspec/inspec/blob/master/docs/profiles.md).
|
||||||
|
|
||||||
## Verify a profile
|
## Verify a profile
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: mysql
|
name: default
|
||||||
title: mysql formula
|
title: mysql formula
|
||||||
maintainer: SaltStack Formulas
|
maintainer: SaltStack Formulas
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
|
@ -10,3 +10,5 @@ supports:
|
||||||
- platform-name: fedora
|
- platform-name: fedora
|
||||||
- platform-name: opensuse
|
- platform-name: opensuse
|
||||||
- platform-name: suse
|
- platform-name: suse
|
||||||
|
- platform-name: freebsd
|
||||||
|
- platform-name: amazon
|
||||||
|
|
Loading…
Add table
Reference in a new issue