{"action":"created","issue":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/2639","labels_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2639/labels{/name}","comments_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2639/comments","events_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2639/events","html_url":"https://github.com/elasticsearch/logstash/pull/2639","id":58062877,"number":2639,"title":"Use shell scripts to setup in an easy way our CI jobs.","user":{"login":"purbon","id":68540,"avatar_url":"https://avatars.githubusercontent.com/u/68540?v=3","gravatar_id":"","url":"https://api.github.com/users/purbon","html_url":"https://github.com/purbon","followers_url":"https://api.github.com/users/purbon/followers","following_url":"https://api.github.com/users/purbon/following{/other_user}","gists_url":"https://api.github.com/users/purbon/gists{/gist_id}","starred_url":"https://api.github.com/users/purbon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purbon/subscriptions","organizations_url":"https://api.github.com/users/purbon/orgs","repos_url":"https://api.github.com/users/purbon/repos","events_url":"https://api.github.com/users/purbon/events{/privacy}","received_events_url":"https://api.github.com/users/purbon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elasticsearch/logstash/labels/1.5","name":"1.5","color":"ededed"},{"url":"https://api.github.com/repos/elasticsearch/logstash/labels/O(1)","name":"O(1)","color":"bfdadc"},{"url":"https://api.github.com/repos/elasticsearch/logstash/labels/tests-infra","name":"tests-infra","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-18T12:41:37Z","updated_at":"2015-02-19T14:57:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elasticsearch/logstash/pulls/2639","html_url":"https://github.com/elasticsearch/logstash/pull/2639","diff_url":"https://github.com/elasticsearch/logstash/pull/2639.diff","patch_url":"https://github.com/elasticsearch/logstash/pull/2639.patch"},"body":"I try in this change to wrap up some easy changes in the way we aim to run our CI jobs that will allow us to have:\r\n\r\n* An easiest way for everyone, including Jenkins to run the different test jobs for logstash.\r\n* Add a common, non changing, interface that developers and machines (aka Jenkins) could rely not to change.\r\n* Have a way to document, in code, the necessary steps to setup and run the test suites for Logstash.\r\n\r\nif we apply this change a sample Jenkins configuration could end up being as simple as:\r\n\r\n```\r\n#!/bin/bash\r\n\r\n# Select and setup the local ruby environment if need.\r\n# End of that the ruby setup.\r\n\r\nexport COVERALLS_REPO_TOKEN=....\r\n\r\nci/ci_setup.sh\r\nCOVERAGE=true ci/ci_test.sh\r\n```\r\n\r\n* ```ci_setup.sh```: takes care of setting up all the general environment to run the Logstash test.\r\n* ```ci_test.sh```: takes care of runnig the test. This script accepts a parameter that setup and run core or all-plugins tests.\r\n\r\nBy doing this we could simplify the transition process for changes like #2634, as the naming changes would be scope under a common interface."},"comment":{"url":"https://api.github.com/repos/elasticsearch/logstash/issues/comments/75065130","html_url":"https://github.com/elasticsearch/logstash/pull/2639#issuecomment-75065130","issue_url":"https://api.github.com/repos/elasticsearch/logstash/issues/2639","id":75065130,"user":{"login":"elasticsearch-bot","id":9386276,"avatar_url":"https://avatars.githubusercontent.com/u/9386276?v=3","gravatar_id":"","url":"https://api.github.com/users/elasticsearch-bot","html_url":"https://github.com/elasticsearch-bot","followers_url":"https://api.github.com/users/elasticsearch-bot/followers","following_url":"https://api.github.com/users/elasticsearch-bot/following{/other_user}","gists_url":"https://api.github.com/users/elasticsearch-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/elasticsearch-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elasticsearch-bot/subscriptions","organizations_url":"https://api.github.com/users/elasticsearch-bot/orgs","repos_url":"https://api.github.com/users/elasticsearch-bot/repos","events_url":"https://api.github.com/users/elasticsearch-bot/events{/privacy}","received_events_url":"https://api.github.com/users/elasticsearch-bot/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T14:57:09Z","updated_at":"2015-02-19T14:57:09Z","body":"Merged sucessfully into master 1.5!"}}