{"action":"created","comment":{"url":"https://api.github.com/repos/StackStorm/st2cd/pulls/comments/37808258","id":37808258,"diff_hunk":"@@ -0,0 +1,77 @@\n+---\n+  chain:\n+    -\n+      name: \"short_version\"\n+      ref: \"core.local\"\n+      params:\n+        cmd: \"echo {{st2_release_version}} | cut -d \\\".\\\" -f1-2\"\n+      publish:\n+        st2_release_base_ver: \"{{short_version.stdout}}\"\n+        build_key: \"st2_v{{st2_release_base_ver}}_build_number\"\n+      on-success: \"get_current_build\"\n+    -\n+      name: \"get_build_server\"\n+      ref: \"linux.dig\"\n+      params:\n+        hostname: \"st2-build-slave-ubuntu.service.consul\"\n+        rand: true\n+        count: 1\n+      on-success: \"setup_st2client_rule_for_branch\"\n+    -\n+      name: \"setup_st2client_rule_for_branch\"\n+      ref: \"st2cd.create_version_release_st2client_rule\"\n+      params:\n+        hosts: \"{{get_build_server.result[0]}}\"\n+        st2-base-url: \"{{st2_base_url}}\"\n+        branch: \"v{{st2_release_base_ver}}\"\n+      on-success: \"setup_tag_rule_for_branch\"\n+    -\n+      name: \"setup_tag_rule_for_branch\"\n+      ref: \"st2cd.create_version_tag_rule\"\n+      params:\n+        hosts: \"{{get_build_server.result[0]}}\"\n+        st2-base-url: \"{{st2_base_url}}\"\n+        branch: \"v{{st2_release_base_ver}}\"\n+      on-success: \"setup_prod_pkg_rule_for_branch\"\n+    -\n+      name: \"setup_prod_pkg_rule_for_branch\"\n+      ref: \"st2cd.create_prod_pkg_rule\"\n+      params:\n+        hosts: \"{{get_build_server.result[0]}}\"\n+        st2-base-url: \"{{st2_base_url}}\"\n+        branch: \"v{{st2_release_base_ver}}\"\n+      on-success: \"run_ubuntu_prod_pkg_for_release\"\n+    -\n+      name: \"run_ubuntu_prod_pkg_for_release\"\n+      ref: \"core.local\"\n+      params:\n+        hosts: \"{{get_build_server.result[0]}}\"\n+        st2-base-url: \"{{st2_base_url}}\"\n+        branch: \"v{{st2_release_base_ver}}\"\n+        cmd: \"st2 run st2_pkg_ubuntu14 repo={{st2_repo}} branch=v{{st2_release_base_ver}} dl_server={{system.apt_origin_production}} environment=production revision={{st2_revision}} build={{build_key}} -a\"","path":"actions/workflows/st2_package_publish_release.yaml","position":51,"original_position":51,"commit_id":"cb257f8371cbebbacb75d0a56b978ce0b8d04ca4","original_commit_id":"cb257f8371cbebbacb75d0a56b978ce0b8d04ca4","user":{"login":"manasdk","id":1776099,"avatar_url":"https://avatars.githubusercontent.com/u/1776099?v=3","gravatar_id":"","url":"https://api.github.com/users/manasdk","html_url":"https://github.com/manasdk","followers_url":"https://api.github.com/users/manasdk/followers","following_url":"https://api.github.com/users/manasdk/following{/other_user}","gists_url":"https://api.github.com/users/manasdk/gists{/gist_id}","starred_url":"https://api.github.com/users/manasdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manasdk/subscriptions","organizations_url":"https://api.github.com/users/manasdk/orgs","repos_url":"https://api.github.com/users/manasdk/repos","events_url":"https://api.github.com/users/manasdk/events{/privacy}","received_events_url":"https://api.github.com/users/manasdk/received_events","type":"User","site_admin":false},"body":"-a at the end so both packaging jobs run in parallel","created_at":"2015-08-24T21:40:19Z","updated_at":"2015-08-24T21:40:19Z","html_url":"https://github.com/StackStorm/st2cd/pull/19#discussion_r37808258","pull_request_url":"https://api.github.com/repos/StackStorm/st2cd/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2cd/pulls/comments/37808258"},"html":{"href":"https://github.com/StackStorm/st2cd/pull/19#discussion_r37808258"},"pull_request":{"href":"https://api.github.com/repos/StackStorm/st2cd/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/StackStorm/st2cd/pulls/19","id":43211244,"html_url":"https://github.com/StackStorm/st2cd/pull/19","diff_url":"https://github.com/StackStorm/st2cd/pull/19.diff","patch_url":"https://github.com/StackStorm/st2cd/pull/19.patch","issue_url":"https://api.github.com/repos/StackStorm/st2cd/issues/19","number":19,"state":"open","locked":false,"title":"Assorted fixes","user":{"login":"manasdk","id":1776099,"avatar_url":"https://avatars.githubusercontent.com/u/1776099?v=3","gravatar_id":"","url":"https://api.github.com/users/manasdk","html_url":"https://github.com/manasdk","followers_url":"https://api.github.com/users/manasdk/followers","following_url":"https://api.github.com/users/manasdk/following{/other_user}","gists_url":"https://api.github.com/users/manasdk/gists{/gist_id}","starred_url":"https://api.github.com/users/manasdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manasdk/subscriptions","organizations_url":"https://api.github.com/users/manasdk/orgs","repos_url":"https://api.github.com/users/manasdk/repos","events_url":"https://api.github.com/users/manasdk/events{/privacy}","received_events_url":"https://api.github.com/users/manasdk/received_events","type":"User","site_admin":false},"body":"[Sorta like assorted candy and nuts but worse]\r\n\r\n* There are some bonehead bugs in our workflows. Trying to avoid whatever snafus possible.","created_at":"2015-08-24T19:21:14Z","updated_at":"2015-08-24T21:40:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49f87fae486ab0945dc849b501d2fe047a03762f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/StackStorm/st2cd/pulls/19/commits","review_comments_url":"https://api.github.com/repos/StackStorm/st2cd/pulls/19/comments","review_comment_url":"https://api.github.com/repos/StackStorm/st2cd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackStorm/st2cd/issues/19/comments","statuses_url":"https://api.github.com/repos/StackStorm/st2cd/statuses/cb257f8371cbebbacb75d0a56b978ce0b8d04ca4","head":{"label":"StackStorm:release-fixes","ref":"release-fixes","sha":"cb257f8371cbebbacb75d0a56b978ce0b8d04ca4","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":39860375,"name":"st2cd","full_name":"StackStorm/st2cd","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2cd","description":"Content pack for internal build process at StackStorm","fork":false,"url":"https://api.github.com/repos/StackStorm/st2cd","forks_url":"https://api.github.com/repos/StackStorm/st2cd/forks","keys_url":"https://api.github.com/repos/StackStorm/st2cd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2cd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2cd/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2cd/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2cd/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2cd/events","assignees_url":"https://api.github.com/repos/StackStorm/st2cd/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2cd/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2cd/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2cd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2cd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2cd/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2cd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2cd/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2cd/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2cd/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2cd/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2cd/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2cd/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2cd/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2cd/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2cd/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2cd/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2cd/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2cd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2cd/merges","archive_url":"https://api.github.com/repos/StackStorm/st2cd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2cd/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2cd/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2cd/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2cd/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2cd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2cd/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2cd/releases{/id}","created_at":"2015-07-28T22:14:52Z","updated_at":"2015-07-28T22:18:11Z","pushed_at":"2015-08-24T21:27:39Z","git_url":"git://github.com/StackStorm/st2cd.git","ssh_url":"git@github.com:StackStorm/st2cd.git","clone_url":"https://github.com/StackStorm/st2cd.git","svn_url":"https://github.com/StackStorm/st2cd","homepage":null,"size":672,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"StackStorm:master","ref":"master","sha":"bf000e123e64a13c3a51f7cce1fcb2e4e6bafd4d","user":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"repo":{"id":39860375,"name":"st2cd","full_name":"StackStorm/st2cd","owner":{"login":"StackStorm","id":4969009,"avatar_url":"https://avatars.githubusercontent.com/u/4969009?v=3","gravatar_id":"","url":"https://api.github.com/users/StackStorm","html_url":"https://github.com/StackStorm","followers_url":"https://api.github.com/users/StackStorm/followers","following_url":"https://api.github.com/users/StackStorm/following{/other_user}","gists_url":"https://api.github.com/users/StackStorm/gists{/gist_id}","starred_url":"https://api.github.com/users/StackStorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackStorm/subscriptions","organizations_url":"https://api.github.com/users/StackStorm/orgs","repos_url":"https://api.github.com/users/StackStorm/repos","events_url":"https://api.github.com/users/StackStorm/events{/privacy}","received_events_url":"https://api.github.com/users/StackStorm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackStorm/st2cd","description":"Content pack for internal build process at StackStorm","fork":false,"url":"https://api.github.com/repos/StackStorm/st2cd","forks_url":"https://api.github.com/repos/StackStorm/st2cd/forks","keys_url":"https://api.github.com/repos/StackStorm/st2cd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackStorm/st2cd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackStorm/st2cd/teams","hooks_url":"https://api.github.com/repos/StackStorm/st2cd/hooks","issue_events_url":"https://api.github.com/repos/StackStorm/st2cd/issues/events{/number}","events_url":"https://api.github.com/repos/StackStorm/st2cd/events","assignees_url":"https://api.github.com/repos/StackStorm/st2cd/assignees{/user}","branches_url":"https://api.github.com/repos/StackStorm/st2cd/branches{/branch}","tags_url":"https://api.github.com/repos/StackStorm/st2cd/tags","blobs_url":"https://api.github.com/repos/StackStorm/st2cd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackStorm/st2cd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackStorm/st2cd/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackStorm/st2cd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackStorm/st2cd/statuses/{sha}","languages_url":"https://api.github.com/repos/StackStorm/st2cd/languages","stargazers_url":"https://api.github.com/repos/StackStorm/st2cd/stargazers","contributors_url":"https://api.github.com/repos/StackStorm/st2cd/contributors","subscribers_url":"https://api.github.com/repos/StackStorm/st2cd/subscribers","subscription_url":"https://api.github.com/repos/StackStorm/st2cd/subscription","commits_url":"https://api.github.com/repos/StackStorm/st2cd/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackStorm/st2cd/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackStorm/st2cd/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackStorm/st2cd/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackStorm/st2cd/contents/{+path}","compare_url":"https://api.github.com/repos/StackStorm/st2cd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackStorm/st2cd/merges","archive_url":"https://api.github.com/repos/StackStorm/st2cd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackStorm/st2cd/downloads","issues_url":"https://api.github.com/repos/StackStorm/st2cd/issues{/number}","pulls_url":"https://api.github.com/repos/StackStorm/st2cd/pulls{/number}","milestones_url":"https://api.github.com/repos/StackStorm/st2cd/milestones{/number}","notifications_url":"https://api.github.com/repos/StackStorm/st2cd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackStorm/st2cd/labels{/name}","releases_url":"https://api.github.com/repos/StackStorm/st2cd/releases{/id}","created_at":"2015-07-28T22:14:52Z","updated_at":"2015-07-28T22:18:11Z","pushed_at":"2015-08-24T21:27:39Z","git_url":"git://github.com/StackStorm/st2cd.git","ssh_url":"git@github.com:StackStorm/st2cd.git","clone_url":"https://github.com/StackStorm/st2cd.git","svn_url":"https://github.com/StackStorm/st2cd","homepage":null,"size":672,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackStorm/st2cd/pulls/19"},"html":{"href":"https://github.com/StackStorm/st2cd/pull/19"},"issue":{"href":"https://api.github.com/repos/StackStorm/st2cd/issues/19"},"comments":{"href":"https://api.github.com/repos/StackStorm/st2cd/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/StackStorm/st2cd/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/StackStorm/st2cd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackStorm/st2cd/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/StackStorm/st2cd/statuses/cb257f8371cbebbacb75d0a56b978ce0b8d04ca4"}}}}