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:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths: &paths
|
paths:
|
||||||
- 'roles/**'
|
- 'roles/**'
|
||||||
- 'extensions/**'
|
- 'extensions/**'
|
||||||
- 'plugins/**'
|
- 'plugins/**'
|
||||||
@@ -31,7 +31,13 @@ on: # yamllint disable-line rule:truthy
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths: *paths
|
paths:
|
||||||
|
- 'roles/**'
|
||||||
|
- 'extensions/**'
|
||||||
|
- 'plugins/**'
|
||||||
|
- 'meta/**'
|
||||||
|
- 'galaxy.yml'
|
||||||
|
- '.gitea/workflows/molecule.yml'
|
||||||
workflow_dispatch: {}
|
workflow_dispatch: {}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
- dbus
|
- dbus
|
||||||
- ssh
|
- ssh
|
||||||
|
|
||||||
- name: dbus is running and ssh is enabled
|
- name: The dbus unit is running and ssh is enabled
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- (kamino_smoke_units.results | selectattr('item', 'equalto', 'dbus') | first).status.ActiveState == 'active'
|
- (kamino_smoke_units.results | selectattr('item', 'equalto', 'dbus') | first).status.ActiveState == 'active'
|
||||||
|
|||||||
Reference in new issue
Block a user