Commit graph

31 commits

Author SHA1 Message Date
renovate[bot]
26d4f4f71e
chore(deps): update hoo29/little-timmy action to v2 2024-10-20 16:44:59 +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
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
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
renovate[bot]
d871b35c3a
chore(deps): update actions/checkout action to v4 2024-04-25 14:24:37 +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
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
gardar
4d0c4eea4a
fix: labeler needs pull_request_target permissions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-26 19:51:43 +00:00
gardar
13f813ab5d
fix: labeler permissions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-21 03:12:19 +00:00
gardar
6d6cf8ebaf
skip_changelog: unify automatic and manual ansible role tests with labels
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-21 03:00:17 +00:00
gardar
fbe8339343
skip_changelog: move label jobs into main workflow
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-21 02:54:20 +00:00
gardar
1c1ca9d356
skip_changelog: avoid concurrent ansible ci tests
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-21 02:49:18 +00:00
gardar
f62e15eba2
fix: avoid running sanity tests on labeling
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-15 19:42:49 +00:00
gardar
fe1a753b0f
refactor: remove test-role label prefix
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-15 19:20:04 +00:00
gardar
1cd1fb1e50
skip_changelog: allow triggering role test with label
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-05-15 19:04:11 +00:00
gardar
3b2601a298
fix: omit minor from version discovery
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-04-11 14:08:59 +00:00
Ben Kochie
9419091dcc
skip_changelog: Don't run CI on push (#66)
Avoid running ansible-ci workflow on push, since it doubles the number
of executions for PRs built on in-repo branches.

Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-03-10 13:52:13 +01:00
gardar
f165e2028f
skip_changelog: Run tests on new commits in already open PR's
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-06 21:57:59 +00:00
gardar
1f4900f9b6
fix: follow PEP 440 standard for supported ansible versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-05 11:55:01 +00:00
gardar
c13c60fd5f
fix: correct workflow triggers and writable permissions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-01 17:49:05 +00:00
gardar
ca1b7e95aa
fix: writable token in all pull request workflows
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-24 08:42:30 +00:00
gardar
24aa8019c3
fix: avoid ansible galaxy timeout errors in ci
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:54:03 +00:00
gardar
fefb760ae3
fix: avoid running tests after merge/release
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:53:28 +00:00
gardar
f2737df195
feat(ci): only run molecule test against changed roles
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-13 01:38:53 +00:00
gardar
fc426d4d8e
feat(ci): avoid defining supported ansible versions by discovering them from collection
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-13 01:36:41 +00:00
gardar
d2ff013bb3
feat(ci): add workflow for running ansible-test and molecule
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:55:24 +00:00