{"action":"created","issue":{"url":"https://api.github.com/repos/amplifylitco/asiaq/issues/97","repository_url":"https://api.github.com/repos/amplifylitco/asiaq","labels_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/97/comments","events_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/97/events","html_url":"https://github.com/amplifylitco/asiaq/issues/97","id":166346429,"number":97,"title":"[Feature Request] option to disable auto-promote with disco_deploy.py test","user":{"login":"dawu-amplify","id":17479349,"avatar_url":"https://avatars.githubusercontent.com/u/17479349?v=3","gravatar_id":"","url":"https://api.github.com/users/dawu-amplify","html_url":"https://github.com/dawu-amplify","followers_url":"https://api.github.com/users/dawu-amplify/followers","following_url":"https://api.github.com/users/dawu-amplify/following{/other_user}","gists_url":"https://api.github.com/users/dawu-amplify/gists{/gist_id}","starred_url":"https://api.github.com/users/dawu-amplify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dawu-amplify/subscriptions","organizations_url":"https://api.github.com/users/dawu-amplify/orgs","repos_url":"https://api.github.com/users/dawu-amplify/repos","events_url":"https://api.github.com/users/dawu-amplify/events{/privacy}","received_events_url":"https://api.github.com/users/dawu-amplify/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-19T14:32:01Z","updated_at":"2016-07-19T18:43:22Z","closed_at":null,"body":"Currently `disco_deploy.py test` does provision and test new untested AMI in CI and automatically promote it to Staging if all tests pass.\r\n\r\nBut in Burst we ran into an issue where some db schema changes have been made manually in CI for development but not yet available in Staging. Because tests work fine in CI, new AMIs are tested and auto-promoted. This causes inconsistency between database and code, therefore raises error in Staging.\r\n\r\nThere are two ways to work around this problem.\r\n\r\n1. Add an option to only provision and test AMIs with `disco_deploy.py test`\r\n\r\n2. Add integration tests on Staging as soon as possible, and mark any failed AMIs as failed and therefore no new instances are provisioned in Staging.\r\n\r\nAs an immediate solution, it looks that former option may be easier to implement.\r\n\r\nLet me know your thoughts. Any suggests are welcomed."},"comment":{"url":"https://api.github.com/repos/amplifylitco/asiaq/issues/comments/233727610","html_url":"https://github.com/amplifylitco/asiaq/issues/97#issuecomment-233727610","issue_url":"https://api.github.com/repos/amplifylitco/asiaq/issues/97","id":233727610,"user":{"login":"jconstance-amplify","id":15661993,"avatar_url":"https://avatars.githubusercontent.com/u/15661993?v=3","gravatar_id":"","url":"https://api.github.com/users/jconstance-amplify","html_url":"https://github.com/jconstance-amplify","followers_url":"https://api.github.com/users/jconstance-amplify/followers","following_url":"https://api.github.com/users/jconstance-amplify/following{/other_user}","gists_url":"https://api.github.com/users/jconstance-amplify/gists{/gist_id}","starred_url":"https://api.github.com/users/jconstance-amplify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jconstance-amplify/subscriptions","organizations_url":"https://api.github.com/users/jconstance-amplify/orgs","repos_url":"https://api.github.com/users/jconstance-amplify/repos","events_url":"https://api.github.com/users/jconstance-amplify/events{/privacy}","received_events_url":"https://api.github.com/users/jconstance-amplify/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T18:43:22Z","updated_at":"2016-07-19T18:43:22Z","body":"Why not just remove the affected hostclasses from the staging and production pipelines until you are able to put integration tests in place?"}}
{"actor":{"display_login":"jconstance-amplify"}}