Project

General

Profile

action #88195

Full test of salt states including DBus on CI

Added by cdywan 6 months ago. Updated 4 months ago.

Status:
Workable
Priority:
Low
Assignee:
-
Target version:
Start date:
2021-01-22
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Currently our salt states use this jinja 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

History

#1 Updated by cdywan 6 months ago

  • Description updated (diff)

#2 Updated by okurz 6 months ago

  • Priority changed from Normal to Low
  • Target version set to future

nice idea. Unfortunately currently no place on our backlog yet.

#3 Updated by okurz 6 months ago

  • Target version changed from future to Ready

let's try that now.

#4 Updated by okurz 5 months ago

also https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.saltcheck.html looks very promising. Likely we should start with that.

#5 Updated by okurz 4 months ago

  • Target version changed from Ready to future

before following up with that I suggest to do #90167 first as it will change our CI environment

#6 Updated by okurz 4 months ago

  • Description updated (diff)

#7 Updated by okurz 4 months ago

  • Description updated (diff)

Also available in: Atom PDF