Project

General

Profile

Actions

action #162044

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

Ensure proper indentation yamllint checks in our salt-states-openqa+salt-pillars-openqa size:S

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Start date:
2024-06-03
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See
https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/832?commit_id=8412fb44dee81426a40e1f114aed3e62ca7e0667#note_633754
With the merge request we align both repos to use the same YAML style rules but it would be better to explicitly check for indendation. So we should enable indendation check, at best by removing any customization in the yamllint config file, in both salt-states-openqa+salt-pillars-openqa and apply the according necessary style adaptations in both repos.

Acceptance criteria

Suggestions


Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure (public) - action #161396: gitlab CI jobs do not fail on invalid YAML size:SResolvedybonatakis2024-06-03

Actions
Actions #1

Updated by okurz 6 months ago

  • Copied from action #161396: gitlab CI jobs do not fail on invalid YAML size:S added
Actions #2

Updated by okurz 5 months ago

  • Target version changed from Tools - Next to Ready
Actions #3

Updated by okurz 5 months ago

  • Target version changed from Ready to Tools - Next
Actions #4

Updated by livdywan 4 months ago

  • Subject changed from Ensure proper indendation yamllint checks in our salt-states-openqa+salt-pillars-openqa to Ensure proper indendation yamllint checks in our salt-states-openqa+salt-pillars-openqa size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #5

Updated by tinita 4 months ago

  • Target version changed from Tools - Next to Ready
Actions #6

Updated by jbaier_cz 4 months ago

  • Status changed from Workable to In Progress
  • Assignee set to jbaier_cz
Actions #7

Updated by jbaier_cz 4 months ago

  • Subject changed from Ensure proper indendation yamllint checks in our salt-states-openqa+salt-pillars-openqa size:S to Ensure proper indentation yamllint checks in our salt-states-openqa+salt-pillars-openqa size:S
Actions #9

Updated by jbaier_cz 4 months ago

salt-states-openqa will need a little more work; I enabled and improved the checks a little, now I need to make sure it passes the test.

Actions #10

Updated by jbaier_cz 4 months ago

  • Status changed from In Progress to Feedback

Added https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/1255 for salt states and as I used some nice tricks there I also did https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/883 to use them in pillars. After that both repos should use exactly the same rules for linting and CI checking.

Actions #11

Updated by livdywan 4 months ago

jbaier_cz wrote in #note-10:

Added https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/1255 for salt states and as I used some nice tricks there I also did https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/883 to use them in pillars. After that both repos should use exactly the same rules for linting and CI checking.

Apparently merging both in order didn't work as I would have expected, hence proposing a revert:

https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/884

Actions #12

Updated by jbaier_cz 4 months ago

livdywan wrote in #note-11:

jbaier_cz wrote in #note-10:

Added https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/1255 for salt states and as I used some nice tricks there I also did https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/883 to use them in pillars. After that both repos should use exactly the same rules for linting and CI checking.

Apparently merging both in order didn't work as I would have expected, hence proposing a revert:

https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/884

Quick fix is in https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/1257, but I am wondering if this is not a deeper issue as this kind of problem definitely should not happen.

Actions #13

Updated by jbaier_cz 4 months ago

It turned out we really do not have other yaml files in pillars besides .gitlab-ci.yml and that wasn't listed due to missing parenthesis. Fixed in https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/1258 with some added verbosity to see what is going on.

Actions #14

Updated by jbaier_cz 4 months ago

  • Status changed from Feedback to Resolved

All features are deployed and I spotted no problem. Considering this resolved.

Actions

Also available in: Atom PDF