Clean up Narratio review findings

This commit is contained in:
2026-09-09 22:26:01 +00:00
parent 0e8ad9f296
commit 7feff4728a
5 changed files with 13 additions and 16 deletions

View File

@@ -155,5 +155,3 @@ deployment during cleanup.
```sh ```sh
tests/integration tests/integration
``` ```
Ansible role to install the Narratio D&D transcript and session report generation suite.

View File

@@ -8,6 +8,9 @@ chmod 0700 "$test_tmp"
export ANSIBLE_COLLECTIONS_PATH="$test_tmp/collections" export ANSIBLE_COLLECTIONS_PATH="$test_tmp/collections"
export ANSIBLE_ROLES_PATH="$(dirname "$repository_root")" export ANSIBLE_ROLES_PATH="$(dirname "$repository_root")"
# Avoid controller temporary-file ACL requirements when becoming narratio.
export ANSIBLE_PIPELINING=true
export ANSIBLE_REMOTE_TMP=/tmp
inventory="$repository_root/tests/inventory" inventory="$repository_root/tests/inventory"
converge="$repository_root/tests/converge.yml" converge="$repository_root/tests/converge.yml"

View File

@@ -4,23 +4,22 @@
gather_facts: true gather_facts: true
vars: vars:
narratio_whisperx_transcribe_url: http://127.0.0.1:8000/transcribe narratio_whisperx_transcribe_url: http://127.0.0.1:8000/transcribe
narratio_publish_primary_outputs:
- source: narratio.transcript.final_markdown
dest: transcripts/final.md
required: false
narratio_publish_additional_outputs: []
narratio_scriptorium_base_artifacts: narratio_scriptorium_base_artifacts:
disabled_fixture: disabled_fixture:
enabled: false enabled: false
narratio_scriptorium_additional_artifacts: {} narratio_scriptorium_additional_artifacts:
additional_disabled_fixture:
enabled: false
narratio_workspace_cleanup_after_publish: false narratio_workspace_cleanup_after_publish: false
narratio_campaigns_default_campaign_id: "" narratio_campaigns_default_campaign_id: ""
narratio_storage_backend: null narratio_storage_backend: null
narratio_spool_delete_audio_after_publish: false narratio_spool_delete_audio_after_publish: false
narratio_cache_s3_audio: false narratio_cache_s3_audio: false
narratio_publish_enabled: false narratio_publish_enabled: false
narratio_publish_outputs: >- narratio_publish_outputs:
{{ narratio_publish_primary_outputs + narratio_publish_additional_outputs }} - source: narratio.transcript.final_markdown
dest: transcripts/final.md
required: false
narratio_whisperx_retries: 0 narratio_whisperx_retries: 0
narratio_seriatim_coalesce_gap: 0.0 narratio_seriatim_coalesce_gap: 0.0
narratio_seriatim_report: false narratio_seriatim_report: false

View File

@@ -5,11 +5,9 @@
tasks: tasks:
- name: Validate the pipeline as the Narratio account - name: Validate the pipeline as the Narratio account
become: true become: true
become_user: narratio
ansible.builtin.command: ansible.builtin.command:
argv: argv:
- /usr/bin/sudo
- -u
- narratio
- /usr/local/bin/narratio - /usr/local/bin/narratio
- config - config
- validate - validate

View File

@@ -30,6 +30,7 @@
- narratio_pipeline.render.enabled == false - narratio_pipeline.render.enabled == false
- narratio_pipeline.render.include_metadata == false - narratio_pipeline.render.include_metadata == false
- narratio_pipeline.scriptorium.artifacts.disabled_fixture.enabled == false - narratio_pipeline.scriptorium.artifacts.disabled_fixture.enabled == false
- narratio_pipeline.scriptorium.artifacts.additional_disabled_fixture.enabled == false
- "'configkit' not in narratio_pipeline" - "'configkit' not in narratio_pipeline"
- "'storage' not in narratio_pipeline" - "'storage' not in narratio_pipeline"
- "'normalize' not in narratio_pipeline" - "'normalize' not in narratio_pipeline"
@@ -38,11 +39,9 @@
- name: Validate the representative pipeline as the Narratio account - name: Validate the representative pipeline as the Narratio account
become: true become: true
become_user: narratio
ansible.builtin.command: ansible.builtin.command:
argv: argv:
- /usr/bin/sudo
- -u
- narratio
- /usr/local/bin/narratio - /usr/local/bin/narratio
- config - config
- validate - validate