Comment 0 for bug 1584811

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Support environment variable that would be available to snaps. The form should look like

snapcraft.yaml

name: ...
version: ...
...
environment: # these apply to all snaps
   ENV1: value1
   ENV2: value2

apps:
   app1:
     ...
     environment:
        ENV1: value1 # takes precedence over global ones