Support a snapcraft environment keyword

Bug #1584811 reported by Sergio Schvezov on 2016-05-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
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  Edit
Everyone can see this information.

Other bug subscribers