Add new abra config options #303

Open
opened 2022-03-12 13:16:42 +00:00 by decentral1se · 7 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

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?

@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 (deleted) 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 👍

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 (deleted) milestone 2024-04-15 07:07:23 +00:00
Author
Owner

Now that coop-cloud/abra#419 is in (🎉) it's just a case of wiring up the options and threading them through.

Now that https://git.coopcloud.tech/coop-cloud/abra/pulls/419 is in (🎉) it's just a case of wiring up the options and threading them through.
decentral1se changed title from Abra configuration file to Add new `abra` config options 2025-01-05 12:20:09 +00:00
decentral1se added this to the Abra v0.10.1 project 2025-04-20 05:58:34 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-20 06:06:40 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-21 19:08:15 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-21 19:08:25 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:35 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:37 +00:00
decentral1se moved this to Backlog in Abra v0.10.1 on 2025-04-24 08:58:38 +00:00
decentral1se removed this from the Abra v0.10.1 project 2025-04-24 09:01:31 +00:00
Sign in to join this conversation.
No description provided.