Update Notarius and expose transport retries
This commit is contained in:
@@ -8,7 +8,7 @@ root-owned application state.
|
||||
## Variables
|
||||
|
||||
```yaml
|
||||
notarius_version: v0.7.1
|
||||
notarius_version: v0.8.1
|
||||
notarius_repository_url: https://gitea.maximumdirect.net/eric/notarius.git
|
||||
notarius_source_dir: /usr/local/src/notarius
|
||||
notarius_binary_path: /usr/local/bin/notarius
|
||||
@@ -23,6 +23,7 @@ notarius_config_file_mode: "0644"
|
||||
notarius_config_version: 5
|
||||
notarius_promptkit_profile_dir: null
|
||||
notarius_promptkit_profile_file: null
|
||||
notarius_promptkit_transient_retries: null
|
||||
notarius_promptkit_local_backend_endpoint: null
|
||||
notarius_promptkit_local_backend_concurrency_limit: null
|
||||
notarius_configkit_imports: null
|
||||
@@ -71,6 +72,11 @@ PromptKit profile values identify profile sources or a local backend endpoint;
|
||||
they never contain credentials. Supply any credential environment variables
|
||||
outside this role.
|
||||
|
||||
`notarius_promptkit_transient_retries` renders
|
||||
`promptkit.transient_retries` when set. The null default omits it so Notarius
|
||||
retains its native retry behavior; integer `0` disables additional eligible
|
||||
transient transport attempts.
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
notarius_version: v0.7.1
|
||||
notarius_version: v0.8.1
|
||||
notarius_repository_url: https://gitea.maximumdirect.net/eric/notarius.git
|
||||
notarius_source_dir: /usr/local/src/notarius
|
||||
notarius_binary_path: /usr/local/bin/notarius
|
||||
@@ -14,6 +14,7 @@ notarius_config_file_mode: "0644"
|
||||
notarius_config_version: 5
|
||||
notarius_promptkit_profile_dir: null
|
||||
notarius_promptkit_profile_file: null
|
||||
notarius_promptkit_transient_retries: null
|
||||
notarius_promptkit_local_backend_endpoint: null
|
||||
notarius_promptkit_local_backend_concurrency_limit: null
|
||||
notarius_configkit_imports: null
|
||||
|
||||
@@ -48,6 +48,9 @@ argument_specs:
|
||||
notarius_promptkit_profile_file:
|
||||
type: str
|
||||
required: false
|
||||
notarius_promptkit_transient_retries:
|
||||
type: int
|
||||
required: false
|
||||
notarius_promptkit_local_backend_endpoint:
|
||||
type: str
|
||||
required: false
|
||||
|
||||
@@ -3,7 +3,7 @@ version: {{ notarius_config_version }}
|
||||
configkit:
|
||||
imports: {{ notarius_configkit_imports | to_json }}
|
||||
{% endif %}
|
||||
{% if notarius_promptkit_profile_dir is not none or notarius_promptkit_profile_file is not none or notarius_promptkit_local_backend_endpoint is not none or notarius_promptkit_local_backend_concurrency_limit is not none %}
|
||||
{% if notarius_promptkit_profile_dir is not none or notarius_promptkit_profile_file is not none or notarius_promptkit_transient_retries is not none or notarius_promptkit_local_backend_endpoint is not none or notarius_promptkit_local_backend_concurrency_limit is not none %}
|
||||
promptkit:
|
||||
{% if notarius_promptkit_profile_dir is not none %}
|
||||
profile_dir: {{ notarius_promptkit_profile_dir | to_json }}
|
||||
@@ -11,6 +11,9 @@ promptkit:
|
||||
{% if notarius_promptkit_profile_file is not none %}
|
||||
profile_file: {{ notarius_promptkit_profile_file | to_json }}
|
||||
{% endif %}
|
||||
{% if notarius_promptkit_transient_retries is not none %}
|
||||
transient_retries: {{ notarius_promptkit_transient_retries | to_json }}
|
||||
{% endif %}
|
||||
{% if notarius_promptkit_local_backend_endpoint is not none or notarius_promptkit_local_backend_concurrency_limit is not none %}
|
||||
local_backend:
|
||||
{% if notarius_promptkit_local_backend_endpoint is not none %}
|
||||
|
||||
Reference in New Issue
Block a user