Abra should remind running app secret #609

Open
opened 2024-04-15 08:58:25 +00:00 by basebuilder · 0 comments
Member

Currently when creating a new app abra app new is helpful enough to prompt with the next two sub-commands config and deploy

user@dev:~$ abra app new sextant
? Select app server: sextant.eotl.supply
? Specify app domain sextant.eotl.supply
A new sextant app has been created! Here is an overview:

+-------------+---------+-------------------+
|   SERVER    | RECIPE  |      DOMAIN       |
+-------------+---------+-------------------+
| eotl.supply | sextant | sextant.eotl.supply |
+-------------+---------+-------------------+


You can configure this app by running the following:

    abra app config sextant.eotl.supply

You can deploy this app by running the following:

    abra app deploy sextant.eotl.supply

However, if an app requires secret generate step, this is incorrect and needs to be done before running deploy step.

Perhaps we can make abra smart enough to look if an app config requires secrets and then it shows the following:

...

You can then configure secrets with:

    abra app secret generate -a sextant.eotl.supply

You can deploy this app by running the following:

    abra app sextant.eotl.supply
Currently when creating a new app `abra app new` is helpful enough to prompt with the next two sub-commands `config` and `deploy` ``` user@dev:~$ abra app new sextant ? Select app server: sextant.eotl.supply ? Specify app domain sextant.eotl.supply A new sextant app has been created! Here is an overview: +-------------+---------+-------------------+ | SERVER | RECIPE | DOMAIN | +-------------+---------+-------------------+ | eotl.supply | sextant | sextant.eotl.supply | +-------------+---------+-------------------+ You can configure this app by running the following: abra app config sextant.eotl.supply You can deploy this app by running the following: abra app deploy sextant.eotl.supply ``` However, if an app requires `secret generate` step, this is incorrect and needs to be done *before* running `deploy` step. Perhaps we can make `abra` smart enough to look if an app config requires secrets and then it shows the following: ``` ... You can then configure secrets with: abra app secret generate -a sextant.eotl.supply You can deploy this app by running the following: abra app sextant.eotl.supply ```
basebuilder added the
enhancement
label 2024-04-15 08:58:25 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 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#609
No description provided.