Simple image to use with Gitlab CI/CD and docker runners to test Salt states and formulas.
.gitlab-ci.yaml example:
build:
stage: test
image: smonko/salt-ci-runner
allow_failure: true
script:
- cp -r test /opt/salt/base/formulas/test
- cp pillar.example /opt/salt/base/pillars/pillar.sls
- /usr/bin/salt-call --local state.apply test
- 2018-07-19 - added salt pepper and pip package
- Add unit test tool
Simian Labs
- (https://github.com/simianlabs)
http://simianlabs.io || [email protected]