Support a snapcraft environment keyword

Bug #1584811 reported by Sergio Schvezov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
In Progress
Wishlist
Sergio Schvezov

Bug Description

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

These environment values would be transported to snap.yaml

description: updated
Changed in snapcraft:
milestone: 2.9 → 2.10
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.