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
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
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
Ben Kochie
99a78d4a3c
Merge pull request #46 from gardar/meta/fix-req-ansible
...
fix: follow PEP 440 standard for supported ansible versions
2023-03-05 13:03:58 +01: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
SuperQ
f2ef3677af
packaging: Fix publish action version
...
Use the full semver version for the publish action.
Signed-off-by: SuperQ <superq@gmail.com>
2023-03-04 09:09:48 +01:00
gardar
389038d37f
packaging: publish on ansible galaxy on release
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-03 19:03:47 +00:00
SuperQ
75eec8dec7
fix: Force push git changelogs
...
We need to use force push to update skipping the default branch
protection rules.
Signed-off-by: SuperQ <superq@gmail.com>
2023-03-02 13:11:17 +01:00
gardar
f375cfa90d
fix: use upstream anstsichaut since new version has been released
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-01 22:14:27 +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
bad0cc89fc
fix: use workflow trigger that gives writable token
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-23 18:25:01 +00:00
gardar
779c4f4abd
fix: don't auto publish releases
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-23 12:05:43 +00:00
gardar
620acbb7de
fix: support feature
label
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-23 10:55:13 +00:00
gardar
cb5c6c435d
fix: use antsichaut from upstream
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-21 12:14:14 +00:00
gardar
ecd7cb265d
feat: auto label PR's with conventional commits
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 19:13:22 +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
918e7863fd
feat: add ci workflow for auto generating changelog
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-02-17 18:51:36 +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
gardar
38cb9b0771
fix(ci): colored output
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00