Commit Graph

22 Commits

Author SHA1 Message Date
redhat-renovate-bot
5d462bf7bb chore(deps): update github actions to v7
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-07-20 08:14:52 +00:00
Felix Matouschek
04ae38ba96 fix(ci): use global git config for http.extraheader
The docs workflow copies the checkout to a work directory before the
credential setup step runs. The action then operates on the copy, so
--local config on the original checkout is not visible. Switch to
--global so credentials apply to all git operations on the runner.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2026-07-14 15:50:33 +02:00
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
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
89381ebb82 chore(deps): update softprops/action-gh-release action to v3
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-04-13 13:39:52 +00:00
redhat-renovate-bot
bfe45fa8ac chore(deps): update actions/github-script action to v9
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2026-04-10 00:44:51 +00: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
16398aec31 chore(deps): update actions/github-script action to v8
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2025-09-04 16:40:56 +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
redhat-renovate-bot
4751dd31cf chore(deps): update softprops/action-gh-release action to v2
Signed-off-by: redhat-renovate-bot <redhat-internal-renovate@redhat.com>
2024-08-28 16:25:04 +00:00
Felix Matouschek
6075886c4a fix: Fix release workflow failing because of non-zero exit
Fix the failing release workflow by adding a call to true after grepping
for the hopefully nonexistent release tag.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2024-02-29 17:13:03 +01: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
Felix Matouschek
c42749e9d1 fix: Use kubevirt-bot in release workflow
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 10:14:01 +02:00
Felix Matouschek
6c3aad2f82 release: Run other workflows explicitly
To bypass restrictions on GitHub Actions run the docs and ci workflows
manually after creating a release. GitHub Actions does not trigger
other workflows from a workflow run if not using a personal access
token (PAT). By calling the workflows explicitly, it is possible to
work around this restriction without the need for a PAT.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-08-09 10:10:54 +02:00
Guido Grazioli
9c90dfc105 remove use of unnecessary pat in release wf
Signed-off-by: Guido Grazioli <ggraziol@redhat.com>
2023-08-07 14:07:48 +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
216df38df9 first commit
Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2023-07-14 10:30:20 +02:00