dgodd / concourse-summary

MIT License
62 stars 12 forks source link

Add pipeline filter so that it could filter by pipeline names #7

Closed Kaixiang closed 8 years ago

Kaixiang commented 8 years ago

Hi Dave:

Thanks for the concourse-summary project, which is super helpful for us (we are in Pivotal SF) !

This works great for us, yet we want to be able to apply filters for the pipelines because we have different teams in different geographic locations who shared the same concourse server but have different pipelines.

So that we'd like to be able to push multiple instances of this app but apply different pipeline filters.

Below are the PR we've created, It does not change the default behavior unless you config PIPELINES in your env, which will show only the pipelines configured in PIPELINES env.

We think this might also benefit other teams, any comments?

dgodd commented 8 years ago

Hi Kai,

Sorry I took so long to notice this. Does the CS_GROUPS feature solve your problem. eg.

export CS_GROUPS="{\"test\":{\"buildpacks.ci.cf-app.com\":{\"binary-builder\":[\"automated-builds\",\"manual-builds\"],\"brats\":null},\"diego.ci.cf-app.com\":{\"greenhouse\":null},\"capi.ci.cf-app.com\":null}}"