You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you are working locally, we save some values to .env and some values are inferred or derived from variables defined in the makefile, sometimes both. This exposes weird edge cases where IF you have a value defined in .env the value might be different in the make context.
HOST_UID is set to either the default value or the argument. Setting it on the environment or setting it via the .env is meaningless.
This could result in commands run via make having radically different behavior than commands run outside of make and is an inconsistent and confusing behavior.
What did you expect to happen?
I expected the value to be defined according to 4 possible values in order of precedence.
default value, defined in the makefile
value currently in the .env if it exists
value in the shell environment where the make command is run
value in the make argument if it is passed.
This is a rank ordered list, so you might define the same variable in multiple ways, the method with the highest number wins.
What happened?
When you are working locally, we save some values to .env and some values are inferred or derived from variables defined in the makefile, sometimes both. This exposes weird edge cases where IF you have a value defined in .env the value might be different in the make context.
Example:
HOST_UID is set to either the default value or the argument. Setting it on the environment or setting it via the .env is meaningless.
This could result in commands run via make having radically different behavior than commands run outside of make and is an inconsistent and confusing behavior.
What did you expect to happen?
I expected the value to be defined according to 4 possible values in order of precedence.
This is a rank ordered list, so you might define the same variable in multiple ways, the method with the highest number wins.
Is there an existing issue for this?
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: