Commit Graph
10 Commits
Author SHA1 Message Date
83471be571 fix: Update sr_fingerprint task calls to use new structured parameters
The sr_fingerprint module was rewritten to accept structured parameters
(status, role_name, role_path, etc.) instead of a free-form sr_message.
Update the role tasks and tests to match the new module interface.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-08-06 16:11:09 -06:00
Sergei PetrosianandRichard Megginson d9ba105ef3 feat: Write roles fingerprints to /var/log/sysroles.jsonl [citest_skip]
Feature: Write roles fingerprints to /var/log/sysroles.jsonl [citest_skip]

Reason: By default logs are printed to rsyslog. This change adds a possibility to write logs to a file on the system for the downstream users.

Result: For the upstream, this makes rsyslog log message more detailed. For the downstream - also writes logs to /var/log/sysroles.jsonl
Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2026-08-06 16:11:09 -06:00
Sergei PetrosianandSergei Petrosian 7059aa8e90 ci: Skip reviews for PRs with [citest_skip] in the title
- Add info about .coderabbit.yam for AI assistants to contributing.md
- Note that CodeRabbit uses config from the main branch so this change will apply
after this PR is merged.

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2026-05-21 10:17:00 +02:00
Sergei PetrosianandSergei Petrosian 27aa75f184 ci: Add config file for CodeRabbit with custom rules
Sourcery that we currently use cannot read documentation files and best
practices, it's rather a refactoring tool.
So I want to introduce CodeRabbit that allows creating .coderabbit.yaml with
custom rules and conventions.

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2026-05-19 14:04:43 +02:00
Sergei PetrosianandSergei Petrosian 0aa8f2aff8 ci: Fix bug with ARTIFACTS_URL after prefixing with SR_
Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2025-03-21 00:07:43 +01:00
Sergei PetrosianandSergei Petrosian 9649b57c78 ci: In test plans, prefix all relate variables with SR_
Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2025-03-19 17:32:04 +01:00
Sergei PetrosianandSergei Petrosian 826f2fc0fa ci: Add test plan that runs CI tests and customize it for each role
* Calculate number of managed nodes with this formula:
    (( number_of_test_playbooks / 10 + 1 ))
* Add README explaining how to run the plan locally and remotely

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2025-02-17 15:49:14 +01:00
Sergei PetrosianandSergei Petrosian 640cbf000a Ignore .pandoc_template.html5 2025-02-13 11:46:25 +01:00
Sergei PetrosianandSergei Petrosian 5d8406eb12 chore: Fix spelling 2025-02-13 11:46:25 +01:00
Sergei PetrosianandSergei Petrosian c9eca28874 ci: Check spelling with codespell
* You can ignore words inline by adding a comment like `# codespell:ignore word`.
* You can ignore words by adding them to the `.codespell_ignores` file.
* You can ignore files and directories by adding them with `skip = ` to the `.codespellrc` file.

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
2025-02-13 11:46:25 +01:00