{"action":"opened","issue":{"url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/205","repository_url":"https://api.github.com/repos/ministryofjustice/cloud-platform","labels_url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/205/comments","events_url":"https://api.github.com/repos/ministryofjustice/cloud-platform/issues/205/events","html_url":"https://github.com/ministryofjustice/cloud-platform/issues/205","id":336266823,"node_id":"MDU6SXNzdWUzMzYyNjY4MjM=","number":205,"title":"Create a new environment skeleton with a script","user":{"login":"alkar","id":898156,"node_id":"MDQ6VXNlcjg5ODE1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/898156?v=4","gravatar_id":"","url":"https://api.github.com/users/alkar","html_url":"https://github.com/alkar","followers_url":"https://api.github.com/users/alkar/followers","following_url":"https://api.github.com/users/alkar/following{/other_user}","gists_url":"https://api.github.com/users/alkar/gists{/gist_id}","starred_url":"https://api.github.com/users/alkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkar/subscriptions","organizations_url":"https://api.github.com/users/alkar/orgs","repos_url":"https://api.github.com/users/alkar/repos","events_url":"https://api.github.com/users/alkar/events{/privacy}","received_events_url":"https://api.github.com/users/alkar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T14:58:02Z","updated_at":"2018-06-27T14:58:02Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Background\r\n\r\nCreating a new environment currently requires that a user to manually populate a directory with files which are largely the same across namespaces. We would like to streamline this process by introducing a script that does most of the work.\r\n\r\n## Proposed user journey\r\n\r\nAs a user, from the environments repository, I want to be able to create a new environment by using a script, eg:\r\n```\r\n./create-env <cluster> <env-name>\r\n```\r\nThis script will then create the proper directory structure with the default YAML configuration already in place.\r\n\r\nI can then use that to raise a pull request against the master branch.\r\n\r\n## Approach\r\n\r\nTry to automate as much as possible from: https://github.com/ministryofjustice/cloud-platform-user-docs/blob/master/01-getting-started/003-env-create.md\r\n\r\n## Questions / Assumptions\r\n\r\nN/A\r\n\r\n## Definition of done\r\n\r\n- [ ] there is an environment creation script in the environments repository that can create an environment with default configuration\r\n- [ ] tested by the reviewer\r\n\r\n## Reference\r\nhttps://github.com/ministryofjustice/cloud-platform-user-docs/blob/master/01-getting-started/003-env-create.md"}}
{"actor":{"display_login":"alkar"}}