rivvr reads everything from environment variables.
Store the values in your CI system’s secret storage. Never write them in the pipeline file itself.
Signing in
Tellrivvr where to connect:
RIVVR_ACCESS_TOKEN: a short-lived access token.RIVVR_USERNAMEandRIVVR_PASSWORD: always set both.
rivvr uses the access token first, then the username and password, then a login saved on the machine. Values from environment variables are never saved to disk.
Example:
deploy creates a new model, so give each pipeline run a different --name. Keep --max-cost-per-hour within the budget you’ve been given.
Sending prompts in CI
Set the inference key with two variables, always together:RIVVR_INFERENCE_KEY_ID: the key IDRIVVR_INFERENCE_KEY: the key secret
--key-id must match RIVVR_INFERENCE_KEY_ID. If the key is wrong or not allowed, the request fails. rivvr won’t try a saved key instead.
The inference key only works for sending prompts. To look up the model, rivvr still needs the sign-in variables above.
For JSON output and exit codes, see scripting.
