{"action":"created","issue":{"url":"https://api.github.com/repos/WGBH/AAPB2/issues/380","repository_url":"https://api.github.com/repos/WGBH/AAPB2","labels_url":"https://api.github.com/repos/WGBH/AAPB2/issues/380/labels{/name}","comments_url":"https://api.github.com/repos/WGBH/AAPB2/issues/380/comments","events_url":"https://api.github.com/repos/WGBH/AAPB2/issues/380/events","html_url":"https://github.com/WGBH/AAPB2/issues/380","id":73332475,"number":380,"title":"get ci.yml to stick after redeploys","user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"afred","id":1507490,"avatar_url":"https://avatars.githubusercontent.com/u/1507490?v=3","gravatar_id":"","url":"https://api.github.com/users/afred","html_url":"https://github.com/afred","followers_url":"https://api.github.com/users/afred/followers","following_url":"https://api.github.com/users/afred/following{/other_user}","gists_url":"https://api.github.com/users/afred/gists{/gist_id}","starred_url":"https://api.github.com/users/afred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afred/subscriptions","organizations_url":"https://api.github.com/users/afred/orgs","repos_url":"https://api.github.com/users/afred/repos","events_url":"https://api.github.com/users/afred/events{/privacy}","received_events_url":"https://api.github.com/users/afred/received_events","type":"User","site_admin":false},"assignees":[{"login":"afred","id":1507490,"avatar_url":"https://avatars.githubusercontent.com/u/1507490?v=3","gravatar_id":"","url":"https://api.github.com/users/afred","html_url":"https://github.com/afred","followers_url":"https://api.github.com/users/afred/followers","following_url":"https://api.github.com/users/afred/following{/other_user}","gists_url":"https://api.github.com/users/afred/gists{/gist_id}","starred_url":"https://api.github.com/users/afred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afred/subscriptions","organizations_url":"https://api.github.com/users/afred/orgs","repos_url":"https://api.github.com/users/afred/repos","events_url":"https://api.github.com/users/afred/events{/privacy}","received_events_url":"https://api.github.com/users/afred/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2015-05-05T14:35:39Z","updated_at":"2016-07-07T15:30:30Z","closed_at":null,"body":"@afred : Thoughts on ci.yml?\r\n- Let it be shared across deployments. (After it is put in place by hand once.)\r\n- or, put it in place as part of the deployment process.\r\n- or, ...?"},"comment":{"url":"https://api.github.com/repos/WGBH/AAPB2/issues/comments/231114402","html_url":"https://github.com/WGBH/AAPB2/issues/380#issuecomment-231114402","issue_url":"https://api.github.com/repos/WGBH/AAPB2/issues/380","id":231114402,"user":{"login":"mccalluc","id":730388,"avatar_url":"https://avatars.githubusercontent.com/u/730388?v=3","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T15:30:30Z","updated_at":"2016-07-07T15:30:30Z","body":"@Muraszko : Here's what I understand:\r\n- Private information which is part of the build: I think this taken care of by our private repo on Stash, which includes ci.yml: https://atlas.wgbh.org/stash/projects/MLA/repos/aapb_deployment/browse/config/ci.yml\r\n- Making sure it is preserved across deploys: I think that is what the shared directory is for, and on both instances, it's in place:\r\n```\r\n$ for IP in `ruby scripts/ssh_opt.rb --name aapb.wgbh-mla.org --ips_by_tag`; do ssh ec2-user@$IP -i ~/.ssh/aapb.wgbh-mla.org.pem 'ls /var/www/aapb/shared/config'; done\r\nci.yml\r\ndatabase.yml\r\nsecrets.yml\r\nci.yml\r\ndatabase.yml\r\nsecrets.yml\r\n```\r\n- Here's where I'm confused: it seems like `shared` might just be a convention, and you also need a configuration in capistrano, but that seems to be in place, too:\r\n```\r\n$ grep linked_files -r . \r\n./config/deploy.rb:# Default value for :linked_files is []\r\n./config/deploy.rb:set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/secrets.yml', 'config/ci.yml')\r\n```"}}
{"actor":{"display_login":"mccalluc"}}