User:Rhyne-Wyse/Usage: Difference between revisions

From Nasqueron Agora
(Created page with "The bot can be run manually from WindRiver. From a development version of the reports repository: <syntaxhighlight lang="shell"> $ git clone https://devcentral.nasqueron.org/source/reports.git $ cd reports/tools/rhyne-wyse $ bin/update-agora-reports Logging in to agora:agora as Rhyne-Wyse [wiki.update_report] Report devcentral-token-language-models is up to date. [wiki.update_report] Update report agora-operations-grimoire-older-pages Sleeping for 9.1 seconds, 20...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The bot can be run manually from [[WindRiver]].
The bot can be run manually from [[WindRiver]].
== Run from development version ==


From a development version of the reports repository:
From a development version of the reports repository:
Line 17: Line 19:
Page [[Operations grimoire/Old content report]] saved
Page [[Operations grimoire/Old content report]] saved
</syntaxhighlight>
</syntaxhighlight>
== Query secrets from Vault ==


To do so, you need to configure the environment for Vault access:
To do so, you need to configure the environment for Vault access:
Line 23: Line 27:
     export VAULT_ADDR=https://complector.nasqueron.drake:8200
     export VAULT_ADDR=https://complector.nasqueron.drake:8200


You also need to have a Vault token attached to the rhyne-wyse policy (Agora account + limited MariaDB access for SELECT on page table).
That works as we catch permission error to read the rhyne-wyse UNIX user configuration file for Vault, and fallback to a default configuration. In such default configuration, Vault can be configured from environment.
 
You also need to have a Vault token attached to the rhyne-wyse policy (Agora account + limited MariaDB access for SELECT on page table). No need to populate it in VAULT_TOKEN, the client will read it correctly at <code>$HOME/.vault-token</code>.


If you don't have such access, open a task on DevCentral to require it.
If you don't have such access, open a task on DevCentral to require it.

Latest revision as of 22:11, 20 September 2025

The bot can be run manually from WindRiver.

Run from development version

From a development version of the reports repository:

$ git clone https://devcentral.nasqueron.org/source/reports.git

$ cd reports/tools/rhyne-wyse

$ bin/update-agora-reports
Logging in to agora:agora as Rhyne-Wyse
[wiki.update_report] Report devcentral-token-language-models is up to date.
[wiki.update_report] Update report agora-operations-grimoire-older-pages
Sleeping for 9.1 seconds, 2025-09-20 21:47:39
WARNING: API error badtoken: Invalid CSRF token.
Sleeping for 9.9 seconds, 2025-09-20 21:47:48
Page [[Operations grimoire/Old content report]] saved

Query secrets from Vault

To do so, you need to configure the environment for Vault access:

   export VAULT_CACERT=/usr/local/share/certs/nasqueron-vault-ca.crt
   export VAULT_ADDR=https://complector.nasqueron.drake:8200

That works as we catch permission error to read the rhyne-wyse UNIX user configuration file for Vault, and fallback to a default configuration. In such default configuration, Vault can be configured from environment.

You also need to have a Vault token attached to the rhyne-wyse policy (Agora account + limited MariaDB access for SELECT on page table). No need to populate it in VAULT_TOKEN, the client will read it correctly at $HOME/.vault-token.

If you don't have such access, open a task on DevCentral to require it.