a sketch of how I might do this
Some more places where environment needs testing
some questions and notes
Partially inline vagrantfile
Specify vagrant provider should be virtualbox
A failing functional test for gear units with environment variables
The implementation
Add environment to the Unit record
flake8
flake8
remove comments left over from design
I broke testtools. Here's the fix
Tests for GearEnvironment initializer
a repr test
A test for to_dict
add optional "environment" key to application YAML config
a dictionary of environment variable mappings to be made
available to the application's container
remove the sleep and handle the resulting stderr output by gear status
lint fix
Maybe this is more reliable
long line