If secrets are not generated before deploying, bail out with more graceful error #499

Closed
opened 2023-10-03 23:22:21 +00:00 by decentral1se · 2 comments
Owner
https://git.coopcloud.tech/coop-cloud/abra/pulls/359#issuecomment-18116
decentral1se added the
enhancement
abra
labels 2023-10-03 23:22:21 +00:00
Author
Owner

E.g.

🌻 ./abra app deploy foo.com -C
WARN[0002] chaos mode engaged
+-------------------+----------------+-------------+--------+----------+
| SERVER | RECIPE | CONFIG | DOMAIN | VERSION |
+-------------------+----------------+-------------+--------+----------+
| foo.com | backup-bot-two | compose.yml | | f6e062a9 |
+-------------------+----------------+-------------+--------+----------+
? continue with deployment? Yes
WARN[0038] skipping domain checks as no DOMAIN=... configured for app
INFO[0040] Creating network foo_com_default
INFO[0040] Creating config foo_com_entrypoint_v1
INFO[0040] Creating config foo_com_backupbot_v1
FATA[0040] service app: secret not found: foo_com_restic_password_v1

E.g. > 🌻 ./abra app deploy foo.com -C > WARN[0002] chaos mode engaged > +-------------------+----------------+-------------+--------+----------+ > | SERVER | RECIPE | CONFIG | DOMAIN | VERSION | > +-------------------+----------------+-------------+--------+----------+ > | foo.com | backup-bot-two | compose.yml | | f6e062a9 | > +-------------------+----------------+-------------+--------+----------+ > ? continue with deployment? Yes > WARN[0038] skipping domain checks as no DOMAIN=... configured for app > INFO[0040] Creating network foo_com_default > INFO[0040] Creating config foo_com_entrypoint_v1 > INFO[0040] Creating config foo_com_backupbot_v1 > FATA[0040] service app: secret not found: foo_com_restic_password_v1
Author
Owner
And in https://codeberg.org/bath.social/server/wiki/2023-07-19-Upgrade-tales
decentral1se self-assigned this 2023-10-04 12:38:45 +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#499
No description provided.