Clearer error messages for non-generated secrets #665
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello, I'm working on the renovate recipe here: coop-cloud/renovate#4
Renovate has no generated secrets, but the recipe user does need to set a token for accessing their git forge. I've set these in .env.sample and added the
# generated=false
comment as mentioned here: https://docs.coopcloud.tech/maintainers/handbook/#how-do-i-skip-secret-generation-for-a-specific-secretabra app new renovate
, it will print the message "renovate requires secret generation before deploying", even though those secrets havegenerate=false
comments in .env.sample.abra app secret insert ...
". It should print both messages if there's a mixture of generated and non-generated secrets.abra app config
and runningabra app deploy
, it will print the message "secret not generated: github_token".abra app secret
command to run to fix it.Excellent report, thanks! Yes, I believe we have a boolean on the secret struct to indicate if it's a "no generate" or not and can adjust the messages accordingly. Thanks for testing this new feature out so fast 🔆