Commit graph

15 commits

Author SHA1 Message Date
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
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
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
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
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
f533403873
skip_changelog: put version in title
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-10-27 18:06:07 +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
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
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
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
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
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