Project

General

Profile

Actions

action #161396

closed

openQA Project (public) - coordination #112862: [saga][epic] Future ideas for easy multi-machine handling: MM-tests as first-class citizens

openQA Project (public) - coordination #111929: [epic] Stable multi-machine tests covering multiple physical workers

gitlab CI jobs do not fail on invalid YAML size:S

Added by okurz 7 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Start date:
2024-06-03
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See https://suse.slack.com/archives/C02CANHLANP/p1717381703517509 and #161381 .

As the openqa/workerconf.sls and possibly other files are plain YAML files not using any Jinja templating, we can validate the YAML in a pipeline in merge requests, so a PR with broken YAML will fail and - hopefully - not be merged. We already have the check in the Makefile and we have a CI pipeline but we don't call the check yet in salt pillars on openqa/workerconf.sls even though we treat it as plain YAML file.

Acceptance criteria

  • AC1: The "workerconf" is checked for YAML validity

Suggestions


Related issues 2 (0 open2 closed)

Copied from openQA Infrastructure (public) - action #161393: gitlab CI jobs do not execute salt-lint and do not fail on missing "find" executableResolved2024-06-03

Actions
Copied to openQA Infrastructure (public) - action #162044: Ensure proper indentation yamllint checks in our salt-states-openqa+salt-pillars-openqa size:SResolvedjbaier_cz2024-06-03

Actions
Actions

Also available in: Atom PDF