{"action":"opened","number":262,"pull_request":{"url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/262","id":152240025,"html_url":"https://github.com/NationalGenomicsInfrastructure/irma-provision/pull/262","diff_url":"https://github.com/NationalGenomicsInfrastructure/irma-provision/pull/262.diff","patch_url":"https://github.com/NationalGenomicsInfrastructure/irma-provision/pull/262.patch","issue_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues/262","number":262,"state":"open","locked":false,"title":"Signal new Irma production envs and automatically restart Uppsala crontabbed services","user":{"login":"johanherman","id":11720374,"avatar_url":"https://avatars1.githubusercontent.com/u/11720374?v=4","gravatar_id":"","url":"https://api.github.com/users/johanherman","html_url":"https://github.com/johanherman","followers_url":"https://api.github.com/users/johanherman/followers","following_url":"https://api.github.com/users/johanherman/following{/other_user}","gists_url":"https://api.github.com/users/johanherman/gists{/gist_id}","starred_url":"https://api.github.com/users/johanherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanherman/subscriptions","organizations_url":"https://api.github.com/users/johanherman/orgs","repos_url":"https://api.github.com/users/johanherman/repos","events_url":"https://api.github.com/users/johanherman/events{/privacy}","received_events_url":"https://api.github.com/users/johanherman/received_events","type":"User","site_admin":false},"body":"This PR adds a crontabbed script for Uppsala that every 5 minute will check if the signal file under /tmp/ is present. If it is, then it will kill the defined Uppsala services, reload the new Uppsala crontab file, and then launch the services again. \r\n\r\nFor this to work we need to be able to signal when a new production environment has been deployed. At the moment I solve this by modifying the sync script. After the rsync has finished the user will be prompted for a new two factor, and then the script will login and touch the signal file. \r\n\r\nPerhaps this can be done in a better way though. If you have any ideas, please let me know. ","created_at":"2017-11-13T13:38:54Z","updated_at":"2017-11-13T13:38:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/262/commits","review_comments_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/262/comments","review_comment_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues/262/comments","statuses_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/statuses/f73a3a1674886697c95f65bac6eef400f232c5b9","head":{"label":"johanherman:restart-crontab-uppsala","ref":"restart-crontab-uppsala","sha":"f73a3a1674886697c95f65bac6eef400f232c5b9","user":{"login":"johanherman","id":11720374,"avatar_url":"https://avatars1.githubusercontent.com/u/11720374?v=4","gravatar_id":"","url":"https://api.github.com/users/johanherman","html_url":"https://github.com/johanherman","followers_url":"https://api.github.com/users/johanherman/followers","following_url":"https://api.github.com/users/johanherman/following{/other_user}","gists_url":"https://api.github.com/users/johanherman/gists{/gist_id}","starred_url":"https://api.github.com/users/johanherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanherman/subscriptions","organizations_url":"https://api.github.com/users/johanherman/orgs","repos_url":"https://api.github.com/users/johanherman/repos","events_url":"https://api.github.com/users/johanherman/events{/privacy}","received_events_url":"https://api.github.com/users/johanherman/received_events","type":"User","site_admin":false},"repo":{"id":56850572,"name":"irma-provision","full_name":"johanherman/irma-provision","owner":{"login":"johanherman","id":11720374,"avatar_url":"https://avatars1.githubusercontent.com/u/11720374?v=4","gravatar_id":"","url":"https://api.github.com/users/johanherman","html_url":"https://github.com/johanherman","followers_url":"https://api.github.com/users/johanherman/followers","following_url":"https://api.github.com/users/johanherman/following{/other_user}","gists_url":"https://api.github.com/users/johanherman/gists{/gist_id}","starred_url":"https://api.github.com/users/johanherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanherman/subscriptions","organizations_url":"https://api.github.com/users/johanherman/orgs","repos_url":"https://api.github.com/users/johanherman/repos","events_url":"https://api.github.com/users/johanherman/events{/privacy}","received_events_url":"https://api.github.com/users/johanherman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johanherman/irma-provision","description":"Ansible playbooks for provisioning NGI pipeline and related sw","fork":true,"url":"https://api.github.com/repos/johanherman/irma-provision","forks_url":"https://api.github.com/repos/johanherman/irma-provision/forks","keys_url":"https://api.github.com/repos/johanherman/irma-provision/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johanherman/irma-provision/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johanherman/irma-provision/teams","hooks_url":"https://api.github.com/repos/johanherman/irma-provision/hooks","issue_events_url":"https://api.github.com/repos/johanherman/irma-provision/issues/events{/number}","events_url":"https://api.github.com/repos/johanherman/irma-provision/events","assignees_url":"https://api.github.com/repos/johanherman/irma-provision/assignees{/user}","branches_url":"https://api.github.com/repos/johanherman/irma-provision/branches{/branch}","tags_url":"https://api.github.com/repos/johanherman/irma-provision/tags","blobs_url":"https://api.github.com/repos/johanherman/irma-provision/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johanherman/irma-provision/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johanherman/irma-provision/git/refs{/sha}","trees_url":"https://api.github.com/repos/johanherman/irma-provision/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johanherman/irma-provision/statuses/{sha}","languages_url":"https://api.github.com/repos/johanherman/irma-provision/languages","stargazers_url":"https://api.github.com/repos/johanherman/irma-provision/stargazers","contributors_url":"https://api.github.com/repos/johanherman/irma-provision/contributors","subscribers_url":"https://api.github.com/repos/johanherman/irma-provision/subscribers","subscription_url":"https://api.github.com/repos/johanherman/irma-provision/subscription","commits_url":"https://api.github.com/repos/johanherman/irma-provision/commits{/sha}","git_commits_url":"https://api.github.com/repos/johanherman/irma-provision/git/commits{/sha}","comments_url":"https://api.github.com/repos/johanherman/irma-provision/comments{/number}","issue_comment_url":"https://api.github.com/repos/johanherman/irma-provision/issues/comments{/number}","contents_url":"https://api.github.com/repos/johanherman/irma-provision/contents/{+path}","compare_url":"https://api.github.com/repos/johanherman/irma-provision/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johanherman/irma-provision/merges","archive_url":"https://api.github.com/repos/johanherman/irma-provision/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johanherman/irma-provision/downloads","issues_url":"https://api.github.com/repos/johanherman/irma-provision/issues{/number}","pulls_url":"https://api.github.com/repos/johanherman/irma-provision/pulls{/number}","milestones_url":"https://api.github.com/repos/johanherman/irma-provision/milestones{/number}","notifications_url":"https://api.github.com/repos/johanherman/irma-provision/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johanherman/irma-provision/labels{/name}","releases_url":"https://api.github.com/repos/johanherman/irma-provision/releases{/id}","deployments_url":"https://api.github.com/repos/johanherman/irma-provision/deployments","created_at":"2016-04-22T11:28:36Z","updated_at":"2017-02-07T15:27:10Z","pushed_at":"2017-11-13T13:34:37Z","git_url":"git://github.com/johanherman/irma-provision.git","ssh_url":"git@github.com:johanherman/irma-provision.git","clone_url":"https://github.com/johanherman/irma-provision.git","svn_url":"https://github.com/johanherman/irma-provision","homepage":"","size":655,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NationalGenomicsInfrastructure:master","ref":"master","sha":"cdc0e533b46976aaebf1d1022713451be3edbcc8","user":{"login":"NationalGenomicsInfrastructure","id":7566557,"avatar_url":"https://avatars1.githubusercontent.com/u/7566557?v=4","gravatar_id":"","url":"https://api.github.com/users/NationalGenomicsInfrastructure","html_url":"https://github.com/NationalGenomicsInfrastructure","followers_url":"https://api.github.com/users/NationalGenomicsInfrastructure/followers","following_url":"https://api.github.com/users/NationalGenomicsInfrastructure/following{/other_user}","gists_url":"https://api.github.com/users/NationalGenomicsInfrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/NationalGenomicsInfrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NationalGenomicsInfrastructure/subscriptions","organizations_url":"https://api.github.com/users/NationalGenomicsInfrastructure/orgs","repos_url":"https://api.github.com/users/NationalGenomicsInfrastructure/repos","events_url":"https://api.github.com/users/NationalGenomicsInfrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/NationalGenomicsInfrastructure/received_events","type":"Organization","site_admin":false},"repo":{"id":53669245,"name":"irma-provision","full_name":"NationalGenomicsInfrastructure/irma-provision","owner":{"login":"NationalGenomicsInfrastructure","id":7566557,"avatar_url":"https://avatars1.githubusercontent.com/u/7566557?v=4","gravatar_id":"","url":"https://api.github.com/users/NationalGenomicsInfrastructure","html_url":"https://github.com/NationalGenomicsInfrastructure","followers_url":"https://api.github.com/users/NationalGenomicsInfrastructure/followers","following_url":"https://api.github.com/users/NationalGenomicsInfrastructure/following{/other_user}","gists_url":"https://api.github.com/users/NationalGenomicsInfrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/NationalGenomicsInfrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NationalGenomicsInfrastructure/subscriptions","organizations_url":"https://api.github.com/users/NationalGenomicsInfrastructure/orgs","repos_url":"https://api.github.com/users/NationalGenomicsInfrastructure/repos","events_url":"https://api.github.com/users/NationalGenomicsInfrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/NationalGenomicsInfrastructure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NationalGenomicsInfrastructure/irma-provision","description":"Ansible playbooks for provisioning NGI pipeline and related sw","fork":false,"url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision","forks_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/forks","keys_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/teams","hooks_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/hooks","issue_events_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues/events{/number}","events_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/events","assignees_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/assignees{/user}","branches_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/branches{/branch}","tags_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/tags","blobs_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/git/refs{/sha}","trees_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/statuses/{sha}","languages_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/languages","stargazers_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/stargazers","contributors_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/contributors","subscribers_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/subscribers","subscription_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/subscription","commits_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/commits{/sha}","git_commits_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/git/commits{/sha}","comments_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/comments{/number}","issue_comment_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues/comments{/number}","contents_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/contents/{+path}","compare_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/merges","archive_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/downloads","issues_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues{/number}","pulls_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls{/number}","milestones_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/milestones{/number}","notifications_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/labels{/name}","releases_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/releases{/id}","deployments_url":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/deployments","created_at":"2016-03-11T13:34:16Z","updated_at":"2016-12-20T09:17:09Z","pushed_at":"2017-11-13T11:59:27Z","git_url":"git://github.com/NationalGenomicsInfrastructure/irma-provision.git","ssh_url":"git@github.com:NationalGenomicsInfrastructure/irma-provision.git","clone_url":"https://github.com/NationalGenomicsInfrastructure/irma-provision.git","svn_url":"https://github.com/NationalGenomicsInfrastructure/irma-provision","homepage":"","size":661,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/262"},"html":{"href":"https://github.com/NationalGenomicsInfrastructure/irma-provision/pull/262"},"issue":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues/262"},"comments":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/issues/262/comments"},"review_comments":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/262/comments"},"review_comment":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/pulls/262/commits"},"statuses":{"href":"https://api.github.com/repos/NationalGenomicsInfrastructure/irma-provision/statuses/f73a3a1674886697c95f65bac6eef400f232c5b9"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":223,"deletions":138,"changed_files":5}}
{"actor":{"display_login":"johanherman"}}