fix(molecule): capitalise a task name and repeat the paths instead of using an anchor
ansible-lint name[casing] on the smoke verify task; and the workflow trigger paths are written out for both events (YAML anchors in an `on:` block are not something to rely on in Gitea's workflow parser). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
12c70ec7dc
commit
29278e9625
2 files changed
+9
-3
No files matched your search
@@ -21,7 +21,7 @@ on: # yamllint disable-line rule:truthy
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths: &paths
|
||||
paths:
|
||||
- 'roles/**'
|
||||
- 'extensions/**'
|
||||
- 'plugins/**'
|
||||
@@ -31,7 +31,13 @@ on: # yamllint disable-line rule:truthy
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths: *paths
|
||||
paths:
|
||||
- 'roles/**'
|
||||
- 'extensions/**'
|
||||
- 'plugins/**'
|
||||
- 'meta/**'
|
||||
- 'galaxy.yml'
|
||||
- '.gitea/workflows/molecule.yml'
|
||||
workflow_dispatch: {}
|
||||
|
||||
permissions:
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
- dbus
|
||||
- ssh
|
||||
|
||||
- name: dbus is running and ssh is enabled
|
||||
- name: The dbus unit is running and ssh is enabled
|
||||
ansible.builtin.assert:
|
||||
that:
|
||||
- (kamino_smoke_units.results | selectattr('item', 'equalto', 'dbus') | first).status.ActiveState == 'active'
|
||||
|
||||
Reference in new issue
Block a user