Commit graph

78 commits

Author SHA1 Message Date
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
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
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
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
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
gardar
1bf7212e94
skip_changelog: remove extra spaces in url
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-21 14:24:07 +00:00
gardar
c4e108db92
skip_changelog: fix yaml indent
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-21 13:01:52 +00:00
prombot
a57b046001
Fix version bumper action
Fix version bumper step, needs a `run` when not using `uses`.

Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-21 09:45:45 +01:00
gardar
87fefdf92c
Merge pull request #69 from gardar/ci/auto-generate-docs
docs: add workflow for auto generating ansible docs
2023-03-14 19:38:57 +00:00
prombot
31e588fb03
skip_changelog: Use prom image for version script
The yq image is just yq. Use the prometheus golang-builder image to get
a proper shell and yq.

Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-14 17:04:31 +01:00
prombot
7522f150ae
Fixup version bumper job
Move role repo discovery to a script to avoid shell escaping issues.
* Fix up argument_specs.yml.

Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-14 07:19:57 +01:00
gardar
38e3247864
fix: yaml lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-13 23:54:17 +00:00
gardar
2d5f2299d8
docs: add workflow for auto generating ansible docs
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-13 19:31:10 +00:00
Ben Kochie
a09941b753
skip-release: Add workflow to auto-update versions (#48)
Add a script and workflow to automatically check for upstream releases
and create PRs to update the associated role.

Signed-off-by: SuperQ <superq@gmail.com>
2023-03-11 16:35:19 +01:00