{"action":"closed","issue":{"url":"https://api.github.com/repos/shipitjs/shipit/issues/48","labels_url":"https://api.github.com/repos/shipitjs/shipit/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/shipitjs/shipit/issues/48/comments","events_url":"https://api.github.com/repos/shipitjs/shipit/issues/48/events","html_url":"https://github.com/shipitjs/shipit/issues/48","id":62780248,"number":48,"title":"Dynamic server list","user":{"login":"twalling","id":4907,"avatar_url":"https://avatars.githubusercontent.com/u/4907?v=3","gravatar_id":"","url":"https://api.github.com/users/twalling","html_url":"https://github.com/twalling","followers_url":"https://api.github.com/users/twalling/followers","following_url":"https://api.github.com/users/twalling/following{/other_user}","gists_url":"https://api.github.com/users/twalling/gists{/gist_id}","starred_url":"https://api.github.com/users/twalling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twalling/subscriptions","organizations_url":"https://api.github.com/users/twalling/orgs","repos_url":"https://api.github.com/users/twalling/repos","events_url":"https://api.github.com/users/twalling/events{/privacy}","received_events_url":"https://api.github.com/users/twalling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-18T19:37:19Z","updated_at":"2015-03-20T13:32:28Z","closed_at":"2015-03-20T13:32:28Z","body":"I'm having trouble figuring out a pattern which would let me fill out the server list dynamically by querying an ELB on AWS. I've added a blocking task called \"config\" which gets the servers, then dynamically sets `shipit.config.servers` to the new array but that value doesn't seem to carry through to the deploy tasks which run after.\r\n\r\nCurrently I'm not sure if its a limitation on the Orchestrator architecture or Shipit or that I just simply can't come up with the right pattern. If you know off hand how one might do this I think it would be a great example to document. If this use case of dynamically updating the config after calling `shipit.initConfig` isn't supported then I think it would be a wonderful feature addition."}}