{"action":"created","issue":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3228","repository_url":"https://api.github.com/repos/spinnaker/spinnaker","labels_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3228/labels{/name}","comments_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3228/comments","events_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3228/events","html_url":"https://github.com/spinnaker/spinnaker/issues/3228","id":353057170,"node_id":"MDU6SXNzdWUzNTMwNTcxNzA=","number":3228,"title":"Artifacts propagating from child pipelines to ancestors can cause large numbers of unused artifacts in some pipelines","user":{"login":"willgorman","id":49793,"node_id":"MDQ6VXNlcjQ5Nzkz","avatar_url":"https://avatars3.githubusercontent.com/u/49793?v=4","gravatar_id":"","url":"https://api.github.com/users/willgorman","html_url":"https://github.com/willgorman","followers_url":"https://api.github.com/users/willgorman/followers","following_url":"https://api.github.com/users/willgorman/following{/other_user}","gists_url":"https://api.github.com/users/willgorman/gists{/gist_id}","starred_url":"https://api.github.com/users/willgorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willgorman/subscriptions","organizations_url":"https://api.github.com/users/willgorman/orgs","repos_url":"https://api.github.com/users/willgorman/repos","events_url":"https://api.github.com/users/willgorman/events{/privacy}","received_events_url":"https://api.github.com/users/willgorman/received_events","type":"User","site_admin":false},"labels":[{"id":779873332,"node_id":"MDU6TGFiZWw3Nzk4NzMzMzI=","url":"https://api.github.com/repos/spinnaker/spinnaker/labels/artifacts","name":"artifacts","color":"ea93bd","default":false},{"id":111166989,"node_id":"MDU6TGFiZWwxMTExNjY5ODk=","url":"https://api.github.com/repos/spinnaker/spinnaker/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":936546350,"node_id":"MDU6TGFiZWw5MzY1NDYzNTA=","url":"https://api.github.com/repos/spinnaker/spinnaker/labels/stale","name":"stale","color":"000000","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-22T17:46:14Z","updated_at":"2018-12-03T15:30:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Issue Summary:\r\n\r\nArtifacts propagating from child pipelines to ancestors can cause large numbers of unused artifacts to build up in some pipelines.\r\n\r\n### Cloud Provider(s):\r\n\r\nKubernetes V2\r\n\r\n### Environment:\r\n\r\nSpinnaker 1.8.3\r\n\r\n### Feature Area: \r\n\r\nArtifacts\r\n\r\n### Description:\r\n\r\nWe have a large pipeline that runs groups of deployments for many different applications as child pipelines and has a structure similar to this:\r\n![image](https://user-images.githubusercontent.com/49793/44479473-54f29a00-a606-11e8-8c7f-43810d3c79e1.png)\r\n\r\nEach child pipeline produces multiple kubernetes manifest artifacts that are only consumed in that pipeline or its children.  However, we see that the artifacts from each group of child pipelines seem to get passed on to the next group so that each group gets a successively larger set of artifacts that are unused. \r\n![image](https://user-images.githubusercontent.com/49793/44480028-d4349d80-a607-11e8-9043-4d8d21d02bbd.png)\r\n\r\n This ends up bloating the size of the pipeline executions and consuming more space in Redis than we expect.  From the [artifact documentation](https://www.spinnaker.io/reference/artifacts/in-pipelines/#passing-artifacts-between-pipelines) it seems like artifacts should only be propagated down to child pipelines.   It it expected that they are also propagated back up to other children of their ancestor?  If so, is there a way to prevent it?\r\n"},"comment":{"url":"https://api.github.com/repos/spinnaker/spinnaker/issues/comments/443750791","html_url":"https://github.com/spinnaker/spinnaker/issues/3228#issuecomment-443750791","issue_url":"https://api.github.com/repos/spinnaker/spinnaker/issues/3228","id":443750791,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mzc1MDc5MQ==","user":{"login":"spinnakerbot","id":39309875,"node_id":"MDQ6VXNlcjM5MzA5ODc1","avatar_url":"https://avatars2.githubusercontent.com/u/39309875?v=4","gravatar_id":"","url":"https://api.github.com/users/spinnakerbot","html_url":"https://github.com/spinnakerbot","followers_url":"https://api.github.com/users/spinnakerbot/followers","following_url":"https://api.github.com/users/spinnakerbot/following{/other_user}","gists_url":"https://api.github.com/users/spinnakerbot/gists{/gist_id}","starred_url":"https://api.github.com/users/spinnakerbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinnakerbot/subscriptions","organizations_url":"https://api.github.com/users/spinnakerbot/orgs","repos_url":"https://api.github.com/users/spinnakerbot/repos","events_url":"https://api.github.com/users/spinnakerbot/events{/privacy}","received_events_url":"https://api.github.com/users/spinnakerbot/received_events","type":"User","site_admin":false},"created_at":"2018-12-03T15:30:25Z","updated_at":"2018-12-03T15:30:25Z","author_association":"NONE","body":"This issue is tagged as 'stale' and hasn't been updated  in 45 days, so we are tagging it as 'to-be-closed'. It will be closed in 45 days unless updates are made. If you want to remove this label, comment:\n\n> @spinnakerbot remove-label to-be-closed"}}
{"actor":{"display_login":"spinnakerbot"}}