{"action":"closed","number":756,"pull_request":{"url":"https://api.github.com/repos/TerriaJS/magda/pulls/756","id":179584087,"html_url":"https://github.com/TerriaJS/magda/pull/756","diff_url":"https://github.com/TerriaJS/magda/pull/756.diff","patch_url":"https://github.com/TerriaJS/magda/pull/756.patch","issue_url":"https://api.github.com/repos/TerriaJS/magda/issues/756","number":756,"state":"closed","locked":false,"title":"Added Preview Builds via Gitlab CI","user":{"login":"AlexGilleran","id":900555,"avatar_url":"https://avatars1.githubusercontent.com/u/900555?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexGilleran","html_url":"https://github.com/AlexGilleran","followers_url":"https://api.github.com/users/AlexGilleran/followers","following_url":"https://api.github.com/users/AlexGilleran/following{/other_user}","gists_url":"https://api.github.com/users/AlexGilleran/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexGilleran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexGilleran/subscriptions","organizations_url":"https://api.github.com/users/AlexGilleran/orgs","repos_url":"https://api.github.com/users/AlexGilleran/repos","events_url":"https://api.github.com/users/AlexGilleran/events{/privacy}","received_events_url":"https://api.github.com/users/AlexGilleran/received_events","type":"User","site_admin":false},"body":"### What this PR does\r\n- Adds a complete build on Gitlab CI (this should be able to replace travis and circleci in time).\r\n- Adds the ability to run previews on Dev - click the Gitlab link down the bottom when the build is finished and there'll be a \"Run As Preview\" link - this will deploy the branch to http://<branch-name>.magda-dev.terria.io in its own namespace in the dev cluster, and pull the latest backups for databases and elasticsearch from dev so the data should be reasonable for testing. It _won't_ run any sleuthers unless you use helm to add them manually.\r\n- Changes the build scripts a bit to support this\r\n- Makes changes to the way that backups work for the databases and search in order to support spinning up a new namespace and quickly loading data in - particularly giving databases the ability to only replay WAL logs until they're consistent, rather than replaying everything.\r\n- Adds a manual snapshot feature to indexer.\r\n\r\n### Checklist\r\n- [x] Unit tests aren't applicable (delete one)\r\n- [x] I've updated CHANGES.md with what I changed.\r\n- [x] I've linked this PR to an issue in ZenHub (or there is no issue) and dragged it to the _Pull Request_ column","created_at":"2018-04-05T06:36:27Z","updated_at":"2018-05-03T07:33:54Z","closed_at":"2018-05-03T07:33:54Z","merged_at":"2018-05-03T07:33:54Z","merge_commit_sha":"8eb4ee75edd029a54a8cfa1754b1dffb369da3ed","assignee":null,"assignees":[],"requested_reviewers":[{"login":"steve9164","id":13863530,"avatar_url":"https://avatars2.githubusercontent.com/u/13863530?v=4","gravatar_id":"","url":"https://api.github.com/users/steve9164","html_url":"https://github.com/steve9164","followers_url":"https://api.github.com/users/steve9164/followers","following_url":"https://api.github.com/users/steve9164/following{/other_user}","gists_url":"https://api.github.com/users/steve9164/gists{/gist_id}","starred_url":"https://api.github.com/users/steve9164/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steve9164/subscriptions","organizations_url":"https://api.github.com/users/steve9164/orgs","repos_url":"https://api.github.com/users/steve9164/repos","events_url":"https://api.github.com/users/steve9164/events{/privacy}","received_events_url":"https://api.github.com/users/steve9164/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/TerriaJS/magda/milestones/10","html_url":"https://github.com/TerriaJS/magda/milestone/10","labels_url":"https://api.github.com/repos/TerriaJS/magda/milestones/10/labels","id":3254409,"number":10,"title":"Sprint 7: Homepage, content + yak shaving ","description":"🏠 📃 🐑 ","creator":{"login":"tkeuneman","id":2201814,"avatar_url":"https://avatars3.githubusercontent.com/u/2201814?v=4","gravatar_id":"","url":"https://api.github.com/users/tkeuneman","html_url":"https://github.com/tkeuneman","followers_url":"https://api.github.com/users/tkeuneman/followers","following_url":"https://api.github.com/users/tkeuneman/following{/other_user}","gists_url":"https://api.github.com/users/tkeuneman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkeuneman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkeuneman/subscriptions","organizations_url":"https://api.github.com/users/tkeuneman/orgs","repos_url":"https://api.github.com/users/tkeuneman/repos","events_url":"https://api.github.com/users/tkeuneman/events{/privacy}","received_events_url":"https://api.github.com/users/tkeuneman/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":57,"state":"closed","created_at":"2018-04-10T01:09:42Z","updated_at":"2018-05-03T07:33:54Z","due_on":"2018-04-24T07:00:00Z","closed_at":"2018-05-03T02:27:15Z"},"commits_url":"https://api.github.com/repos/TerriaJS/magda/pulls/756/commits","review_comments_url":"https://api.github.com/repos/TerriaJS/magda/pulls/756/comments","review_comment_url":"https://api.github.com/repos/TerriaJS/magda/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TerriaJS/magda/issues/756/comments","statuses_url":"https://api.github.com/repos/TerriaJS/magda/statuses/aabb6095e42165f8063877c4899be894274a8e21","head":{"label":"TerriaJS:384-auto-deploy","ref":"384-auto-deploy","sha":"aabb6095e42165f8063877c4899be894274a8e21","user":{"login":"TerriaJS","id":12078432,"avatar_url":"https://avatars3.githubusercontent.com/u/12078432?v=4","gravatar_id":"","url":"https://api.github.com/users/TerriaJS","html_url":"https://github.com/TerriaJS","followers_url":"https://api.github.com/users/TerriaJS/followers","following_url":"https://api.github.com/users/TerriaJS/following{/other_user}","gists_url":"https://api.github.com/users/TerriaJS/gists{/gist_id}","starred_url":"https://api.github.com/users/TerriaJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerriaJS/subscriptions","organizations_url":"https://api.github.com/users/TerriaJS/orgs","repos_url":"https://api.github.com/users/TerriaJS/repos","events_url":"https://api.github.com/users/TerriaJS/events{/privacy}","received_events_url":"https://api.github.com/users/TerriaJS/received_events","type":"Organization","site_admin":false},"repo":{"id":66343967,"name":"magda","full_name":"TerriaJS/magda","owner":{"login":"TerriaJS","id":12078432,"avatar_url":"https://avatars3.githubusercontent.com/u/12078432?v=4","gravatar_id":"","url":"https://api.github.com/users/TerriaJS","html_url":"https://github.com/TerriaJS","followers_url":"https://api.github.com/users/TerriaJS/followers","following_url":"https://api.github.com/users/TerriaJS/following{/other_user}","gists_url":"https://api.github.com/users/TerriaJS/gists{/gist_id}","starred_url":"https://api.github.com/users/TerriaJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerriaJS/subscriptions","organizations_url":"https://api.github.com/users/TerriaJS/orgs","repos_url":"https://api.github.com/users/TerriaJS/repos","events_url":"https://api.github.com/users/TerriaJS/events{/privacy}","received_events_url":"https://api.github.com/users/TerriaJS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TerriaJS/magda","description":"A modern data platform for a new generation of data portals","fork":false,"url":"https://api.github.com/repos/TerriaJS/magda","forks_url":"https://api.github.com/repos/TerriaJS/magda/forks","keys_url":"https://api.github.com/repos/TerriaJS/magda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TerriaJS/magda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TerriaJS/magda/teams","hooks_url":"https://api.github.com/repos/TerriaJS/magda/hooks","issue_events_url":"https://api.github.com/repos/TerriaJS/magda/issues/events{/number}","events_url":"https://api.github.com/repos/TerriaJS/magda/events","assignees_url":"https://api.github.com/repos/TerriaJS/magda/assignees{/user}","branches_url":"https://api.github.com/repos/TerriaJS/magda/branches{/branch}","tags_url":"https://api.github.com/repos/TerriaJS/magda/tags","blobs_url":"https://api.github.com/repos/TerriaJS/magda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TerriaJS/magda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TerriaJS/magda/git/refs{/sha}","trees_url":"https://api.github.com/repos/TerriaJS/magda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TerriaJS/magda/statuses/{sha}","languages_url":"https://api.github.com/repos/TerriaJS/magda/languages","stargazers_url":"https://api.github.com/repos/TerriaJS/magda/stargazers","contributors_url":"https://api.github.com/repos/TerriaJS/magda/contributors","subscribers_url":"https://api.github.com/repos/TerriaJS/magda/subscribers","subscription_url":"https://api.github.com/repos/TerriaJS/magda/subscription","commits_url":"https://api.github.com/repos/TerriaJS/magda/commits{/sha}","git_commits_url":"https://api.github.com/repos/TerriaJS/magda/git/commits{/sha}","comments_url":"https://api.github.com/repos/TerriaJS/magda/comments{/number}","issue_comment_url":"https://api.github.com/repos/TerriaJS/magda/issues/comments{/number}","contents_url":"https://api.github.com/repos/TerriaJS/magda/contents/{+path}","compare_url":"https://api.github.com/repos/TerriaJS/magda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TerriaJS/magda/merges","archive_url":"https://api.github.com/repos/TerriaJS/magda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TerriaJS/magda/downloads","issues_url":"https://api.github.com/repos/TerriaJS/magda/issues{/number}","pulls_url":"https://api.github.com/repos/TerriaJS/magda/pulls{/number}","milestones_url":"https://api.github.com/repos/TerriaJS/magda/milestones{/number}","notifications_url":"https://api.github.com/repos/TerriaJS/magda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TerriaJS/magda/labels{/name}","releases_url":"https://api.github.com/repos/TerriaJS/magda/releases{/id}","deployments_url":"https://api.github.com/repos/TerriaJS/magda/deployments","created_at":"2016-08-23T07:27:25Z","updated_at":"2018-05-03T06:08:55Z","pushed_at":"2018-05-03T07:33:54Z","git_url":"git://github.com/TerriaJS/magda.git","ssh_url":"git@github.com:TerriaJS/magda.git","clone_url":"https://github.com/TerriaJS/magda.git","svn_url":"https://github.com/TerriaJS/magda","homepage":"","size":166220,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":176,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":176,"watchers":29,"default_branch":"master"}},"base":{"label":"TerriaJS:master","ref":"master","sha":"fa4d0bd654d6eb1716ac7c93faec9d91e044fe1c","user":{"login":"TerriaJS","id":12078432,"avatar_url":"https://avatars3.githubusercontent.com/u/12078432?v=4","gravatar_id":"","url":"https://api.github.com/users/TerriaJS","html_url":"https://github.com/TerriaJS","followers_url":"https://api.github.com/users/TerriaJS/followers","following_url":"https://api.github.com/users/TerriaJS/following{/other_user}","gists_url":"https://api.github.com/users/TerriaJS/gists{/gist_id}","starred_url":"https://api.github.com/users/TerriaJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerriaJS/subscriptions","organizations_url":"https://api.github.com/users/TerriaJS/orgs","repos_url":"https://api.github.com/users/TerriaJS/repos","events_url":"https://api.github.com/users/TerriaJS/events{/privacy}","received_events_url":"https://api.github.com/users/TerriaJS/received_events","type":"Organization","site_admin":false},"repo":{"id":66343967,"name":"magda","full_name":"TerriaJS/magda","owner":{"login":"TerriaJS","id":12078432,"avatar_url":"https://avatars3.githubusercontent.com/u/12078432?v=4","gravatar_id":"","url":"https://api.github.com/users/TerriaJS","html_url":"https://github.com/TerriaJS","followers_url":"https://api.github.com/users/TerriaJS/followers","following_url":"https://api.github.com/users/TerriaJS/following{/other_user}","gists_url":"https://api.github.com/users/TerriaJS/gists{/gist_id}","starred_url":"https://api.github.com/users/TerriaJS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TerriaJS/subscriptions","organizations_url":"https://api.github.com/users/TerriaJS/orgs","repos_url":"https://api.github.com/users/TerriaJS/repos","events_url":"https://api.github.com/users/TerriaJS/events{/privacy}","received_events_url":"https://api.github.com/users/TerriaJS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TerriaJS/magda","description":"A modern data platform for a new generation of data portals","fork":false,"url":"https://api.github.com/repos/TerriaJS/magda","forks_url":"https://api.github.com/repos/TerriaJS/magda/forks","keys_url":"https://api.github.com/repos/TerriaJS/magda/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TerriaJS/magda/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TerriaJS/magda/teams","hooks_url":"https://api.github.com/repos/TerriaJS/magda/hooks","issue_events_url":"https://api.github.com/repos/TerriaJS/magda/issues/events{/number}","events_url":"https://api.github.com/repos/TerriaJS/magda/events","assignees_url":"https://api.github.com/repos/TerriaJS/magda/assignees{/user}","branches_url":"https://api.github.com/repos/TerriaJS/magda/branches{/branch}","tags_url":"https://api.github.com/repos/TerriaJS/magda/tags","blobs_url":"https://api.github.com/repos/TerriaJS/magda/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TerriaJS/magda/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TerriaJS/magda/git/refs{/sha}","trees_url":"https://api.github.com/repos/TerriaJS/magda/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TerriaJS/magda/statuses/{sha}","languages_url":"https://api.github.com/repos/TerriaJS/magda/languages","stargazers_url":"https://api.github.com/repos/TerriaJS/magda/stargazers","contributors_url":"https://api.github.com/repos/TerriaJS/magda/contributors","subscribers_url":"https://api.github.com/repos/TerriaJS/magda/subscribers","subscription_url":"https://api.github.com/repos/TerriaJS/magda/subscription","commits_url":"https://api.github.com/repos/TerriaJS/magda/commits{/sha}","git_commits_url":"https://api.github.com/repos/TerriaJS/magda/git/commits{/sha}","comments_url":"https://api.github.com/repos/TerriaJS/magda/comments{/number}","issue_comment_url":"https://api.github.com/repos/TerriaJS/magda/issues/comments{/number}","contents_url":"https://api.github.com/repos/TerriaJS/magda/contents/{+path}","compare_url":"https://api.github.com/repos/TerriaJS/magda/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TerriaJS/magda/merges","archive_url":"https://api.github.com/repos/TerriaJS/magda/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TerriaJS/magda/downloads","issues_url":"https://api.github.com/repos/TerriaJS/magda/issues{/number}","pulls_url":"https://api.github.com/repos/TerriaJS/magda/pulls{/number}","milestones_url":"https://api.github.com/repos/TerriaJS/magda/milestones{/number}","notifications_url":"https://api.github.com/repos/TerriaJS/magda/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TerriaJS/magda/labels{/name}","releases_url":"https://api.github.com/repos/TerriaJS/magda/releases{/id}","deployments_url":"https://api.github.com/repos/TerriaJS/magda/deployments","created_at":"2016-08-23T07:27:25Z","updated_at":"2018-05-03T06:08:55Z","pushed_at":"2018-05-03T07:33:54Z","git_url":"git://github.com/TerriaJS/magda.git","ssh_url":"git@github.com:TerriaJS/magda.git","clone_url":"https://github.com/TerriaJS/magda.git","svn_url":"https://github.com/TerriaJS/magda","homepage":"","size":166220,"stargazers_count":29,"watchers_count":29,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":176,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":176,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TerriaJS/magda/pulls/756"},"html":{"href":"https://github.com/TerriaJS/magda/pull/756"},"issue":{"href":"https://api.github.com/repos/TerriaJS/magda/issues/756"},"comments":{"href":"https://api.github.com/repos/TerriaJS/magda/issues/756/comments"},"review_comments":{"href":"https://api.github.com/repos/TerriaJS/magda/pulls/756/comments"},"review_comment":{"href":"https://api.github.com/repos/TerriaJS/magda/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TerriaJS/magda/pulls/756/commits"},"statuses":{"href":"https://api.github.com/repos/TerriaJS/magda/statuses/aabb6095e42165f8063877c4899be894274a8e21"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"t83714","id":674387,"avatar_url":"https://avatars3.githubusercontent.com/u/674387?v=4","gravatar_id":"","url":"https://api.github.com/users/t83714","html_url":"https://github.com/t83714","followers_url":"https://api.github.com/users/t83714/followers","following_url":"https://api.github.com/users/t83714/following{/other_user}","gists_url":"https://api.github.com/users/t83714/gists{/gist_id}","starred_url":"https://api.github.com/users/t83714/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t83714/subscriptions","organizations_url":"https://api.github.com/users/t83714/orgs","repos_url":"https://api.github.com/users/t83714/repos","events_url":"https://api.github.com/users/t83714/events{/privacy}","received_events_url":"https://api.github.com/users/t83714/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"maintainer_can_modify":false,"commits":38,"additions":105243,"deletions":63260,"changed_files":152}}
{"actor":{"display_login":"t83714"}}