{"action":"closed","number":293,"pull_request":{"url":"https://api.github.com/repos/Deepomatic/dmake/pulls/293","id":229334322,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MzM0MzIy","html_url":"https://github.com/Deepomatic/dmake/pull/293","diff_url":"https://github.com/Deepomatic/dmake/pull/293.diff","patch_url":"https://github.com/Deepomatic/dmake/pull/293.patch","issue_url":"https://api.github.com/repos/Deepomatic/dmake/issues/293","number":293,"state":"closed","locked":false,"title":"Add `env_override` in `services[].config`: extra env per service","user":{"login":"thomas-riccardi","id":1730297,"node_id":"MDQ6VXNlcjE3MzAyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1730297?v=4","gravatar_id":"","url":"https://api.github.com/users/thomas-riccardi","html_url":"https://github.com/thomas-riccardi","followers_url":"https://api.github.com/users/thomas-riccardi/followers","following_url":"https://api.github.com/users/thomas-riccardi/following{/other_user}","gists_url":"https://api.github.com/users/thomas-riccardi/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-riccardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-riccardi/subscriptions","organizations_url":"https://api.github.com/users/thomas-riccardi/orgs","repos_url":"https://api.github.com/users/thomas-riccardi/repos","events_url":"https://api.github.com/users/thomas-riccardi/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-riccardi/received_events","type":"User","site_admin":false},"body":"Closes #159 \r\n\r\nBefore that we could only define environment variables for all the\r\nservices in the dmake.yml file via the root `.env`.\r\n\r\nEach service now uses env from root `.env` completed by service\r\n`config.env_override`.\r\n\r\nIn case of `needed_services[].env`, the started service now uses env\r\nfrom root `.env` completed by service `config.env_override` completed\r\nby needed_service `.env`.\r\n\r\nEach env layer has its values evaluated from the previous layers\r\nresulting env.\r\n\r\nVariables in the yaml at the service level are evaluated from the\r\nfully resolved env for the service (root `.env` + service\r\n`config.env_override`).\r\n","created_at":"2018-11-08T11:33:28Z","updated_at":"2018-11-13T13:01:58Z","closed_at":"2018-11-13T13:01:58Z","merged_at":"2018-11-13T13:01:58Z","merge_commit_sha":"8b0a77c90f87d88fe95884ad2c249ce504d4ddcd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":764657161,"node_id":"MDU6TGFiZWw3NjQ2NTcxNjE=","url":"https://api.github.com/repos/Deepomatic/dmake/labels/READY","name":"READY","color":"6eea9b","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Deepomatic/dmake/pulls/293/commits","review_comments_url":"https://api.github.com/repos/Deepomatic/dmake/pulls/293/comments","review_comment_url":"https://api.github.com/repos/Deepomatic/dmake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Deepomatic/dmake/issues/293/comments","statuses_url":"https://api.github.com/repos/Deepomatic/dmake/statuses/de4b0b3f0edb8a7701a6d15355b84f52a5509c78","head":{"label":"Deepomatic:dev-159-customize_env_var_per_service","ref":"dev-159-customize_env_var_per_service","sha":"de4b0b3f0edb8a7701a6d15355b84f52a5509c78","user":{"login":"Deepomatic","id":9885289,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4ODUyODk=","avatar_url":"https://avatars3.githubusercontent.com/u/9885289?v=4","gravatar_id":"","url":"https://api.github.com/users/Deepomatic","html_url":"https://github.com/Deepomatic","followers_url":"https://api.github.com/users/Deepomatic/followers","following_url":"https://api.github.com/users/Deepomatic/following{/other_user}","gists_url":"https://api.github.com/users/Deepomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Deepomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deepomatic/subscriptions","organizations_url":"https://api.github.com/users/Deepomatic/orgs","repos_url":"https://api.github.com/users/Deepomatic/repos","events_url":"https://api.github.com/users/Deepomatic/events{/privacy}","received_events_url":"https://api.github.com/users/Deepomatic/received_events","type":"Organization","site_admin":false},"repo":{"id":73611438,"node_id":"MDEwOlJlcG9zaXRvcnk3MzYxMTQzOA==","name":"dmake","full_name":"Deepomatic/dmake","private":false,"owner":{"login":"Deepomatic","id":9885289,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4ODUyODk=","avatar_url":"https://avatars3.githubusercontent.com/u/9885289?v=4","gravatar_id":"","url":"https://api.github.com/users/Deepomatic","html_url":"https://github.com/Deepomatic","followers_url":"https://api.github.com/users/Deepomatic/followers","following_url":"https://api.github.com/users/Deepomatic/following{/other_user}","gists_url":"https://api.github.com/users/Deepomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Deepomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deepomatic/subscriptions","organizations_url":"https://api.github.com/users/Deepomatic/orgs","repos_url":"https://api.github.com/users/Deepomatic/repos","events_url":"https://api.github.com/users/Deepomatic/events{/privacy}","received_events_url":"https://api.github.com/users/Deepomatic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Deepomatic/dmake","description":"DMake is a tool to manage micro-service based applications","fork":false,"url":"https://api.github.com/repos/Deepomatic/dmake","forks_url":"https://api.github.com/repos/Deepomatic/dmake/forks","keys_url":"https://api.github.com/repos/Deepomatic/dmake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deepomatic/dmake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deepomatic/dmake/teams","hooks_url":"https://api.github.com/repos/Deepomatic/dmake/hooks","issue_events_url":"https://api.github.com/repos/Deepomatic/dmake/issues/events{/number}","events_url":"https://api.github.com/repos/Deepomatic/dmake/events","assignees_url":"https://api.github.com/repos/Deepomatic/dmake/assignees{/user}","branches_url":"https://api.github.com/repos/Deepomatic/dmake/branches{/branch}","tags_url":"https://api.github.com/repos/Deepomatic/dmake/tags","blobs_url":"https://api.github.com/repos/Deepomatic/dmake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deepomatic/dmake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deepomatic/dmake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deepomatic/dmake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deepomatic/dmake/statuses/{sha}","languages_url":"https://api.github.com/repos/Deepomatic/dmake/languages","stargazers_url":"https://api.github.com/repos/Deepomatic/dmake/stargazers","contributors_url":"https://api.github.com/repos/Deepomatic/dmake/contributors","subscribers_url":"https://api.github.com/repos/Deepomatic/dmake/subscribers","subscription_url":"https://api.github.com/repos/Deepomatic/dmake/subscription","commits_url":"https://api.github.com/repos/Deepomatic/dmake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deepomatic/dmake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deepomatic/dmake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deepomatic/dmake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deepomatic/dmake/contents/{+path}","compare_url":"https://api.github.com/repos/Deepomatic/dmake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deepomatic/dmake/merges","archive_url":"https://api.github.com/repos/Deepomatic/dmake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deepomatic/dmake/downloads","issues_url":"https://api.github.com/repos/Deepomatic/dmake/issues{/number}","pulls_url":"https://api.github.com/repos/Deepomatic/dmake/pulls{/number}","milestones_url":"https://api.github.com/repos/Deepomatic/dmake/milestones{/number}","notifications_url":"https://api.github.com/repos/Deepomatic/dmake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deepomatic/dmake/labels{/name}","releases_url":"https://api.github.com/repos/Deepomatic/dmake/releases{/id}","deployments_url":"https://api.github.com/repos/Deepomatic/dmake/deployments","created_at":"2016-11-13T11:27:21Z","updated_at":"2018-11-09T17:37:02Z","pushed_at":"2018-11-13T13:01:58Z","git_url":"git://github.com/Deepomatic/dmake.git","ssh_url":"git@github.com:Deepomatic/dmake.git","clone_url":"https://github.com/Deepomatic/dmake.git","svn_url":"https://github.com/Deepomatic/dmake","homepage":null,"size":1109,"stargazers_count":25,"watchers_count":25,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":85,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":85,"watchers":25,"default_branch":"master"}},"base":{"label":"Deepomatic:master","ref":"master","sha":"31c30f162c4dc9dde7dfd046173f1700f08679a8","user":{"login":"Deepomatic","id":9885289,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4ODUyODk=","avatar_url":"https://avatars3.githubusercontent.com/u/9885289?v=4","gravatar_id":"","url":"https://api.github.com/users/Deepomatic","html_url":"https://github.com/Deepomatic","followers_url":"https://api.github.com/users/Deepomatic/followers","following_url":"https://api.github.com/users/Deepomatic/following{/other_user}","gists_url":"https://api.github.com/users/Deepomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Deepomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deepomatic/subscriptions","organizations_url":"https://api.github.com/users/Deepomatic/orgs","repos_url":"https://api.github.com/users/Deepomatic/repos","events_url":"https://api.github.com/users/Deepomatic/events{/privacy}","received_events_url":"https://api.github.com/users/Deepomatic/received_events","type":"Organization","site_admin":false},"repo":{"id":73611438,"node_id":"MDEwOlJlcG9zaXRvcnk3MzYxMTQzOA==","name":"dmake","full_name":"Deepomatic/dmake","private":false,"owner":{"login":"Deepomatic","id":9885289,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4ODUyODk=","avatar_url":"https://avatars3.githubusercontent.com/u/9885289?v=4","gravatar_id":"","url":"https://api.github.com/users/Deepomatic","html_url":"https://github.com/Deepomatic","followers_url":"https://api.github.com/users/Deepomatic/followers","following_url":"https://api.github.com/users/Deepomatic/following{/other_user}","gists_url":"https://api.github.com/users/Deepomatic/gists{/gist_id}","starred_url":"https://api.github.com/users/Deepomatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deepomatic/subscriptions","organizations_url":"https://api.github.com/users/Deepomatic/orgs","repos_url":"https://api.github.com/users/Deepomatic/repos","events_url":"https://api.github.com/users/Deepomatic/events{/privacy}","received_events_url":"https://api.github.com/users/Deepomatic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Deepomatic/dmake","description":"DMake is a tool to manage micro-service based applications","fork":false,"url":"https://api.github.com/repos/Deepomatic/dmake","forks_url":"https://api.github.com/repos/Deepomatic/dmake/forks","keys_url":"https://api.github.com/repos/Deepomatic/dmake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Deepomatic/dmake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Deepomatic/dmake/teams","hooks_url":"https://api.github.com/repos/Deepomatic/dmake/hooks","issue_events_url":"https://api.github.com/repos/Deepomatic/dmake/issues/events{/number}","events_url":"https://api.github.com/repos/Deepomatic/dmake/events","assignees_url":"https://api.github.com/repos/Deepomatic/dmake/assignees{/user}","branches_url":"https://api.github.com/repos/Deepomatic/dmake/branches{/branch}","tags_url":"https://api.github.com/repos/Deepomatic/dmake/tags","blobs_url":"https://api.github.com/repos/Deepomatic/dmake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Deepomatic/dmake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Deepomatic/dmake/git/refs{/sha}","trees_url":"https://api.github.com/repos/Deepomatic/dmake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Deepomatic/dmake/statuses/{sha}","languages_url":"https://api.github.com/repos/Deepomatic/dmake/languages","stargazers_url":"https://api.github.com/repos/Deepomatic/dmake/stargazers","contributors_url":"https://api.github.com/repos/Deepomatic/dmake/contributors","subscribers_url":"https://api.github.com/repos/Deepomatic/dmake/subscribers","subscription_url":"https://api.github.com/repos/Deepomatic/dmake/subscription","commits_url":"https://api.github.com/repos/Deepomatic/dmake/commits{/sha}","git_commits_url":"https://api.github.com/repos/Deepomatic/dmake/git/commits{/sha}","comments_url":"https://api.github.com/repos/Deepomatic/dmake/comments{/number}","issue_comment_url":"https://api.github.com/repos/Deepomatic/dmake/issues/comments{/number}","contents_url":"https://api.github.com/repos/Deepomatic/dmake/contents/{+path}","compare_url":"https://api.github.com/repos/Deepomatic/dmake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Deepomatic/dmake/merges","archive_url":"https://api.github.com/repos/Deepomatic/dmake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Deepomatic/dmake/downloads","issues_url":"https://api.github.com/repos/Deepomatic/dmake/issues{/number}","pulls_url":"https://api.github.com/repos/Deepomatic/dmake/pulls{/number}","milestones_url":"https://api.github.com/repos/Deepomatic/dmake/milestones{/number}","notifications_url":"https://api.github.com/repos/Deepomatic/dmake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Deepomatic/dmake/labels{/name}","releases_url":"https://api.github.com/repos/Deepomatic/dmake/releases{/id}","deployments_url":"https://api.github.com/repos/Deepomatic/dmake/deployments","created_at":"2016-11-13T11:27:21Z","updated_at":"2018-11-09T17:37:02Z","pushed_at":"2018-11-13T13:01:58Z","git_url":"git://github.com/Deepomatic/dmake.git","ssh_url":"git@github.com:Deepomatic/dmake.git","clone_url":"https://github.com/Deepomatic/dmake.git","svn_url":"https://github.com/Deepomatic/dmake","homepage":null,"size":1109,"stargazers_count":25,"watchers_count":25,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":85,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":85,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Deepomatic/dmake/pulls/293"},"html":{"href":"https://github.com/Deepomatic/dmake/pull/293"},"issue":{"href":"https://api.github.com/repos/Deepomatic/dmake/issues/293"},"comments":{"href":"https://api.github.com/repos/Deepomatic/dmake/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/Deepomatic/dmake/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/Deepomatic/dmake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Deepomatic/dmake/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/Deepomatic/dmake/statuses/de4b0b3f0edb8a7701a6d15355b84f52a5509c78"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"thomas-riccardi","id":1730297,"node_id":"MDQ6VXNlcjE3MzAyOTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1730297?v=4","gravatar_id":"","url":"https://api.github.com/users/thomas-riccardi","html_url":"https://github.com/thomas-riccardi","followers_url":"https://api.github.com/users/thomas-riccardi/followers","following_url":"https://api.github.com/users/thomas-riccardi/following{/other_user}","gists_url":"https://api.github.com/users/thomas-riccardi/gists{/gist_id}","starred_url":"https://api.github.com/users/thomas-riccardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomas-riccardi/subscriptions","organizations_url":"https://api.github.com/users/thomas-riccardi/orgs","repos_url":"https://api.github.com/users/thomas-riccardi/repos","events_url":"https://api.github.com/users/thomas-riccardi/events{/privacy}","received_events_url":"https://api.github.com/users/thomas-riccardi/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":52,"deletions":9,"changed_files":4}}
{"actor":{"display_login":"thomas-riccardi"}}