Abra configuration file #303

Open
opened 2022-03-12 13:16:42 +00:00 by decentral1se · 6 comments
Owner

I would like a .abrarc kind of config too, so I can say "always use --pass" (I forget every time, and I guess it can't push them later as it doesn't have access?) (maybe even one that I can say "always use this server")... directory based config? local overrides global?

maybe with a broader search path like .abra.yml:~/.abra.yml:~/.config/abra/abra.yml:/etc/abra/abra.yml

First proposal for this is to have a config knob that always makes the --pass (storage of secrets in local pass store) turned on.

Please feel free to weigh in on a design folks!

Without more proposals for options, this maybe isn't worth implementing right now?

---
pass: true  # ???
> I would like a .abrarc kind of config too, so I can say "always use --pass" (I forget every time, and I guess it can't push them later as it doesn't have access?) (maybe even one that I can say "always use this server")... directory based config? local overrides global? > maybe with a broader search path like .abra.yml:~/.abra.yml:~/.config/abra/abra.yml:/etc/abra/abra.yml First proposal for this is to have a config knob that always makes the `--pass` (storage of secrets in local pass store) turned on. Please feel free to weigh in on a design folks! ~~Without more proposals for options, this maybe isn't worth implementing right now?~~ ```yaml --- pass: true # ??? ```
decentral1se added the
enhancement
abra
labels 2022-03-12 13:16:42 +00:00
decentral1se added this to the Beta release (software) project 2022-03-12 13:16:43 +00:00
decentral1se removed this from the Beta release (software) project 2022-03-13 09:22:51 +00:00
Member

Great!

The 3 I had in mind were:

  • use pass store
  • use a specific server
  • generate secrets (before deploying if not available? or after creating?)
Great! The 3 I had in mind were: - use pass store - use a specific server - generate secrets (before deploying if not available? or after creating?)
Author
Owner

use a specific server

@nicksellen not sure I understand that one, could you describe a bit more?

> use a specific server @nicksellen not sure I understand that one, could you describe a bit more?
Member

@nicksellen not sure I understand that one, could you describe a bit more?

This bit:

# abra app new
? Select recipe element-web
? Select app server:  [Use arrows to move, type to filter]

It asks me for app server, but for me it's always the same, as I only have one, and if I have more, a local .abra.yml would let me set it for the project.

> @nicksellen not sure I understand that one, could you describe a bit more? This bit: ``` # abra app new ? Select recipe element-web ? Select app server: [Use arrows to move, type to filter] ``` It asks me for app server, but for me it's always the same, as I only have one, and if I have more, a local .abra.yml would let me set it for the project.
Author
Owner

Perfect, thanks!

Perfect, thanks!
decentral1se added this to the Beta release (software) project 2022-03-14 16:06:35 +00:00
decentral1se removed this from the Beta release (software) project 2022-03-26 14:26:26 +00:00
decentral1se added this to the Medium/large enhancements project 2023-06-08 09:32:04 +00:00
Author
Owner

Configuration file finally coming in a limited form over in https://docs.coopcloud.tech/federation/resolutions/in-progress/013/#details-budget-007 👍

Configuration file finally coming in a limited form over in https://docs.coopcloud.tech/federation/resolutions/in-progress/013/#details-budget-007 👍
Member

Maybe using env vars like this would be sufficient.

Maybe using env vars [like this](https://git.coopcloud.tech/wykwit/abra/commit/9613a978e572de9a8fc92fd902dd9e4aecae2f7a) would be sufficient.
basebuilder added this to the Project Gitea Re-organisation milestone 2024-04-15 07:07:23 +00:00
Sign in to join this conversation.
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#303
No description provided.