Abra ignores comments in .env files #167
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?
Describe the current behavior
When trying to deploy traefik I encountered a very irritating issue where it wouldn't let me deploy because
FATA[0003] service app: secret not found: appname_ovh_consumer_key_v1also this secret is not generated even when
SECRET_OVH_CONSUMER_KEY=v1is uncommentedSteps to reproduce
abra app new traefikchoose the server etc
abra app config <new app name>put your domain etc but leave OVH configuration commented
abra fails
workaround: uncomment OVH_ENABLED and set it to 0
Describe the expected behavior
deploy successfuly
Additional information
I think this is a symptom of two issues:
0.1.2-alpha-719e24e, ourgodotenvfork was not loaded which means env loading is broken. This was fixed inf39c8cbe21. That might fix the issues with generation/skipping based on comments.0.1.2-alpha-719e24e, I am not sure thatabraknows how to select the right compose files yet.I just ran
./abra app check mytraefikand saw:That is good! We could add the
abra app check mytraefiklogic into a "pre-check flight" before deploy?I've also added
20ecdb8061which will let you know which compose files are being selected when using--debug.I would say try again using latest abra and lemme know what you face?
Or also: https://git.coopcloud.tech/coop-cloud/abra/releases/tag/0.1.3-alpha
Think this is fixed.