Support a snapcraft environment keyword
Bug #1584811 reported by
Sergio Schvezov
This bug report is a duplicate of:
Bug #1583259: Snappy needs to influence environment variables in applications .
Edit
Remove
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