{"action":"created","issue":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3456","repository_url":"https://api.github.com/repos/spinnaker/spinnaker","labels_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3456/labels{/name}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3456/comments","events_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3456/events","html_url":"https://github.com/spinnaker/spinnaker/issues/3456","id":370399464,"node_id":"MDU6SXNzdWUzNzAzOTk0NjQ=","number":3456,"title":"feat(sponnet): Extend JSONNET library with additional pipeline options","user":{"login":"kskewes","id":10180699,"node_id":"MDQ6VXNlcjEwMTgwNjk5","avatar_url":"https://avatars2.githubusercontent.com/u/10180699?v=4","gravatar_id":"","url":"https://api.github.com/users/kskewes","html_url":"https://github.com/kskewes","followers_url":"https://api.github.com/users/kskewes/followers","following_url":"https://api.github.com/users/kskewes/following{/other_user}","gists_url":"https://api.github.com/users/kskewes/gists{/gist_id}","starred_url":"https://api.github.com/users/kskewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kskewes/subscriptions","organizations_url":"https://api.github.com/users/kskewes/orgs","repos_url":"https://api.github.com/users/kskewes/repos","events_url":"https://api.github.com/users/kskewes/events{/privacy}","received_events_url":"https://api.github.com/users/kskewes/received_events","type":"User","site_admin":false},"labels":[{"id":861848145,"node_id":"MDU6TGFiZWw4NjE4NDgxNDU=","url":"https://api.github.com/repos/spinnaker/spinnaker/labels/pipelines/templates","name":"pipelines/templates","color":"8d47ad","default":false},{"id":111166992,"node_id":"MDU6TGFiZWwxMTExNjY5OTI=","url":"https://api.github.com/repos/spinnaker/spinnaker/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"lwander","id":4874941,"node_id":"MDQ6VXNlcjQ4NzQ5NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4874941?v=4","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false},"assignees":[{"login":"lwander","id":4874941,"node_id":"MDQ6VXNlcjQ4NzQ5NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4874941?v=4","gravatar_id":"","url":"https://api.github.com/users/lwander","html_url":"https://github.com/lwander","followers_url":"https://api.github.com/users/lwander/followers","following_url":"https://api.github.com/users/lwander/following{/other_user}","gists_url":"https://api.github.com/users/lwander/gists{/gist_id}","starred_url":"https://api.github.com/users/lwander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lwander/subscriptions","organizations_url":"https://api.github.com/users/lwander/orgs","repos_url":"https://api.github.com/users/lwander/repos","events_url":"https://api.github.com/users/lwander/events{/privacy}","received_events_url":"https://api.github.com/users/lwander/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2018-10-16T01:06:40Z","updated_at":"2018-10-17T21:29:43Z","closed_at":"2018-10-17T21:29:43Z","author_association":"NONE","body":"### Issue Summary:\r\n\r\n[Sponnet demo](https://github.com/spinnaker/spinnaker/tree/master/sponnet/demo) has initial support for creating pipelines with `Wait` and  `Deploy Manifest` stages.\r\nThis is a great start.\r\nIt would be nice to extend this with additional pipeline stages, configuration options, execution options, etc.\r\n\r\nI have found using MPT? YAML pipelines with partials and multiple levels of inheritance to be fragile and difficult to manage compared with what JSONNET provides.\r\n\r\n### Cloud Provider(s):\r\n\r\nKubernetes for now.\r\n\r\n### Environment:\r\n\r\n1.9.5 on Kubernetes using V2 provider for applications.\r\n\r\n### Feature Area: \r\n\r\nsponnet: pipeline templates with JSONNET\r\n\r\n### Description:\r\n\r\nExpect to be able to create json pipeline definitions with all features available in Deck UI.\r\nCurrently can only create json pipeline definitions with `Wait` and `Deploy Manifest (text)` stages.\r\n\r\n### Steps to Reproduce:\r\n\r\nTry to create a pipeline.json file for demo app with triggers and stages using artifacts.\r\n\r\n### Additional Details:\r\n\r\nHave started extending this in [my fork of spinnaker repo](https://github.com/kskewes/spinnaker/commit/c3b8f4b72ab14b3369d626f121fb2ce5f1a23be3#diff-16290c192c8881156d617597a2ef886b) and looking for guidance as to whether this would be acceptable for a PR and additional stylistic, structural and general guidelines/improvements.\r\n\r\nI understand pipeline templates methodology has been under discussion for some time and that maintaining 'sponnet' would be somewhat duplicating API in areas.\r\n\r\nI'm happy to maintain my own library and/or submit PR's and assist with any related issues. I don't have access to the full gamut of providers that Spinnaker support though.\r\n"},"comment":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/comments/430796506","html_url":"https://github.com/spinnaker/spinnaker/issues/3456#issuecomment-430796506","issue_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3456","id":430796506,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc5NjUwNg==","user":{"login":"kskewes","id":10180699,"node_id":"MDQ6VXNlcjEwMTgwNjk5","avatar_url":"https://avatars2.githubusercontent.com/u/10180699?v=4","gravatar_id":"","url":"https://api.github.com/users/kskewes","html_url":"https://github.com/kskewes","followers_url":"https://api.github.com/users/kskewes/followers","following_url":"https://api.github.com/users/kskewes/following{/other_user}","gists_url":"https://api.github.com/users/kskewes/gists{/gist_id}","starred_url":"https://api.github.com/users/kskewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kskewes/subscriptions","organizations_url":"https://api.github.com/users/kskewes/orgs","repos_url":"https://api.github.com/users/kskewes/repos","events_url":"https://api.github.com/users/kskewes/events{/privacy}","received_events_url":"https://api.github.com/users/kskewes/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T21:29:43Z","updated_at":"2018-10-17T21:29:43Z","author_association":"NONE","body":"Sure, thanks, added. "}}
{"actor":{"display_login":"kskewes"}}