Commit graph

103 commits

Author SHA1 Message Date
SuperQ
74faab2ec2
skip_changelog: Fix role repo discovery
Fix syntax of split to correctly select list item.
* Add some extra stderr debugging logs.
* Skip the `_common` role.
* Skip roles where the repo is missing.

Signed-off-by: SuperQ <superq@gmail.com>
2024-11-17 09:39:24 +01:00
renovate[bot]
26d4f4f71e
chore(deps): update hoo29/little-timmy action to v2 2024-10-20 16:44:59 +00:00
gardar
6dd937678a
skip_changelog(ci): fix: ensure all roles are tested when _common role is changed
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-17 17:40:06 +00:00
gardar
dc2007fab5
skip_changelog(ci): bump parallelism to speed up tests without hitting api limits
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:53:17 +00:00
gardar
8f9e86a905
fix: remove the need for setting _repo_type variable
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-30 15:42:03 +00:00
gardar
62a115f4cf
minor(ci): detect unused ansible variables
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-30 15:35:39 +00:00
renovate[bot]
04f2472c3a
chore(deps): update tj-actions/changed-files action to v45 2024-09-13 11:12:47 +00:00
gardar
f48cfb10b0
fix: ansible-community/eol-ansible for 2.9/2.10/2.11 tests
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 10:59:14 +00:00
gardar
d5c413cc7c
fix: speed up ci by allowing sanity test to run immediately
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-07-02 03:04:55 +00:00
gardar
7f8206bacc
fix(ci): limit number of parallel tests to avoid github api limits
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-07-02 03:00:57 +00:00
gardar
1f44b4c554
fix: avoid extra whitespaces in label list
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-07-02 02:33:38 +00:00
gardar
1223f4dc11
refactor(ci): split up molecule matrices to avoid job limit
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-07-02 02:32:29 +00:00
gardar
711c51b2d0
skip_changelog(ci): fix docs publish permissions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-07-01 11:53:52 +00:00
gardar
81fb097b1b fix: formatting fixes have been merged in antsibull-changelog upstream
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-06-19 22:05:42 +00:00
gardar
7e66464909 fix: make sure antsibull-changelog doesn't offend ansible-lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-06-19 22:05:42 +00:00
Ben Kochie
f003067377
Fix version updater script (#383)
Explicitly match the full version variable name to avoid matching other
variables when updating the `defaults/main.yml` file.

Signed-off-by: SuperQ <superq@gmail.com>
2024-06-10 16:54:19 +02:00
renovate[bot]
1457fb648e
chore(deps): update actions/github-script action to v7 2024-06-06 16:42:11 +00:00
gardar
0514797f94
docs: redirect docs page to latest release instead of docs for upcoming release
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-05-30 18:30:47 +00:00
gardar
ac0094cc5e
Merge pull request #351 from prometheus-community/renovate/tj-actions-changed-files-44.x
chore(deps): update tj-actions/changed-files action to v44
2024-05-24 23:22:06 +00:00
renovate[bot]
766ea9fed4
chore(deps): update tj-actions/changed-files action to v44 2024-05-24 23:11:58 +00:00
renovate[bot]
4e3865c815
chore(deps): update stefanzweifel/git-auto-commit-action action to v5 2024-05-24 23:10:53 +00:00
renovate[bot]
88f94ef062
chore(deps): update release-drafter/release-drafter action to v6 2024-04-25 22:47:33 +00:00
gardar
6ff62f00be
test: antsichaut version that ensures changes section is present in changelog
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-04-25 22:15:53 +00:00
gardar
afc9349565
Merge pull request #347 from prometheus-community/renovate/actions-github-script-7.x
chore(deps): update actions/github-script action to v7
2024-04-25 14:33:06 +00:00
renovate[bot]
f7a7ae73f9
chore(deps): update actions/github-script action to v7 2024-04-25 14:24:41 +00:00
renovate[bot]
d871b35c3a
chore(deps): update actions/checkout action to v4 2024-04-25 14:24:37 +00:00
gardar
1bf0371dd7
skip_changelog: allow chore label in PR title
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-04-25 13:33:06 +00:00
gardar
5de1a1667e
skip_changelog: satisfy cncf license scanner (#332)
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-04-10 10:02:21 +02:00
Ben Kochie
1707445674
skip_changelog: Fix version updater (#314)
The command line parser for the verison updater was not updated to
support the additional parameter.
* Rename `type` variable to `githost` to make it more clear.

Signed-off-by: SuperQ <superq@gmail.com>
2024-03-20 13:06:06 +01:00
Oleg Klyuchkin
ee540fe8de
skip_changelog(ci): gitlab.com support for version updater (#308)
* ci: gitlab.com support for version updater

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>

* ci: version updater fix syntax

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>

* test: version updater fix sanity

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>

* test: version updater add gitlab_api function

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>

* feat: version updater use case statement

Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Oleg Klyuchkin <anviar@users.noreply.github.com>

---------

Signed-off-by: anviar <oleg.kluchkin+github@gmail.com>
Signed-off-by: Oleg Klyuchkin <anviar@users.noreply.github.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2024-02-29 09:48:53 +01:00
gardar
6b4edde4c5
skip_changelog: antsichaut action moved to ansible-community
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-01-15 12:33:18 +00:00
gardar
d2d2f14fb9 fix: use ansible style shebang
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-12-12 19:17:59 +00:00
gardar
b276c2eca3 fix: sanity test failures
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-12-12 15:10:09 +00:00
gardar
19997aa4b2 fix: pylint issues
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-12-12 14:35:00 +00:00
gardar
3db77aaf78 fix: use correct output env var
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-12-12 13:16:35 +00:00
gardar
c5511dcb7d fix: don't skip sanity
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-12-12 13:16:35 +00:00
gardar
6b86d3bc0c refactor: use range for supported ansible versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-12-12 13:15:53 +00:00
gardar
1a112e63af
Merge pull request #243 from gardar/ci/manual-publish
skip_changelog: allow running publish workflow manually
2023-10-27 19:07:14 +00:00
gardar
30e2bf3e8b
skip_changelog: allow running publish workflow manually
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-10-27 18:18:38 +00:00
gardar
f533403873
skip_changelog: put version in title
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-10-27 18:06:07 +00:00
gardar
70e019b6e7
skip_changelog: allow PR patch label
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-10-27 18:05:26 +00:00
gardar
c9fbc3b63a
fix: no need to have single value as matrix
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-16 18:04:51 +00:00
gardar
7f3df2ed26
fix: input is string not json
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-16 17:46:40 +00:00
gardar
db533803ec skip_changelog: molecule tests don't support codecov
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-16 17:15:57 +00:00
Ben Kochie
100b6e2070
fix: Add test for argument_specs matching (#177)
* fix: Add test for argument_specs matching

Compare contents of `meta/arguments_spec.yml` against `defaults/main.yml` on
each role to make sure keys match.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup arguments_spec linting issues.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-16 17:49:02 +02:00
gardar
875ac718b1
skip_changelog: fix ansible-lint action upstream
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-16 14:48:10 +00:00
SuperQ
8cad9a6f15
skip_changelog: Prefix role label triggers.
Add the prefix `roles/` to the per-role label names in order to
namespace them from other labels.

Signed-off-by: SuperQ <superq@gmail.com>
2023-07-23 11:45:33 +02:00
Ben Kochie
e66e609901
skip_changelog: Update yaml linting (#160)
Adjust yaml linting rules to fix non-issues with GitHub actions yaml.

Signed-off-by: SuperQ <superq@gmail.com>
2023-07-22 06:21:51 +02:00
SuperQ
8c205cbc1d
skip_changelog: Fix version updater DCO
DCO sign-off needs to be part of the commit, not required in the PR
message.

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-30 18:41:03 +02:00
Ben Kochie
5ef47f2d00
Merge pull request #119 from prometheus-community/superq/prombot_dco
skip_changelog: Add prombot DCO
2023-05-30 13:59:11 +02:00