{"action":"created","comment":{"url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/comments/76490481","id":76490481,"diff_hunk":"@@ -0,0 +1,35 @@\n+#!/bin/bash \n+\n+set -e\n+set -u\n+set -o pipefail\n+\n+__dir=\"$(cd \"$(dirname \"${BASH_SOURCE[0]}\")\" && pwd)\"\n+__proj_dir=\"$(dirname \"$__dir\")\"\n+__proj_name=\"$(basename $__proj_dir)\"\n+\n+. \"${__dir}/common.sh\"\n+\n+# NOTE: these variables control the docker-compose image.\n+export INFLUXDB_VERSION=\"${INFLUXDB_VERSION:-\"v0.10.1\"}\"\n+export PLUGIN_SRC=\"${__proj_dir}\"\n+export LOG_LEVEL=\"${LOG_LEVEL:-\"7\"}\"\n+export PROJECT_NAME=\"${__proj_name}\"\n+\n+TEST_TYPE=\"${TEST_TYPE:-\"large\"}\"\n+\n+docker_folder=\"${__proj_dir}/scripts/docker/${TEST_TYPE}\"\n+\n+_debug \"running docker compose images\"\n+cd ${__proj_dir}/examples/tasks && docker-compose up -d \n+_debug \"running test: ${TEST_TYPE}\"\n+\n+set +e\n+docker-compose exec main bash -c \"export LOG_LEVEL=$LOG_LEVEL; /${__proj_name}/scripts/large_tests.sh\" \n+test_res=$?\n+set -e\n+echo \"exit code from large_jenkins $test_res\"\n+_debug \"stopping and removing containers\"\n+cd ${__proj_dir}/examples/tasks && docker-compose down","path":"scripts/large_compose.sh","position":33,"original_position":33,"commit_id":"e12063a5ef06afa495bd087b5b1b21e1b37e5121","original_commit_id":"e12063a5ef06afa495bd087b5b1b21e1b37e5121","user":{"login":"nanliu","id":323624,"avatar_url":"https://avatars.githubusercontent.com/u/323624?v=3","gravatar_id":"","url":"https://api.github.com/users/nanliu","html_url":"https://github.com/nanliu","followers_url":"https://api.github.com/users/nanliu/followers","following_url":"https://api.github.com/users/nanliu/following{/other_user}","gists_url":"https://api.github.com/users/nanliu/gists{/gist_id}","starred_url":"https://api.github.com/users/nanliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanliu/subscriptions","organizations_url":"https://api.github.com/users/nanliu/orgs","repos_url":"https://api.github.com/users/nanliu/repos","events_url":"https://api.github.com/users/nanliu/events{/privacy}","received_events_url":"https://api.github.com/users/nanliu/received_events","type":"User","site_admin":false},"body":"same as above","created_at":"2016-08-26T21:25:05Z","updated_at":"2016-08-26T21:25:05Z","html_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/pull/68#discussion_r76490481","pull_request_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68","_links":{"self":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/comments/76490481"},"html":{"href":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/pull/68#discussion_r76490481"},"pull_request":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68"}}},"pull_request":{"url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68","id":82833352,"html_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/pull/68","diff_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/pull/68.diff","patch_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/pull/68.patch","issue_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/68","number":68,"state":"open","locked":false,"title":"Adds large tests ","user":{"login":"jcooklin","id":862968,"avatar_url":"https://avatars.githubusercontent.com/u/862968?v=3","gravatar_id":"","url":"https://api.github.com/users/jcooklin","html_url":"https://github.com/jcooklin","followers_url":"https://api.github.com/users/jcooklin/followers","following_url":"https://api.github.com/users/jcooklin/following{/other_user}","gists_url":"https://api.github.com/users/jcooklin/gists{/gist_id}","starred_url":"https://api.github.com/users/jcooklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcooklin/subscriptions","organizations_url":"https://api.github.com/users/jcooklin/orgs","repos_url":"https://api.github.com/users/jcooklin/repos","events_url":"https://api.github.com/users/jcooklin/events{/privacy}","received_events_url":"https://api.github.com/users/jcooklin/received_events","type":"User","site_admin":false},"body":"In this PR we \r\n* Adds large tests that test the example\r\n * Tests can be deployed through docker-compose or kubernetes \r\n* Updates travis to deploy artifacts \r\n* Adds readme to scripts and examples\r\n\r\n`K8S_TEST=1 make test-large`\r\n![k8s_test](https://camo.githubusercontent.com/cc299f6f73b7e8bd6b130bd2b222918c18b0473f/687474703a2f2f692e67697068792e636f6d2f336f7a38784e6a636a4361716570616e76792e676966)\r\n\r\n`examples/run-mock-influxdb.sh`\r\n![example](https://camo.githubusercontent.com/f443c7265e469d5dcf85eb2fea4f7184dc6ac23e/687474703a2f2f692e67697068792e636f6d2f6c32537138703757796732726c49324a322e676966)\r\n\r\ncc: @marcin-krolik @nanliu @intelsdi-x/plugin-maintainers ","created_at":"2016-08-26T05:21:51Z","updated_at":"2016-08-26T21:25:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b15590118e617976056a8fe7cd1e7f9d4f3c1913","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68/commits","review_comments_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68/comments","review_comment_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/68/comments","statuses_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/statuses/e12063a5ef06afa495bd087b5b1b21e1b37e5121","head":{"label":"intelsdi-x:build","ref":"build","sha":"e12063a5ef06afa495bd087b5b1b21e1b37e5121","user":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"repo":{"id":41835209,"name":"snap-plugin-publisher-influxdb","full_name":"intelsdi-x/snap-plugin-publisher-influxdb","owner":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb","description":"Publishes snap metrics to InfluxDB","fork":false,"url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb","forks_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/forks","keys_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/teams","hooks_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/hooks","issue_events_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/events{/number}","events_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/events","assignees_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/assignees{/user}","branches_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/branches{/branch}","tags_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/tags","blobs_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/statuses/{sha}","languages_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/languages","stargazers_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/stargazers","contributors_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/contributors","subscribers_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/subscribers","subscription_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/subscription","commits_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/contents/{+path}","compare_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/merges","archive_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/downloads","issues_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues{/number}","pulls_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls{/number}","milestones_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/milestones{/number}","notifications_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/labels{/name}","releases_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/releases{/id}","deployments_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/deployments","created_at":"2015-09-03T00:48:16Z","updated_at":"2016-07-15T21:49:26Z","pushed_at":"2016-08-26T05:53:55Z","git_url":"git://github.com/intelsdi-x/snap-plugin-publisher-influxdb.git","ssh_url":"git@github.com:intelsdi-x/snap-plugin-publisher-influxdb.git","clone_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb.git","svn_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb","homepage":"http://snap-telemetry.io/","size":347,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"intelsdi-x:master","ref":"master","sha":"af67edac16d2d9363c5cf8df4cfb7809318e6e3f","user":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"repo":{"id":41835209,"name":"snap-plugin-publisher-influxdb","full_name":"intelsdi-x/snap-plugin-publisher-influxdb","owner":{"login":"intelsdi-x","id":8398747,"avatar_url":"https://avatars.githubusercontent.com/u/8398747?v=3","gravatar_id":"","url":"https://api.github.com/users/intelsdi-x","html_url":"https://github.com/intelsdi-x","followers_url":"https://api.github.com/users/intelsdi-x/followers","following_url":"https://api.github.com/users/intelsdi-x/following{/other_user}","gists_url":"https://api.github.com/users/intelsdi-x/gists{/gist_id}","starred_url":"https://api.github.com/users/intelsdi-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intelsdi-x/subscriptions","organizations_url":"https://api.github.com/users/intelsdi-x/orgs","repos_url":"https://api.github.com/users/intelsdi-x/repos","events_url":"https://api.github.com/users/intelsdi-x/events{/privacy}","received_events_url":"https://api.github.com/users/intelsdi-x/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb","description":"Publishes snap metrics to InfluxDB","fork":false,"url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb","forks_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/forks","keys_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/teams","hooks_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/hooks","issue_events_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/events{/number}","events_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/events","assignees_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/assignees{/user}","branches_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/branches{/branch}","tags_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/tags","blobs_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/statuses/{sha}","languages_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/languages","stargazers_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/stargazers","contributors_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/contributors","subscribers_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/subscribers","subscription_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/subscription","commits_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/contents/{+path}","compare_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/merges","archive_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/downloads","issues_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues{/number}","pulls_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls{/number}","milestones_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/milestones{/number}","notifications_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/labels{/name}","releases_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/releases{/id}","deployments_url":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/deployments","created_at":"2015-09-03T00:48:16Z","updated_at":"2016-07-15T21:49:26Z","pushed_at":"2016-08-26T05:53:55Z","git_url":"git://github.com/intelsdi-x/snap-plugin-publisher-influxdb.git","ssh_url":"git@github.com:intelsdi-x/snap-plugin-publisher-influxdb.git","clone_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb.git","svn_url":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb","homepage":"http://snap-telemetry.io/","size":347,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":3,"forks":16,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68"},"html":{"href":"https://github.com/intelsdi-x/snap-plugin-publisher-influxdb/pull/68"},"issue":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/68"},"comments":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/issues/68/comments"},"review_comments":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68/comments"},"review_comment":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/pulls/68/commits"},"statuses":{"href":"https://api.github.com/repos/intelsdi-x/snap-plugin-publisher-influxdb/statuses/e12063a5ef06afa495bd087b5b1b21e1b37e5121"}}}}
{"actor":{"display_login":"nanliu"}}