{"action":"closed","issue":{"url":"https://api.github.com/repos/codenvy/codenvy/issues/479","repository_url":"https://api.github.com/repos/codenvy/codenvy","labels_url":"https://api.github.com/repos/codenvy/codenvy/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/codenvy/codenvy/issues/479/comments","events_url":"https://api.github.com/repos/codenvy/codenvy/issues/479/events","html_url":"https://github.com/codenvy/codenvy/issues/479","id":168054028,"number":479,"title":"Add post-flight Codenvy on-prem installation check","user":{"login":"dmytro-ndp","id":1197777,"avatar_url":"https://avatars.githubusercontent.com/u/1197777?v=3","gravatar_id":"","url":"https://api.github.com/users/dmytro-ndp","html_url":"https://github.com/dmytro-ndp","followers_url":"https://api.github.com/users/dmytro-ndp/followers","following_url":"https://api.github.com/users/dmytro-ndp/following{/other_user}","gists_url":"https://api.github.com/users/dmytro-ndp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmytro-ndp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmytro-ndp/subscriptions","organizations_url":"https://api.github.com/users/dmytro-ndp/orgs","repos_url":"https://api.github.com/users/dmytro-ndp/repos","events_url":"https://api.github.com/users/dmytro-ndp/events{/privacy}","received_events_url":"https://api.github.com/users/dmytro-ndp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/codenvy/codenvy/labels/kind/task","name":"kind/task","color":"f7c6c7"},{"url":"https://api.github.com/repos/codenvy/codenvy/labels/sprint/current-sprint","name":"sprint/current-sprint","color":"ffffff"},{"url":"https://api.github.com/repos/codenvy/codenvy/labels/team/enterprise","name":"team/enterprise","color":"fef2c0"}],"state":"closed","locked":false,"assignee":{"login":"dmytro-ndp","id":1197777,"avatar_url":"https://avatars.githubusercontent.com/u/1197777?v=3","gravatar_id":"","url":"https://api.github.com/users/dmytro-ndp","html_url":"https://github.com/dmytro-ndp","followers_url":"https://api.github.com/users/dmytro-ndp/followers","following_url":"https://api.github.com/users/dmytro-ndp/following{/other_user}","gists_url":"https://api.github.com/users/dmytro-ndp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmytro-ndp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmytro-ndp/subscriptions","organizations_url":"https://api.github.com/users/dmytro-ndp/orgs","repos_url":"https://api.github.com/users/dmytro-ndp/repos","events_url":"https://api.github.com/users/dmytro-ndp/events{/privacy}","received_events_url":"https://api.github.com/users/dmytro-ndp/received_events","type":"User","site_admin":false},"assignees":[{"login":"dmytro-ndp","id":1197777,"avatar_url":"https://avatars.githubusercontent.com/u/1197777?v=3","gravatar_id":"","url":"https://api.github.com/users/dmytro-ndp","html_url":"https://github.com/dmytro-ndp","followers_url":"https://api.github.com/users/dmytro-ndp/followers","following_url":"https://api.github.com/users/dmytro-ndp/following{/other_user}","gists_url":"https://api.github.com/users/dmytro-ndp/gists{/gist_id}","starred_url":"https://api.github.com/users/dmytro-ndp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmytro-ndp/subscriptions","organizations_url":"https://api.github.com/users/dmytro-ndp/orgs","repos_url":"https://api.github.com/users/dmytro-ndp/repos","events_url":"https://api.github.com/users/dmytro-ndp/events{/privacy}","received_events_url":"https://api.github.com/users/dmytro-ndp/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/codenvy/codenvy/milestones/6","html_url":"https://github.com/codenvy/codenvy/milestones/4.7.0","labels_url":"https://api.github.com/repos/codenvy/codenvy/milestones/6/labels","id":1906534,"number":6,"title":"4.7.0","description":null,"creator":{"login":"skabashnyuk","id":1614429,"avatar_url":"https://avatars.githubusercontent.com/u/1614429?v=3","gravatar_id":"","url":"https://api.github.com/users/skabashnyuk","html_url":"https://github.com/skabashnyuk","followers_url":"https://api.github.com/users/skabashnyuk/followers","following_url":"https://api.github.com/users/skabashnyuk/following{/other_user}","gists_url":"https://api.github.com/users/skabashnyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/skabashnyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skabashnyuk/subscriptions","organizations_url":"https://api.github.com/users/skabashnyuk/orgs","repos_url":"https://api.github.com/users/skabashnyuk/repos","events_url":"https://api.github.com/users/skabashnyuk/events{/privacy}","received_events_url":"https://api.github.com/users/skabashnyuk/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":33,"state":"open","created_at":"2016-07-27T07:09:44Z","updated_at":"2016-08-26T12:20:48Z","due_on":null,"closed_at":null},"comments":22,"created_at":"2016-07-28T09:40:49Z","updated_at":"2016-08-26T12:20:48Z","closed_at":"2016-08-26T12:20:48Z","body":"## Post-Flight Checks Specification\r\nWe should create a very small workspace called \"your-first-workspace\" in the administrator's account as part of the installation process.  We can either do this by generating a workspace, starting it, and then cloning some sample source code.  Or, we can generate a factory configuration and launch that factory configuration from the command line.\r\n- [x] Analyze the new codenvy/che-test docker image for its suitability and / or any gaps. It may be appropriate for us to do a \"docker run --rm codenvy/che-test\" command to execute this instead of using curl commands.\r\n- [x] `--skip-ws-test=true` will skip this test at the end of an installation. The default is `false`.\r\n- [x] We will create a new workspace using curl commands within Codenvy in the administrators account. If post-flight check is successful, we can then proceed to displaying the \"CODENVY INSTALLED!\" message.\r\n\r\n( This issue depends on https://github.com/eclipse/che/issues/2127 )\r\n\r\n#### Post-Flight Checks Output\r\n```\r\nVerifying installation...\r\n1. Authenticating as admin.                                       [OK / NOT OK]\r\n2. Generating 'your-first-workspace'.                             [OK / NOT OK]\r\n3. Starting workspace runtime. (downloads 500MB image)            [OK / NOT OK]\r\n4. Creating Spring project in `your-first-workspace`.             [OK / NOT OK]\r\n```\r\n\r\nIf there are any checks that fail, then:\r\n```\r\nCodenvy is installed, but basic post-flight API tests failed.\r\nThe command that failed is:\r\n<insert curl command that failed>\r\nwith failure output of:\r\n<insert failure output from codenvy API call>\r\n```\r\n\r\nChange the final output slightly to be generic:\r\n```\r\nCodenvy at:      http://codenvy.onprem\r\nAdmin username:  admin\r\nAdmin password:  password\r\n```\r\n\r\n@eivantsov: please, update related section http://codenvy.readme.io/docs/installation#install at documentation page: add info about post-flight check and new option of bootstrap script *--skip-post-flight-check*."}}
{"actor":{"display_login":"dmytro-ndp"}}