{"action":"opened","issue":{"url":"https://api.github.com/repos/deis/deisrel/issues/52","repository_url":"https://api.github.com/repos/deis/deisrel","labels_url":"https://api.github.com/repos/deis/deisrel/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/deis/deisrel/issues/52/comments","events_url":"https://api.github.com/repos/deis/deisrel/issues/52/events","html_url":"https://github.com/deis/deisrel/issues/52","id":154542319,"number":52,"title":"[proposal] refactor helm-params,stage","user":{"login":"vdice","id":9322017,"avatar_url":"https://avatars.githubusercontent.com/u/9322017?v=3","gravatar_id":"","url":"https://api.github.com/users/vdice","html_url":"https://github.com/vdice","followers_url":"https://api.github.com/users/vdice/followers","following_url":"https://api.github.com/users/vdice/following{/other_user}","gists_url":"https://api.github.com/users/vdice/gists{/gist_id}","starred_url":"https://api.github.com/users/vdice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdice/subscriptions","organizations_url":"https://api.github.com/users/vdice/orgs","repos_url":"https://api.github.com/users/vdice/repos","events_url":"https://api.github.com/users/vdice/events{/privacy}","received_events_url":"https://api.github.com/users/vdice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-12T17:51:12Z","updated_at":"2016-05-12T17:51:12Z","closed_at":null,"body":"<h3>Current State<h3>\r\n\r\nThe current `deisrel` workflow for generating all of a given release chart's files needing updating (inserting `$WORKFLOW_RELEASE(_SHORT)` where necessary, inserting latest git sha values for component `dockerTag` values, etc.) can be seen in the current version of the [Release Checklist](https://github.com/deis/workflow/blob/master/src/roadmap/release-checklist.md#step-1-create-new-helm-classic-charts).  For instance, it looks something like:\r\n\r\nStage copies of the tpl/generate_params.toml for each chart into staging. deisrel will automatically populate the latest commit sha values for each component's dockerTag:\r\n```\r\ndeisrel helm-params --stage workflow\r\ndeisrel helm-params --stage e2e\r\n```\r\nStage copies of the additional files in workflow-dev(-e2e) charts needing release value updates into staging (i.e., Chart.yaml, README.md, etc.)\r\n```\r\ndeisrel helm-stage workflow\r\ndeisrel helm-stage e2e\r\n```\r\nCopy these staged files back to the correlating chart directories created in step 2 above:\r\n```\r\ncp -r staging/workflow-dev/* workflow-$WORKFLOW_RELEASE_SHORT\r\ncp -r staging/workflow-dev-e2e/* workflow-$WORKFLOW_RELEASE_SHORT-e2e\r\n\r\n```\r\n<h3>Proposed State<h3>\r\n\r\nI propose we reduce the number of `deisrel`/associated command invocations.  I'd like to see the above workflow change to something like:\r\n\r\nStage all release-updated files for each (workflow, e2e) chart into the newly created release chart dirs:\r\n```\r\ndeisrel helm-stage --stagedir workflow-$WORKFLOW_RELEASE_SHORT workflow\r\ndeisrel helm-stage --stagedir workflow-$WORKFLOW_RELEASE_SHORT-e2e e2e\r\n```\r\n\r\nWhich would generate all necessary files for each chart and output them directly into supplied `--stagedir`.  If not supplied, it would default to throwing files into local `staging` dir as before."}}