Commit graph

87 commits

Author SHA1 Message Date
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
SuperQ
de071d71e1
skip_changelog: Add prombot DCO
Add DCO signoff for prombot PRs.

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-27 19:00:20 +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
SuperQ
01d75ff52e
skip_changelog: Fix typo in version bumper
s/pull-request/pull-requests/

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-20 07:13:13 +02:00
SuperQ
2293e7f178
skip_changelog: More fixes to version bumper
* Check for remote branch before trying to build a changeset.
* Fail exit if push fails.
* Add pull-request permission to workflow.

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-18 15:49:56 +02:00
SuperQ
e28a1b9626
fix: Checkout full branch for version updates
Use full checkout to make sure we get the correct main history.
* Shorten name to make Actions page easier to read.

Signed-off-by: SuperQ <superq@gmail.com>
2023-05-16 11:12:37 +02: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
SuperQ
5a3968dd20
Fixup script name in version bumper action.
Signed-off-by: SuperQ <superq@gmail.com>
2023-05-03 21:22:20 +02:00
Ben Kochie
336c4d6775
skip_changelog: Fix workflow outputs syntax
Use the correct syntax for getting the output from a workflow job.

Signed-off-by: Ben Kochie <superq@gmail.com>
2023-05-01 13:11:31 +02:00
gardar
118ec7b31f
fix: pass github token from ci to molecule
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-04-26 16:01:21 +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