Project

General

Profile

action #88195

Updated by livdywan over 3 years ago

## Motivation 

 Currently our salt states use this [jinja](https://docs.saltproject.io/en/latest/topics/jinja/index.html) template a lot: 

     {%- if not grains.get('noservices', False) %} 

 The purpose of it is to allow sanity checks of salt states without spinning up a full system which has DBus services and potentially other components running. Currently other types of problems won't be caught. So the CI should be extended to have a more complete approach. 

 ## Acceptance criteria 
 * **AC1:** CI can test salt states without special conditions in definitions 

 ## # Suggestions 
 - Look into [Kitchen Salt](https://www.linode.com/docs/guides/test-salt-locally-with-kitchen-salt/) 
 - Modify [GitLab CI](https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/.gitlab-ci.yml) accordingly

Back