Deploying a new Gitea instance fails because of secret naming #10

Closed
opened 2021-04-04 15:49:41 +00:00 by 3wordchant · 2 comments
Owner
  1. abra app gitea_example_com secret generate --all fails because it tries to generate a secret called #secret_smtp_password -- i.e. it seems abra isn't skipping commented-out lines properly.
  2. abra app gitea_example_com secret deploy fails:
    1. secret_smtp_password is required, because it's referenced in the main compose.yml file -- it would be nice if this were optional, as not everyone will need to provide an SMTP password. If it isn't optional, we should uncomment it in .env.sample
    2. The secret variable names in .env.sample have PASSWORD, where the compose.yml file is looking for passwd
1. `abra app gitea_example_com secret generate --all` fails because it tries to generate a secret called `#secret_smtp_password` -- i.e. it seems `abra` isn't skipping commented-out lines properly. 2. `abra app gitea_example_com secret deploy` fails: 1. `secret_smtp_password` is required, because it's referenced in the main `compose.yml` file -- it would be nice if this were optional, as not everyone will need to provide an SMTP password. If it isn't optional, we should uncomment it in `.env.sample` 2. The secret variable names in `.env.sample` have `PASSWORD`, where the `compose.yml` file is looking for `passwd`
Owner

Aha! Made https://git.autonomic.zone/coop-cloud/abra/issues/133. Also see cb8e0a819b/compose.yml (L92-L93) (was putting this off because of the busywork of migrating our own instance). Making the SMTP password optional is definitely a good idea. There is some config to wrap in a conditional also. Probably other things could be made optional.

Aha! Made https://git.autonomic.zone/coop-cloud/abra/issues/133. Also see https://git.autonomic.zone/coop-cloud/gitea/src/commit/cb8e0a819beac4c32c7b8c89f6dc5bfffe84f958/compose.yml#L92-L93 (was putting this off because of the busywork of migrating our own instance). Making the SMTP password optional is definitely a good idea. There is some config to wrap in a conditional also. Probably other things could be made optional.
Owner

This is resolved now :) https://git.autonomic.zone/coop-cloud/abra/issues/133 is still outstanding but now that the SMTP configurations are totally optional, things are only generated when needed.

This is resolved now :) https://git.autonomic.zone/coop-cloud/abra/issues/133 is still outstanding but now that the SMTP configurations are totally optional, things are only generated when needed.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 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/gitea#10
No description provided.