Commit Graph

17 Commits

Author SHA1 Message Date
Felix Matouschek
a13ef97372 fix(ci): use http.extraheader instead of credential helper
The credential helper approach fails because GITHUB_TOKEN env var is
not available when git push runs inside collection-docs-action. Switch
to http.extraheader which embeds the auth as a static git config value,
matching the approach checkout v4 used.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-07 10:40:54 +02:00
Felix Matouschek
38a2548199 fix(ci): set up git credential helper for checkout v7 compatibility
actions/checkout v7 changed credential persistence from http.extraheader
to includeIf.gitdir-scoped config files. The collection-docs-action does
not pick up the new credential format, breaking git push to gh-pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-06 13:33:30 +02:00
Felix Matouschek
4461c27fe2 fix(ci): remove deprecated ansible-basic-sphinx-ext from docs workflow
The docs workflow fails because ansible_basic_sphinx_ext uses
pkg_resources which was removed in recent setuptools versions.
The package is archived and deprecated - its functionality is
already covered by sphinx_antsibull_ext and ansible-pygments.

Also remove the Python version pin to use the runner default.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-06 12:24:06 +02:00
redhat-renovate-bot
40dd983ef1 chore(deps): update github actions to v7
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-06-18 16:12:35 +00:00
redhat-renovate-bot
67378e1a4a chore(deps): update github actions to 3.14
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-06-08 16:18:25 +00:00
Felix Matouschek
62bf9350aa fix(ci): pin Python to 3.13 for docs build
Python 3.14 removed pkg_resources, which breaks
ansible_basic_sphinx_ext. Pin to 3.13 until the
upstream dependency is updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-05-04 11:10:12 +02:00
redhat-renovate-bot
a7d3dde4f4 chore(deps): update actions/checkout action to v6
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-11-24 04:12:04 +00:00
redhat-renovate-bot
3c7c32b080 chore(deps): update actions/setup-python action to v6
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-09-04 05:27:57 +00:00
redhat-renovate-bot
443f47ce5d chore(deps): update actions/checkout action to v5
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-08-11 13:19:48 +00:00
Felix Matouschek
f92c500de4 .github: Cleanup actions
Cleanup the .github actions:

- Use the same syntax and/or commands where possible
- Drop unnecessary parameters and steps / commands
- In the all-green job ensure that all CI jobs passed
- Update the naming of jobs
- Review permissions and grant write permission only where
  necessary (repo is set to read-only by default)
- Review installed dependencies (try to fix the failing docs job)
- Run yamllint and fix findings
- Replace deprecated set-output syntax

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-28 17:04:54 +01:00
Felix Matouschek
b719edf5da .github: Update tested Ansible and Python versions
Use Python 3.9 - 3.12 and Ansible 2.14 - 2.16, devel and milestone to run
tests of the collection. Use the latest stable python version in test setups
where sensible. Instead of using the integration.yml workflog from main
use it from the same commit as the test runs instead.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-28 09:14:23 +01:00
Felix Matouschek
205ef04954 .github: Bump versions of all used actions
Bump the versions of all used actions to the latest stable version and
try to use the same config across files and defaults where sensible.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-27 16:40:33 +01:00
Guido Grazioli
4174dbed0c use antsibul sphinx ext, ansible pygments
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-10 16:37:27 +02:00
Guido Grazioli
198d885b8f ci: integration tests
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-04 15:27:41 +02:00
Felix Matouschek
38c76a9545 Rename collection to kubevirt.core
This replaces all occurences of the old kubernetes.core name.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-03 13:03:10 +02:00
Felix Matouschek
68f5cc8e33 Update Ansible GitHub workflows
The workflows committed in the first commit were missing the
installation of required dependencies and other fixes.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-17 14:45:31 +02:00
Felix Matouschek
216df38df9 first commit
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-14 10:30:20 +02:00