ci(molecule): start the longest scenarios first and pass the lane count in
Part of #432. A long scenario started late sets the end of a full run, so run_molecule_scenarios.sh now starts scenarios by the durations of the last full run, longest first, with an unlisted scenario first; the log groups keep the selection order. A workflow_dispatch input `lanes` reaches the script as MOLECULE_LANES, so full runs with different lane counts can be compared; an empty value keeps the default of 4. The shared molecule config enables ansible.posix.profile_tasks (summary only) and ansible.posix.timer, so each scenario's log shows where its time goes. Assisted-by: Claude Code
This commit is contained in:
1 parent
a2ab13a6e1
commit
ef840c8952
6 files changed
+123
-8
No files matched your search
@@ -11,3 +11,9 @@ provisioner:
|
||||
defaults:
|
||||
# Gather each host's facts once per playbook run, not in every play.
|
||||
gathering: smart
|
||||
# Per-task timings, to see what a scenario's time goes to; ansible.posix is in the ci image
|
||||
# and in requirements.yml, so the controller always has these callbacks.
|
||||
callbacks_enabled: ansible.posix.profile_tasks, ansible.posix.timer
|
||||
callback_profile_tasks:
|
||||
summary_only: true
|
||||
task_output_limit: 20
|
||||
Reference in new issue
Block a user