{"action":"created","issue":{"url":"https://api.github.com/repos/freedomofpress/securedrop/issues/1666","repository_url":"https://api.github.com/repos/freedomofpress/securedrop","labels_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/1666/labels{/name}","comments_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/1666/comments","events_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/1666/events","html_url":"https://github.com/freedomofpress/securedrop/pull/1666","id":224193054,"number":1666,"title":"Infra326 ci stagingv2","user":{"login":"msheiny","id":1727935,"avatar_url":"https://avatars3.githubusercontent.com/u/1727935?v=3","gravatar_id":"","url":"https://api.github.com/users/msheiny","html_url":"https://github.com/msheiny","followers_url":"https://api.github.com/users/msheiny/followers","following_url":"https://api.github.com/users/msheiny/following{/other_user}","gists_url":"https://api.github.com/users/msheiny/gists{/gist_id}","starred_url":"https://api.github.com/users/msheiny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msheiny/subscriptions","organizations_url":"https://api.github.com/users/msheiny/orgs","repos_url":"https://api.github.com/users/msheiny/repos","events_url":"https://api.github.com/users/msheiny/events{/privacy}","received_events_url":"https://api.github.com/users/msheiny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-04-25T16:12:39Z","updated_at":"2017-04-28T15:33:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/freedomofpress/securedrop/pulls/1666","html_url":"https://github.com/freedomofpress/securedrop/pull/1666","diff_url":"https://github.com/freedomofpress/securedrop/pull/1666.diff","patch_url":"https://github.com/freedomofpress/securedrop/pull/1666.patch"},"body":"## Status\r\n\r\nReady for review :+1: -- well give me like 5 minutes, need to duplicate settings i have in my CircleCI account to freedomofpress ...\r\n\r\n## Description of Changes\r\n\r\nFixes \r\n* #1468 -- brings in ossec repo files (not submoduled)\r\n* #1067 -- AUTOMATIC testing of staging in CI utilizing CircleCI. Development will still be run under travis, I'd like to break off a new ticket to also run development in CircleCI in parallel. \r\n* #1146 -- Started to tackle this, am using `ansible 2.2.1.0` during CI to deploy securedrop. Had to make very minimal tweaks to get working... Was kind of surprised. There are some other legacy attributes we are using that I want to do a full purge on. I'll open a separate PR for that as part of the development under CircleCI effort.\r\n\r\n## Testing\r\n\r\nHow should the reviewer test this PR?\r\n\r\nIf you want to test locally, you'll first off need AWS credentials -- ping me (obviously out of band) and I can provide temporary ones. You'll also need the following environment variables set:\r\n* `BUILD_NUM` - arbitrary number, just dont conflict with anyone else on the team or MORE importantly the build number that is running in CI. \r\n* `FPF_CI` - set to `true`\r\n* `FPF_GRSEC` - set to `false` to skip grsec tests\r\n* `CI_AWS_VPC_ID`\r\n* `CI_AWS_REGION`\r\n* `CI_AWS_TYPE` -- been doing `t2.small` so far\r\n\r\n## Deployment\r\n\r\nAny special considerations for deployment? Consider both:\r\n\r\n1. Upgrading existing production instances.\r\n\r\nThis is going to break current users playbook workflow without further fleshed out documentation. It makes some changes that are incompatible with the previously utilized version of `ansible 1.7.4` so they'll need to run a current version of ansible in a virtualenv under tails. \r\n\r\n2. New installs.\r\n\r\nNeed to clean up documentation and write additional code (recommend we do this in #1146 ) to bootstrap the provisioning of the more modern version of ansible.\r\n\r\n## Checklist\r\n\r\n### If you made changes to the system configuration:\r\n\r\n- [x] Testinfra tests pass on the development VM   --- Haven't retested this yet under travis. :hankey: is gonna break though.\r\n- [x] Testinfra tests pass on the development VM \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/freedomofpress/securedrop/issues/comments/298030778","html_url":"https://github.com/freedomofpress/securedrop/pull/1666#issuecomment-298030778","issue_url":"https://api.github.com/repos/freedomofpress/securedrop/issues/1666","id":298030778,"user":{"login":"msheiny","id":1727935,"avatar_url":"https://avatars3.githubusercontent.com/u/1727935?v=3","gravatar_id":"","url":"https://api.github.com/users/msheiny","html_url":"https://github.com/msheiny","followers_url":"https://api.github.com/users/msheiny/followers","following_url":"https://api.github.com/users/msheiny/following{/other_user}","gists_url":"https://api.github.com/users/msheiny/gists{/gist_id}","starred_url":"https://api.github.com/users/msheiny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msheiny/subscriptions","organizations_url":"https://api.github.com/users/msheiny/orgs","repos_url":"https://api.github.com/users/msheiny/repos","events_url":"https://api.github.com/users/msheiny/events{/privacy}","received_events_url":"https://api.github.com/users/msheiny/received_events","type":"User","site_admin":false},"created_at":"2017-04-28T15:33:50Z","updated_at":"2017-04-28T15:33:50Z","body":"Sweet. All tests passing now. I'm going to leave this alone and wait for feedback."}}
{"actor":{"display_login":"msheiny"}}