{"action":"created","issue":{"url":"https://api.github.com/repos/AcalephStorage/kontinuous/issues/43","repository_url":"https://api.github.com/repos/AcalephStorage/kontinuous","labels_url":"https://api.github.com/repos/AcalephStorage/kontinuous/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/AcalephStorage/kontinuous/issues/43/comments","events_url":"https://api.github.com/repos/AcalephStorage/kontinuous/issues/43/events","html_url":"https://github.com/AcalephStorage/kontinuous/issues/43","id":155444274,"number":43,"title":"Stage: Deploy Improvements","user":{"login":"hunter","id":898,"avatar_url":"https://avatars.githubusercontent.com/u/898?v=3","gravatar_id":"","url":"https://api.github.com/users/hunter","html_url":"https://github.com/hunter","followers_url":"https://api.github.com/users/hunter/followers","following_url":"https://api.github.com/users/hunter/following{/other_user}","gists_url":"https://api.github.com/users/hunter/gists{/gist_id}","starred_url":"https://api.github.com/users/hunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunter/subscriptions","organizations_url":"https://api.github.com/users/hunter/orgs","repos_url":"https://api.github.com/users/hunter/repos","events_url":"https://api.github.com/users/hunter/events{/privacy}","received_events_url":"https://api.github.com/users/hunter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AcalephStorage/kontinuous/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/AcalephStorage/kontinuous/labels/ready","name":"ready","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T08:30:29Z","updated_at":"2016-05-24T05:37:04Z","closed_at":null,"body":"The deploy stage is a good start but there are some improvements needed to be useful for real deployments.\n\n- [ ] Variable support for updating a manifest before deployment (perhaps adding gotmpl support and/or a regex)\n- [ ] Deploy to different namespace (eg. `<basenamespace>-staging` or `<basenamespace>-<commitid>`). Regex/Variable support useful here too?\n- [ ] Image Tag handling - deploying the image built in an earlier stage. Another variable to be used in a template?\n- [ ] `kubectl apply` support - updating existing resources in place\n\nPerhaps it is easier to use `kubectl` directly for the stage instead of the API\n\nA few of these ideas are coming from the GCE CD Jenkins example (https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes/blob/master/sample-app/Jenkinsfile#L39-L48)"},"comment":{"url":"https://api.github.com/repos/AcalephStorage/kontinuous/issues/comments/221171127","html_url":"https://github.com/AcalephStorage/kontinuous/issues/43#issuecomment-221171127","issue_url":"https://api.github.com/repos/AcalephStorage/kontinuous/issues/43","id":221171127,"user":{"login":"hunter","id":898,"avatar_url":"https://avatars.githubusercontent.com/u/898?v=3","gravatar_id":"","url":"https://api.github.com/users/hunter","html_url":"https://github.com/hunter","followers_url":"https://api.github.com/users/hunter/followers","following_url":"https://api.github.com/users/hunter/following{/other_user}","gists_url":"https://api.github.com/users/hunter/gists{/gist_id}","starred_url":"https://api.github.com/users/hunter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunter/subscriptions","organizations_url":"https://api.github.com/users/hunter/orgs","repos_url":"https://api.github.com/users/hunter/repos","events_url":"https://api.github.com/users/hunter/events{/privacy}","received_events_url":"https://api.github.com/users/hunter/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T05:37:03Z","updated_at":"2016-05-24T05:37:03Z","body":"A few alternatives to consider too...\r\n\r\nKVs in the yaml:\r\n\r\n```yaml\r\n      - name: Deploy App\r\n        type: deploy\r\n        params:\r\n          deploy_file: manifest.yml\r\n        vars:\r\n          value1: something\r\n          value2: somethingelse\r\n```\r\n\r\nor otherwise ConfigMaps\r\n\r\nOne consideration with any of these options is how do we handle/specify global variables (commit id, tags, etc) or pass vars them between stages"}}
{"actor":{"display_login":"hunter"}}