{"action":"created","comment":{"url":"https://api.github.com/repos/deis/workflow-e2e/pulls/comments/63604736","id":63604736,"diff_hunk":"@@ -0,0 +1,94 @@\n+package tests\n+\n+import (\n+\t\"fmt\"\n+\t\"os\"\n+\t\"strings\"\n+\n+\t\"github.com/deis/workflow-e2e/tests/cmd\"\n+\t\"github.com/deis/workflow-e2e/tests/cmd/apps\"\n+\t\"github.com/deis/workflow-e2e/tests/cmd/auth\"\n+\t\"github.com/deis/workflow-e2e/tests/cmd/git\"\n+\t\"github.com/deis/workflow-e2e/tests/cmd/keys\"\n+\t\"github.com/deis/workflow-e2e/tests/model\"\n+\n+\t. \"github.com/onsi/ginkgo\"\n+\t. \"github.com/onsi/ginkgo/extensions/table\"\n+\t. \"github.com/onsi/gomega\"\n+)\n+\n+var _ = Describe(\"all buildpack apps\", func() {\n+\n+\tContext(\"with an existing user\", func() {\n+\n+\t\tvar user model.User\n+\t\tvar keyPath string\n+\n+\t\tBeforeEach(func() {\n+\t\t\tuser = auth.Register()\n+\t\t})\n+\n+\t\tAfterEach(func() {\n+\t\t\tauth.Cancel(user)\n+\t\t})\n+\n+\t\tContext(\"who has added their public key\", func() {\n+\n+\t\t\tBeforeEach(func() {\n+\t\t\t\t_, keyPath = keys.Add(user)\n+\t\t\t})\n+\n+\t\t\tDescribeTable(\"can deploy an example buildpack app\",\n+\t\t\t\tfunc(url, buildpack, banner string) {\n+\n+\t\t\t\t\tvar app model.App\n+\n+\t\t\t\t\toutput, err := cmd.Execute(`git clone %s`, url)\n+\t\t\t\t\tExpect(err).NotTo(HaveOccurred(), output)\n+\t\t\t\t\t// infer app directory from URL\n+\t\t\t\t\tsplits := strings.Split(url, \"/\")\n+\t\t\t\t\tdir := strings.TrimSuffix(splits[len(splits)-1], \".git\")\n+\t\t\t\t\tos.Chdir(dir)\n+\t\t\t\t\t// creeate with custom buildpack if needed\n+\t\t\t\t\tvar args []string\n+\t\t\t\t\tif buildpack != \"\" {\n+\t\t\t\t\t\targs = append(args, fmt.Sprintf(\"--buildpack %s\", buildpack))\n+\t\t\t\t\t}\n+\t\t\t\t\tapp = apps.Create(user, args...)\n+\t\t\t\t\tdefer apps.Destroy(user, app)\n+\t\t\t\t\tgit.Push(user, keyPath, app, banner)\n+\n+\t\t\t\t},\n+\n+\t\t\t\tEntry(\"Clojure\", \"https://github.com/deis/example-clojure-ring.git\", \"\",","path":"tests/buildpacks_test.go","position":63,"original_position":63,"commit_id":"aee4d48dabb40a196340bd79f45537f42cb989d2","original_commit_id":"aee4d48dabb40a196340bd79f45537f42cb989d2","user":{"login":"helgi","id":70530,"avatar_url":"https://avatars.githubusercontent.com/u/70530?v=3","gravatar_id":"","url":"https://api.github.com/users/helgi","html_url":"https://github.com/helgi","followers_url":"https://api.github.com/users/helgi/followers","following_url":"https://api.github.com/users/helgi/following{/other_user}","gists_url":"https://api.github.com/users/helgi/gists{/gist_id}","starred_url":"https://api.github.com/users/helgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helgi/subscriptions","organizations_url":"https://api.github.com/users/helgi/orgs","repos_url":"https://api.github.com/users/helgi/repos","events_url":"https://api.github.com/users/helgi/events{/privacy}","received_events_url":"https://api.github.com/users/helgi/received_events","type":"User","site_admin":false},"body":"Should we add documentation around adding new example repos to the org would require updating this list? Do we have a \"day to day maintenance of example repos\" doc?","created_at":"2016-05-17T21:10:29Z","updated_at":"2016-05-17T21:10:29Z","html_url":"https://github.com/deis/workflow-e2e/pull/188#discussion_r63604736","pull_request_url":"https://api.github.com/repos/deis/workflow-e2e/pulls/188","_links":{"self":{"href":"https://api.github.com/repos/deis/workflow-e2e/pulls/comments/63604736"},"html":{"href":"https://github.com/deis/workflow-e2e/pull/188#discussion_r63604736"},"pull_request":{"href":"https://api.github.com/repos/deis/workflow-e2e/pulls/188"}}},"pull_request":{"url":"https://api.github.com/repos/deis/workflow-e2e/pulls/188","id":68634040,"html_url":"https://github.com/deis/workflow-e2e/pull/188","diff_url":"https://github.com/deis/workflow-e2e/pull/188.diff","patch_url":"https://github.com/deis/workflow-e2e/pull/188.patch","issue_url":"https://api.github.com/repos/deis/workflow-e2e/issues/188","number":188,"state":"open","locked":false,"title":"tests(*): add specs for all buildpack & dockerfile example apps","user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"body":"This adds specs that cover deploying all the deis/example-* apps. These can take a while to run, so they are disabled by default. You can run *only* these tests by providing a bogus match to the new `$SKIP_TEST` var and a correct regex to `$FOCUS_TEST`:\r\n```console\r\n$ SKIP_TEST=none FOCUS_TEST='all (buildpack|dockerfile) apps' make test-integration\r\nginkgo -slowSpecThreshold=120.00 -noisyPendings=false -p --skip=\"none\" --focus=\"all (buildpack|dockerfile) apps\" tests/\r\nRunning Suite: Deis Workflow\r\n============================\r\nRandom Seed: 1462228973\r\nWill run 14 of 170 specs\r\n...\r\n```\r\n\r\nSee also #179 for the introduction of `$FOCUS_TEST`.\r\n\r\nTODO:\r\n- [x] figure out why example-scala is failing (out of memory?)\r\n- [ ] create a nightly Jenkins job to focus on these tests","created_at":"2016-05-02T22:45:47Z","updated_at":"2016-05-17T21:10:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"101bb8431a6288573d10f9eef7f31306e097bc1f","assignee":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/workflow-e2e/milestones/3","html_url":"https://github.com/deis/workflow-e2e/milestones/v2.0-rc1","labels_url":"https://api.github.com/repos/deis/workflow-e2e/milestones/3/labels","id":1598101,"number":3,"title":"v2.0-rc1","description":null,"creator":{"login":"technosophos","id":89193,"avatar_url":"https://avatars.githubusercontent.com/u/89193?v=3","gravatar_id":"","url":"https://api.github.com/users/technosophos","html_url":"https://github.com/technosophos","followers_url":"https://api.github.com/users/technosophos/followers","following_url":"https://api.github.com/users/technosophos/following{/other_user}","gists_url":"https://api.github.com/users/technosophos/gists{/gist_id}","starred_url":"https://api.github.com/users/technosophos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technosophos/subscriptions","organizations_url":"https://api.github.com/users/technosophos/orgs","repos_url":"https://api.github.com/users/technosophos/repos","events_url":"https://api.github.com/users/technosophos/events{/privacy}","received_events_url":"https://api.github.com/users/technosophos/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":20,"state":"open","created_at":"2016-02-22T20:27:50Z","updated_at":"2016-05-17T20:01:08Z","due_on":"2016-05-25T06:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/deis/workflow-e2e/pulls/188/commits","review_comments_url":"https://api.github.com/repos/deis/workflow-e2e/pulls/188/comments","review_comment_url":"https://api.github.com/repos/deis/workflow-e2e/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deis/workflow-e2e/issues/188/comments","statuses_url":"https://api.github.com/repos/deis/workflow-e2e/statuses/aee4d48dabb40a196340bd79f45537f42cb989d2","head":{"label":"mboersma:test-all-buildpacks","ref":"test-all-buildpacks","sha":"aee4d48dabb40a196340bd79f45537f42cb989d2","user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"repo":{"id":49093184,"name":"workflow-e2e","full_name":"mboersma/workflow-e2e","owner":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mboersma/workflow-e2e","description":"End-to-end tests for Deis Workflow","fork":true,"url":"https://api.github.com/repos/mboersma/workflow-e2e","forks_url":"https://api.github.com/repos/mboersma/workflow-e2e/forks","keys_url":"https://api.github.com/repos/mboersma/workflow-e2e/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mboersma/workflow-e2e/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mboersma/workflow-e2e/teams","hooks_url":"https://api.github.com/repos/mboersma/workflow-e2e/hooks","issue_events_url":"https://api.github.com/repos/mboersma/workflow-e2e/issues/events{/number}","events_url":"https://api.github.com/repos/mboersma/workflow-e2e/events","assignees_url":"https://api.github.com/repos/mboersma/workflow-e2e/assignees{/user}","branches_url":"https://api.github.com/repos/mboersma/workflow-e2e/branches{/branch}","tags_url":"https://api.github.com/repos/mboersma/workflow-e2e/tags","blobs_url":"https://api.github.com/repos/mboersma/workflow-e2e/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mboersma/workflow-e2e/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mboersma/workflow-e2e/git/refs{/sha}","trees_url":"https://api.github.com/repos/mboersma/workflow-e2e/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mboersma/workflow-e2e/statuses/{sha}","languages_url":"https://api.github.com/repos/mboersma/workflow-e2e/languages","stargazers_url":"https://api.github.com/repos/mboersma/workflow-e2e/stargazers","contributors_url":"https://api.github.com/repos/mboersma/workflow-e2e/contributors","subscribers_url":"https://api.github.com/repos/mboersma/workflow-e2e/subscribers","subscription_url":"https://api.github.com/repos/mboersma/workflow-e2e/subscription","commits_url":"https://api.github.com/repos/mboersma/workflow-e2e/commits{/sha}","git_commits_url":"https://api.github.com/repos/mboersma/workflow-e2e/git/commits{/sha}","comments_url":"https://api.github.com/repos/mboersma/workflow-e2e/comments{/number}","issue_comment_url":"https://api.github.com/repos/mboersma/workflow-e2e/issues/comments{/number}","contents_url":"https://api.github.com/repos/mboersma/workflow-e2e/contents/{+path}","compare_url":"https://api.github.com/repos/mboersma/workflow-e2e/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mboersma/workflow-e2e/merges","archive_url":"https://api.github.com/repos/mboersma/workflow-e2e/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mboersma/workflow-e2e/downloads","issues_url":"https://api.github.com/repos/mboersma/workflow-e2e/issues{/number}","pulls_url":"https://api.github.com/repos/mboersma/workflow-e2e/pulls{/number}","milestones_url":"https://api.github.com/repos/mboersma/workflow-e2e/milestones{/number}","notifications_url":"https://api.github.com/repos/mboersma/workflow-e2e/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mboersma/workflow-e2e/labels{/name}","releases_url":"https://api.github.com/repos/mboersma/workflow-e2e/releases{/id}","deployments_url":"https://api.github.com/repos/mboersma/workflow-e2e/deployments","created_at":"2016-01-05T21:15:07Z","updated_at":"2016-01-13T19:39:14Z","pushed_at":"2016-05-17T01:05:07Z","git_url":"git://github.com/mboersma/workflow-e2e.git","ssh_url":"git@github.com:mboersma/workflow-e2e.git","clone_url":"https://github.com/mboersma/workflow-e2e.git","svn_url":"https://github.com/mboersma/workflow-e2e","homepage":null,"size":18162,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"deis:master","ref":"master","sha":"5e74a9ee8085de9d1df4c8729319272c18594e63","user":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"repo":{"id":48503688,"name":"workflow-e2e","full_name":"deis/workflow-e2e","owner":{"login":"deis","id":6117407,"avatar_url":"https://avatars.githubusercontent.com/u/6117407?v=3","gravatar_id":"","url":"https://api.github.com/users/deis","html_url":"https://github.com/deis","followers_url":"https://api.github.com/users/deis/followers","following_url":"https://api.github.com/users/deis/following{/other_user}","gists_url":"https://api.github.com/users/deis/gists{/gist_id}","starred_url":"https://api.github.com/users/deis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deis/subscriptions","organizations_url":"https://api.github.com/users/deis/orgs","repos_url":"https://api.github.com/users/deis/repos","events_url":"https://api.github.com/users/deis/events{/privacy}","received_events_url":"https://api.github.com/users/deis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/deis/workflow-e2e","description":"End-to-end tests for Deis Workflow","fork":false,"url":"https://api.github.com/repos/deis/workflow-e2e","forks_url":"https://api.github.com/repos/deis/workflow-e2e/forks","keys_url":"https://api.github.com/repos/deis/workflow-e2e/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deis/workflow-e2e/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deis/workflow-e2e/teams","hooks_url":"https://api.github.com/repos/deis/workflow-e2e/hooks","issue_events_url":"https://api.github.com/repos/deis/workflow-e2e/issues/events{/number}","events_url":"https://api.github.com/repos/deis/workflow-e2e/events","assignees_url":"https://api.github.com/repos/deis/workflow-e2e/assignees{/user}","branches_url":"https://api.github.com/repos/deis/workflow-e2e/branches{/branch}","tags_url":"https://api.github.com/repos/deis/workflow-e2e/tags","blobs_url":"https://api.github.com/repos/deis/workflow-e2e/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deis/workflow-e2e/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deis/workflow-e2e/git/refs{/sha}","trees_url":"https://api.github.com/repos/deis/workflow-e2e/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deis/workflow-e2e/statuses/{sha}","languages_url":"https://api.github.com/repos/deis/workflow-e2e/languages","stargazers_url":"https://api.github.com/repos/deis/workflow-e2e/stargazers","contributors_url":"https://api.github.com/repos/deis/workflow-e2e/contributors","subscribers_url":"https://api.github.com/repos/deis/workflow-e2e/subscribers","subscription_url":"https://api.github.com/repos/deis/workflow-e2e/subscription","commits_url":"https://api.github.com/repos/deis/workflow-e2e/commits{/sha}","git_commits_url":"https://api.github.com/repos/deis/workflow-e2e/git/commits{/sha}","comments_url":"https://api.github.com/repos/deis/workflow-e2e/comments{/number}","issue_comment_url":"https://api.github.com/repos/deis/workflow-e2e/issues/comments{/number}","contents_url":"https://api.github.com/repos/deis/workflow-e2e/contents/{+path}","compare_url":"https://api.github.com/repos/deis/workflow-e2e/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deis/workflow-e2e/merges","archive_url":"https://api.github.com/repos/deis/workflow-e2e/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deis/workflow-e2e/downloads","issues_url":"https://api.github.com/repos/deis/workflow-e2e/issues{/number}","pulls_url":"https://api.github.com/repos/deis/workflow-e2e/pulls{/number}","milestones_url":"https://api.github.com/repos/deis/workflow-e2e/milestones{/number}","notifications_url":"https://api.github.com/repos/deis/workflow-e2e/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deis/workflow-e2e/labels{/name}","releases_url":"https://api.github.com/repos/deis/workflow-e2e/releases{/id}","deployments_url":"https://api.github.com/repos/deis/workflow-e2e/deployments","created_at":"2015-12-23T17:50:37Z","updated_at":"2016-05-17T09:08:15Z","pushed_at":"2016-05-17T20:01:08Z","git_url":"git://github.com/deis/workflow-e2e.git","ssh_url":"git@github.com:deis/workflow-e2e.git","clone_url":"https://github.com/deis/workflow-e2e.git","svn_url":"https://github.com/deis/workflow-e2e","homepage":null,"size":18190,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":46,"forks":13,"open_issues":46,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deis/workflow-e2e/pulls/188"},"html":{"href":"https://github.com/deis/workflow-e2e/pull/188"},"issue":{"href":"https://api.github.com/repos/deis/workflow-e2e/issues/188"},"comments":{"href":"https://api.github.com/repos/deis/workflow-e2e/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/deis/workflow-e2e/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/deis/workflow-e2e/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deis/workflow-e2e/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/deis/workflow-e2e/statuses/aee4d48dabb40a196340bd79f45537f42cb989d2"}}}}