{"action":"created","issue":{"url":"https://api.github.com/repos/src-d/lookout/issues/414","repository_url":"https://api.github.com/repos/src-d/lookout","labels_url":"https://api.github.com/repos/src-d/lookout/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/src-d/lookout/issues/414/comments","events_url":"https://api.github.com/repos/src-d/lookout/issues/414/events","html_url":"https://github.com/src-d/lookout/issues/414","id":390345752,"node_id":"MDU6SXNzdWUzOTAzNDU3NTI=","number":414,"title":"Error is not raised when config is broken","user":{"login":"EgorBu","id":2606702,"node_id":"MDQ6VXNlcjI2MDY3MDI=","avatar_url":"https://avatars0.githubusercontent.com/u/2606702?v=4","gravatar_id":"","url":"https://api.github.com/users/EgorBu","html_url":"https://github.com/EgorBu","followers_url":"https://api.github.com/users/EgorBu/followers","following_url":"https://api.github.com/users/EgorBu/following{/other_user}","gists_url":"https://api.github.com/users/EgorBu/gists{/gist_id}","starred_url":"https://api.github.com/users/EgorBu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EgorBu/subscriptions","organizations_url":"https://api.github.com/users/EgorBu/orgs","repos_url":"https://api.github.com/users/EgorBu/repos","events_url":"https://api.github.com/users/EgorBu/events{/privacy}","received_events_url":"https://api.github.com/users/EgorBu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T18:08:49Z","updated_at":"2018-12-12T18:13:30Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI used broken config but lookout still started without any problems (several logs appeared only)\r\n\r\nExample of bad `docker-compose.yml`:\r\n```\r\nversion: '3.3'\r\n\r\nservices:\r\n  lookout:\r\n    image: \"srcd/lookout:latest\"\r\n    network_mode: \"host\"\r\n    depends_on:\r\n      - postgres\r\n      - dummy\r\n    environment:\r\n      GITHUB_USER: ${GITHUB_USER:-}\r\n      GITHUB_TOKEN: ${GITHUB_TOKEN:-}\r\n    ports:\r\n      - \"10301:10301\"\r\n    entrypoint: [\"/bin/sh\"]\r\n    # sleep because container with db is up but the db itself doesn't accept connections yet\r\n    command: [\"-c\", \"sleep 5 && lookoutd migrate && lookoutd serve\"]\r\n    volumes:\r\n      - ./config.yml:/config.yml\r\n  dummy:\r\n    image: \"srcd/lookout-dummy-analyzer:latest\"\r\n    network_mode: \"host\"\r\n    ports:\r\n      - \"9930:9930\"\r\n  bblfsh:\r\n    image: \"bblfsh/bblfshd:v2.10.0\"\r\n    ports:\r\n    - \"9432:9432\"\r\n    privileged: true\r\n    entrypoint: [\"/bin/sh\"]\r\n    command:\r\n    - \"-c\"\r\n    - \"bblfshd & sleep 5 && bblfshctl driver install javascript \\\r\n       docker://bblfsh/javascript-driver:v1.2.0 && tail -f /dev/null\"\r\n  postgres:\r\n    image: \"postgres:alpine\"\r\n    restart: always\r\n    ports:\r\n      - \"5432:5432\"\r\n    environment:\r\n      POSTGRES_PASSWORD: postgres\r\n      POSTGRES_DB: lookout\r\n```\r\nIncorrect line: `docker://bblfsh/javascript-driver:v1.2.0`\r\nExpected bahaviour - raise an error and fail. WDYT?"},"comment":{"url":"https://api.github.com/repos/src-d/lookout/issues/comments/446687579","html_url":"https://github.com/src-d/lookout/issues/414#issuecomment-446687579","issue_url":"https://api.github.com/repos/src-d/lookout/issues/414","id":446687579,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjY4NzU3OQ==","user":{"login":"smacker","id":406916,"node_id":"MDQ6VXNlcjQwNjkxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/406916?v=4","gravatar_id":"","url":"https://api.github.com/users/smacker","html_url":"https://github.com/smacker","followers_url":"https://api.github.com/users/smacker/followers","following_url":"https://api.github.com/users/smacker/following{/other_user}","gists_url":"https://api.github.com/users/smacker/gists{/gist_id}","starred_url":"https://api.github.com/users/smacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacker/subscriptions","organizations_url":"https://api.github.com/users/smacker/orgs","repos_url":"https://api.github.com/users/smacker/repos","events_url":"https://api.github.com/users/smacker/events{/privacy}","received_events_url":"https://api.github.com/users/smacker/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T18:13:30Z","updated_at":"2018-12-12T18:13:30Z","author_association":"MEMBER","body":"Sorry Egor, we don't develop `docker-compose` and can't raise error in such case.\r\n\r\nIf you change provided yaml file dealing with `docker-compose` is on you."}}
{"actor":{"display_login":"smacker"}}