{"action":"created","issue":{"url":"https://api.github.com/repos/dshearer/jobber/issues/22","repository_url":"https://api.github.com/repos/dshearer/jobber","labels_url":"https://api.github.com/repos/dshearer/jobber/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/dshearer/jobber/issues/22/comments","events_url":"https://api.github.com/repos/dshearer/jobber/issues/22/events","html_url":"https://github.com/dshearer/jobber/issues/22","id":127095713,"number":22,"title":"Environment Variables for Jobs","user":{"login":"blacklabelops","id":11004090,"avatar_url":"https://avatars.githubusercontent.com/u/11004090?v=3","gravatar_id":"","url":"https://api.github.com/users/blacklabelops","html_url":"https://github.com/blacklabelops","followers_url":"https://api.github.com/users/blacklabelops/followers","following_url":"https://api.github.com/users/blacklabelops/following{/other_user}","gists_url":"https://api.github.com/users/blacklabelops/gists{/gist_id}","starred_url":"https://api.github.com/users/blacklabelops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacklabelops/subscriptions","organizations_url":"https://api.github.com/users/blacklabelops/orgs","repos_url":"https://api.github.com/users/blacklabelops/repos","events_url":"https://api.github.com/users/blacklabelops/events{/privacy}","received_events_url":"https://api.github.com/users/blacklabelops/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dshearer/jobber/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dshearer/jobber/milestones/2","html_url":"https://github.com/dshearer/jobber/milestones/1.1","labels_url":"https://api.github.com/repos/dshearer/jobber/milestones/2/labels","id":1554416,"number":2,"title":"1.1","description":null,"creator":{"login":"dshearer","id":6433604,"avatar_url":"https://avatars.githubusercontent.com/u/6433604?v=3","gravatar_id":"","url":"https://api.github.com/users/dshearer","html_url":"https://github.com/dshearer","followers_url":"https://api.github.com/users/dshearer/followers","following_url":"https://api.github.com/users/dshearer/following{/other_user}","gists_url":"https://api.github.com/users/dshearer/gists{/gist_id}","starred_url":"https://api.github.com/users/dshearer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshearer/subscriptions","organizations_url":"https://api.github.com/users/dshearer/orgs","repos_url":"https://api.github.com/users/dshearer/repos","events_url":"https://api.github.com/users/dshearer/events{/privacy}","received_events_url":"https://api.github.com/users/dshearer/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":2,"state":"open","created_at":"2016-02-01T00:40:07Z","updated_at":"2016-06-29T00:40:36Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-01-17T13:36:36Z","updated_at":"2016-06-29T00:41:29Z","closed_at":"2016-06-29T00:40:36Z","body":"How do I set environment variables for the Jobber demon? Put them inside .bashrc or where do I have to define them globally so all Jobs gets access?\r\n\r\nI am currently preparing cron tasks for amazonws. Cli command example: aws s3 ls\r\n\r\nThe credentials are applied using environment variables, e.g. AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Now I need a good mechanism to pass all docker environment variables to the demon or in worst case the required ones.\r\n\r\nWhat I don't want: I do not want to specify the required environment variables inside the Jobber config or inside scripts.\r\n\r\nMy current workaround:\r\nCalling this inside the docker entrypoint works:\r\nexport >> /etc/profile.d/jobber.sh\r\n"},"comment":{"url":"https://api.github.com/repos/dshearer/jobber/issues/comments/229225425","html_url":"https://github.com/dshearer/jobber/issues/22#issuecomment-229225425","issue_url":"https://api.github.com/repos/dshearer/jobber/issues/22","id":229225425,"user":{"login":"dshearer","id":6433604,"avatar_url":"https://avatars.githubusercontent.com/u/6433604?v=3","gravatar_id":"","url":"https://api.github.com/users/dshearer","html_url":"https://github.com/dshearer","followers_url":"https://api.github.com/users/dshearer/followers","following_url":"https://api.github.com/users/dshearer/following{/other_user}","gists_url":"https://api.github.com/users/dshearer/gists{/gist_id}","starred_url":"https://api.github.com/users/dshearer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshearer/subscriptions","organizations_url":"https://api.github.com/users/dshearer/orgs","repos_url":"https://api.github.com/users/dshearer/repos","events_url":"https://api.github.com/users/dshearer/events{/privacy}","received_events_url":"https://api.github.com/users/dshearer/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T00:41:29Z","updated_at":"2016-06-29T00:41:29Z","body":"Not an issue."}}
{"actor":{"display_login":"dshearer"}}