1
0
Fork 0
forked from infra/ansible
Commit graph

15 commits

Author SHA1 Message Date
0be5e89880 ci: implement differential yamllint scan
Use vcs-diff-lint (with csdiff backend) to report only new warnings and
errors introduced in a PR.  This prevents older, pre-existing linter
violations from blocking new changes.

Same analyzer version is used for both the base and the head commit to
ensure consistent results.

See: infra/ansible#3143
2026-07-07 22:11:11 +00:00
27e3392a20 Improve ansible-lint
Why ignore the hardcoded paths, let's just create symlink, so they are
found as they should be.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-05-06 13:16:59 +02:00
1bdd2c4529 ai-review: set include_mr_summary false for shorter reviews
This sets a config option that gets ai-code-review to generate
shorter review text. It skips the MR Summary section and just
posts the Detailed Code Review section.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-05-04 14:02:53 -07:00
1250c0d961 Fix ansible-lint forgejo action
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-05-04 15:20:04 +02:00
d4000f3282 Add an AI review workflow
This adds AI review for pull requests, using the workflow and
pattern already used by several Quality projects. Pull requests
will be reviewed by
https://gitlab.com/redhat/edge/ci-cd/ai-code-review/ whenever the
'ai-review-please' label is applied to them. Also adds a context
file, generated by claude-4.6-opus-high via Cursor, using the
https://github.com/juanje/context-generator skill, as recommended
by ai-code-review upstream.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Assisted-by: claude-4.6-opus-high
Assisted-by: Cursor-2.6.11
2026-03-10 08:49:17 -07:00
88eabbfca6 Install ansible zabbix collection for ansible-lint
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-03-02 17:16:31 +01:00
ee431193b4 Only run yamllint ci on yamlfiles
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2026-02-20 07:27:10 +10:00
2d114f4cdc Use correct trigger on CI
pull_request instead of pull-request. Oh boy...
2026-02-19 16:24:29 +00:00
c808e362c6 Make the CI running on each PR 2026-02-19 16:57:03 +01:00
d62c10ca01 Add git package for CI
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-02-19 16:50:50 +01:00
7abaa1fcb2 Install missing module for CI 2026-02-19 16:49:32 +01:00
e6779e021a Update CI definition
Split jobs in two and use newer versions of actions

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-02-19 16:45:43 +01:00
7f8896885d Use fedora:latest image for CI 2026-02-19 16:26:45 +01:00
c8457fac67 Remove sudo from ci action
The first run failed on missing sudo command, let's try it without that.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-02-19 16:15:42 +01:00
c661866d3c Enable CI using forgejo actions
Clean the old CI setups and define forgejo actions on ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2026-02-19 14:47:58 +01:00