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
The environment variables have been declared in OpenCompose till
now as -
env:
- a=b
- x=y
This is essentially a list of strings, and this made it very
difficult to extend the environment variable definition with
other concepts like secrets, etc.
This commit changes the environment variable definition to -
env:
- name: a
value: b
- name: x
value: y
Also, this -
- fixes tests that were breaking
- removes tests which are not relevant anymore, e.g. the ones
which checked if multiple "=" broke the environment variable
unmarshalling or not
- adds tests which make sure the name: and value: are both
required fields, and that they cannot be left blank
- does not add validation for environment variables being passed
- fix examples which had env: definitions in them
- fix file-reference.md to include the newer env: definition
fixesredhat-developer#118
Currently, environment variables are defined as -
This limits the ability to extend the environment variables, like supporting secrets.
Let's change the environment variables definition to -
The text was updated successfully, but these errors were encountered: