Squashed 'roles/pipeline/' changes from 773b1fa..bf52bdb
bf52bdb Use released application binaries throughout the D&D suite git-subtree-dir: roles/pipeline git-subtree-split: bf52bdb426b62eed3833dc04533eeabc6377c2c9
This commit is contained in:
30
README.md
30
README.md
@@ -1,22 +1,24 @@
|
||||
# D&D pipeline Ansible role
|
||||
|
||||
This standalone role composes Narratio v4.0.0, Audita v4.3.0, Notarius
|
||||
v0.10.0, Scriptorium v0.16.0 and Seriatim v1.5.0 for the D&D workflow. It
|
||||
installs the applications from selected source revisions, configures their
|
||||
v0.10.2, Scriptorium v0.16.0 and Seriatim v1.5.0 for the D&D workflow. It
|
||||
installs the applications from selected upstream release binaries, configures their
|
||||
native interfaces, and deploys campaign and prompt assets. Gather facts and
|
||||
supply `dnd_pipeline_whisperx_transcribe_url` when invoking it. The collection
|
||||
and deployment consumer are distributed separately.
|
||||
|
||||
Role release `v0.2.0` records this native suite compatibility set. Its
|
||||
`requirements.yml` pins the four updated application roles to `v0.2.0` and
|
||||
retains Seriatim's `v0.1.0` role tag; these tags select the reviewed role content
|
||||
without changing application versions or configuration.
|
||||
Current source pins the compatible application roles by published commit.
|
||||
The immutable role release `v0.2.0` retains its earlier source-build behavior.
|
||||
|
||||
## Inventory and native inputs
|
||||
|
||||
See [defaults/main.yml](defaults/main.yml) and
|
||||
[meta/argument_specs.yml](meta/argument_specs.yml) for the complete interface.
|
||||
Application versions, Git origins, revisions, and toolchain are configurable.
|
||||
Application release tags, release bases and asset Git origins and revisions are configurable.
|
||||
Targets must be able to download the upstream executables and SHA256SUMS over
|
||||
HTTPS. The controller needs SSH access to Forge on port 22222 for role
|
||||
dependencies; managed hosts need SSH access for campaign, prompt and selected
|
||||
catalog Git checkouts. Configure SSH authentication separately.
|
||||
The role selects immutable commits on the assets' `native-v4` compatibility
|
||||
branches; their legacy `main` branches remain available to older consumers.
|
||||
The native prompt checkout defaults to `/usr/local/etc/scriptorium/prompt-library`.
|
||||
@@ -69,6 +71,12 @@ independently, with no runtime fetch service.
|
||||
|
||||
## Migration and operation
|
||||
|
||||
The suite build controls `dnd_pipeline_manage_build_dependencies`,
|
||||
`dnd_pipeline_go_snap_channel` and `dnd_pipeline_go_binary` are retired.
|
||||
The application roles install upstream binaries; existing Go, Git and source
|
||||
trees are not removed.
|
||||
|
||||
|
||||
Session recap and character analysis default to `dnd.session_recap` and
|
||||
`dnd.character_meta_analysis`, using current-session inputs only. Their default
|
||||
bindings do not request a previous recap, so a first session needs no predecessor.
|
||||
@@ -124,10 +132,10 @@ notarius pipeline validate dnd-session --config /usr/local/etc/notarius/config.y
|
||||
scriptorium config validate --config /usr/local/etc/scriptorium/config.yml
|
||||
```
|
||||
|
||||
See the tagged [Narratio release](https://gitea.maximumdirect.net/eric/narratio/src/tag/v4.0.0/docs/releases/v4.0.0.md),
|
||||
[Notarius D&D integration](https://gitea.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/consumers/dnd-pipeline.md),
|
||||
[Audita configuration](https://gitea.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/config.md), and
|
||||
[Scriptorium migration](https://gitea.maximumdirect.net/eric/scriptorium/src/tag/v0.16.0/docs/consumers/upgrading-promptkit.md)
|
||||
See the tagged [Narratio release](https://forge.maximumdirect.net/eric/narratio/src/tag/v4.0.0/docs/releases/v4.0.0.md),
|
||||
[Notarius D&D integration](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.2/docs/consumers/dnd-pipeline.md),
|
||||
[Audita configuration](https://forge.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/config.md), and
|
||||
[Scriptorium migration](https://forge.maximumdirect.net/eric/scriptorium/src/tag/v0.16.0/docs/consumers/upgrading-promptkit.md)
|
||||
for the application contracts.
|
||||
|
||||
## Offline validation
|
||||
|
||||
@@ -2,5 +2,3 @@
|
||||
collections:
|
||||
- name: ansible.posix
|
||||
version: 2.2.0
|
||||
- name: community.general
|
||||
version: 13.3.0
|
||||
|
||||
@@ -1,22 +1,19 @@
|
||||
---
|
||||
dnd_pipeline_audita_version: v4.3.0
|
||||
dnd_pipeline_narratio_version: v4.0.0
|
||||
dnd_pipeline_notarius_version: v0.10.0
|
||||
dnd_pipeline_notarius_version: v0.10.2
|
||||
dnd_pipeline_seriatim_version: v1.5.0
|
||||
dnd_pipeline_scriptorium_version: v0.16.0
|
||||
dnd_pipeline_manage_build_dependencies: true
|
||||
dnd_pipeline_go_snap_channel: 1.27/stable
|
||||
dnd_pipeline_go_binary: /snap/bin/go
|
||||
dnd_pipeline_runtime_user: narratio
|
||||
dnd_pipeline_runtime_group: narratio
|
||||
dnd_pipeline_operator_users: []
|
||||
dnd_pipeline_secrets: {}
|
||||
dnd_pipeline_config_directory_mode: '0755'
|
||||
dnd_pipeline_config_file_mode: '0644'
|
||||
dnd_pipeline_campaigns_repository_url: https://gitea.maximumdirect.net/eric/campaigns.git
|
||||
dnd_pipeline_campaigns_repository_url: ssh://git@forge.maximumdirect.net:22222/eric/campaigns.git
|
||||
dnd_pipeline_campaigns_revision: 488c2eb97b5c62efe51aa7af35a5ec9cb8b7a747
|
||||
dnd_pipeline_campaigns_root: /usr/local/share/narratio/campaigns
|
||||
dnd_pipeline_prompt_library_repository_url: https://gitea.maximumdirect.net/eric/narratio-prompts.git
|
||||
dnd_pipeline_prompt_library_repository_url: ssh://git@forge.maximumdirect.net:22222/eric/narratio-prompts.git
|
||||
dnd_pipeline_prompt_library_revision: d15a630ddfec18ab505df3ea5b076f6a0a5fd4b3
|
||||
dnd_pipeline_prompt_library_root: /usr/local/etc/scriptorium/prompt-library
|
||||
dnd_pipeline_audita_output_schema: audita-v1
|
||||
|
||||
@@ -6,35 +6,23 @@ argument_specs:
|
||||
dnd_pipeline_audita_version:
|
||||
type: str
|
||||
required: true
|
||||
description: Audita application revision for the compatible suite.
|
||||
description: Audita upstream release tag for the compatible suite.
|
||||
dnd_pipeline_narratio_version:
|
||||
type: str
|
||||
required: true
|
||||
description: Narratio application revision for the compatible suite.
|
||||
description: Narratio upstream release tag for the compatible suite.
|
||||
dnd_pipeline_notarius_version:
|
||||
type: str
|
||||
required: true
|
||||
description: Notarius application revision for the compatible suite.
|
||||
description: Notarius upstream release tag for the compatible suite.
|
||||
dnd_pipeline_seriatim_version:
|
||||
type: str
|
||||
required: true
|
||||
description: Seriatim application revision for the compatible suite.
|
||||
description: Seriatim upstream release tag for the compatible suite.
|
||||
dnd_pipeline_scriptorium_version:
|
||||
type: str
|
||||
required: true
|
||||
description: Scriptorium application revision for the compatible suite.
|
||||
dnd_pipeline_manage_build_dependencies:
|
||||
type: bool
|
||||
required: true
|
||||
description: Whether every application role manages Git and Go.
|
||||
dnd_pipeline_go_snap_channel:
|
||||
type: str
|
||||
required: true
|
||||
description: Go Snap channel passed to every application role.
|
||||
dnd_pipeline_go_binary:
|
||||
type: path
|
||||
required: true
|
||||
description: Go executable passed to every application role.
|
||||
description: Scriptorium upstream release tag for the compatible suite.
|
||||
dnd_pipeline_runtime_user:
|
||||
type: str
|
||||
required: true
|
||||
|
||||
@@ -6,7 +6,7 @@ galaxy_info:
|
||||
description: Compose the D&D transcript-processing application suite
|
||||
license: CC0-1.0
|
||||
min_ansible_version: "2.18"
|
||||
issue_tracker_url: https://gitea.maximumdirect.net/eric/ansible-role-dnd-pipeline/issues
|
||||
issue_tracker_url: https://forge.maximumdirect.net/eric/ansible-role-dnd-pipeline/issues
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
@@ -20,9 +20,6 @@ dependencies:
|
||||
- role: rakestraw.narratio
|
||||
vars:
|
||||
narratio_version: "{{ dnd_pipeline_narratio_version }}"
|
||||
narratio_manage_build_dependencies: "{{ dnd_pipeline_manage_build_dependencies }}"
|
||||
narratio_go_snap_channel: "{{ dnd_pipeline_go_snap_channel }}"
|
||||
narratio_go_binary: "{{ dnd_pipeline_go_binary }}"
|
||||
narratio_user: "{{ dnd_pipeline_runtime_user }}"
|
||||
narratio_group: "{{ dnd_pipeline_runtime_group }}"
|
||||
narratio_config_path: /usr/local/etc/narratio/narratio.yml
|
||||
@@ -79,15 +76,9 @@ dependencies:
|
||||
- role: rakestraw.seriatim
|
||||
vars:
|
||||
seriatim_version: "{{ dnd_pipeline_seriatim_version }}"
|
||||
seriatim_manage_build_dependencies: "{{ dnd_pipeline_manage_build_dependencies }}"
|
||||
seriatim_go_snap_channel: "{{ dnd_pipeline_go_snap_channel }}"
|
||||
seriatim_go_binary: "{{ dnd_pipeline_go_binary }}"
|
||||
- role: rakestraw.audita
|
||||
vars:
|
||||
audita_version: "{{ dnd_pipeline_audita_version }}"
|
||||
audita_manage_build_dependencies: "{{ dnd_pipeline_manage_build_dependencies }}"
|
||||
audita_go_snap_channel: "{{ dnd_pipeline_go_snap_channel }}"
|
||||
audita_go_binary: "{{ dnd_pipeline_go_binary }}"
|
||||
audita_config_owner: "{{ dnd_pipeline_runtime_user }}"
|
||||
audita_config_group: "{{ dnd_pipeline_runtime_group }}"
|
||||
audita_config_directory_mode: "{{ dnd_pipeline_config_directory_mode }}"
|
||||
@@ -117,9 +108,6 @@ dependencies:
|
||||
- role: rakestraw.notarius
|
||||
vars:
|
||||
notarius_version: "{{ dnd_pipeline_notarius_version }}"
|
||||
notarius_manage_build_dependencies: "{{ dnd_pipeline_manage_build_dependencies }}"
|
||||
notarius_go_snap_channel: "{{ dnd_pipeline_go_snap_channel }}"
|
||||
notarius_go_binary: "{{ dnd_pipeline_go_binary }}"
|
||||
notarius_config_owner: "{{ dnd_pipeline_runtime_user }}"
|
||||
notarius_config_group: "{{ dnd_pipeline_runtime_group }}"
|
||||
notarius_config_directory_mode: "{{ dnd_pipeline_config_directory_mode }}"
|
||||
@@ -134,9 +122,6 @@ dependencies:
|
||||
- role: rakestraw.scriptorium
|
||||
vars:
|
||||
scriptorium_version: "{{ dnd_pipeline_scriptorium_version }}"
|
||||
scriptorium_manage_build_dependencies: "{{ dnd_pipeline_manage_build_dependencies }}"
|
||||
scriptorium_go_snap_channel: "{{ dnd_pipeline_go_snap_channel }}"
|
||||
scriptorium_go_binary: "{{ dnd_pipeline_go_binary }}"
|
||||
scriptorium_config_owner: "{{ dnd_pipeline_runtime_user }}"
|
||||
scriptorium_config_group: "{{ dnd_pipeline_runtime_group }}"
|
||||
scriptorium_config_directory_mode: "{{ dnd_pipeline_config_directory_mode }}"
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
---
|
||||
roles:
|
||||
- name: rakestraw.seriatim
|
||||
src: https://gitea.maximumdirect.net/eric/ansible-role-seriatim.git
|
||||
src: ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-seriatim.git
|
||||
scm: git
|
||||
version: v0.1.0
|
||||
version: 17aeb4f22072350856643a0586d697502d1d439d
|
||||
- name: rakestraw.audita
|
||||
src: https://gitea.maximumdirect.net/eric/ansible-role-audita.git
|
||||
src: ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-audita.git
|
||||
scm: git
|
||||
version: v0.2.0
|
||||
version: c4c39d907afd491b977f7ddfd89918f43a49aa69
|
||||
- name: rakestraw.notarius
|
||||
src: https://gitea.maximumdirect.net/eric/ansible-role-notarius.git
|
||||
src: ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-notarius.git
|
||||
scm: git
|
||||
version: v0.2.0
|
||||
version: c0e94563c74f747c42925610eb3e585d63f64318
|
||||
- name: rakestraw.scriptorium
|
||||
src: https://gitea.maximumdirect.net/eric/ansible-role-scriptorium.git
|
||||
src: ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-scriptorium.git
|
||||
scm: git
|
||||
version: v0.2.0
|
||||
version: 53741d8aaff34c3e6040c25db282d447d27e34c6
|
||||
- name: rakestraw.narratio
|
||||
src: https://gitea.maximumdirect.net/eric/ansible-role-narratio.git
|
||||
src: ssh://git@forge.maximumdirect.net:22222/eric/ansible-role-narratio.git
|
||||
scm: git
|
||||
version: v0.2.0
|
||||
version: fa65335006f00cb5f86758aceb8608a41bc9f0ab
|
||||
|
||||
@@ -14,10 +14,12 @@
|
||||
state: present
|
||||
loop: "{{ dnd_pipeline_operator_users }}"
|
||||
|
||||
- name: Install ACL support
|
||||
- name: Install asset and ACL prerequisites
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name: acl
|
||||
name:
|
||||
- git
|
||||
- acl
|
||||
state: present
|
||||
update_cache: true
|
||||
cache_valid_time: 3600
|
||||
|
||||
Reference in New Issue
Block a user