{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/1064","repository_url":"https://api.github.com/repos/kubernetes-incubator/cri-o","labels_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/1064/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/1064/comments","events_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/1064/events","html_url":"https://github.com/kubernetes-incubator/cri-o/pull/1064","id":268223059,"number":1064,"title":"Add ability to enable/disable SELinux during tests","user":{"login":"cevich","id":1183438,"avatar_url":"https://avatars2.githubusercontent.com/u/1183438?v=4","gravatar_id":"","url":"https://api.github.com/users/cevich","html_url":"https://github.com/cevich","followers_url":"https://api.github.com/users/cevich/followers","following_url":"https://api.github.com/users/cevich/following{/other_user}","gists_url":"https://api.github.com/users/cevich/gists{/gist_id}","starred_url":"https://api.github.com/users/cevich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cevich/subscriptions","organizations_url":"https://api.github.com/users/cevich/orgs","repos_url":"https://api.github.com/users/cevich/repos","events_url":"https://api.github.com/users/cevich/events{/privacy}","received_events_url":"https://api.github.com/users/cevich/received_events","type":"User","site_admin":false},"labels":[{"id":484626496,"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"ededed","default":false},{"id":677262217,"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/labels/size/M","name":"size/M","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2017-10-24T23:47:52Z","updated_at":"2018-03-12T18:25:09Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/1064","html_url":"https://github.com/kubernetes-incubator/cri-o/pull/1064","diff_url":"https://github.com/kubernetes-incubator/cri-o/pull/1064.diff","patch_url":"https://github.com/kubernetes-incubator/cri-o/pull/1064.patch"},"body":"\r\n**- What I did**\r\nAdd a boolean variables that control whether or not SELinux is enabled during particular tests.\r\n\r\n**- How I did it**\r\nUsed the Ansible ``block`` construct to group the SELinux-permissive task along with the test-task.  Utilized the ``always`` clause of the block to ensure SELinux-enforcing happens no matter what.\r\n\r\n**- How to verify it**\r\nExecute all CI tests.  This change preserves existing behaviors.  In other PRs, as needed,  change ``vars.yml`` variables as to see what breaks:\r\n\r\n```\r\n# When False, disable SELinux on the system during specific tests\r\nintegration_selinux_enabled: True\r\ne2e_selinux_enabled: True\r\nnode_e2e_selinux_enabled: True\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/comments/372414406","html_url":"https://github.com/kubernetes-incubator/cri-o/pull/1064#issuecomment-372414406","issue_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/1064","id":372414406,"user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars3.githubusercontent.com/u/2000835?v=4","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T18:25:09Z","updated_at":"2018-03-12T18:25:09Z","author_association":"CONTRIBUTOR","body":"/test all"}}
{"actor":{"display_login":"rhatdan"}}