Skip to content
This repository was archived by the owner on May 6, 2021. It is now read-only.
This repository was archived by the owner on May 6, 2021. It is now read-only.

Filter builds by labels to get lower traffic #130

@vpavlin

Description

@vpavlin

Jenkins Idler in OSIO production generates (consumes) quite a lot of nework traffic

screenshot from 2018-02-22 12-08-01

We could lower that traffic by filtering builds by labels the same way we do for DC events (

v.Add("labelSelector", "app=jenkins")
)

This would require a change to Jenkins Sync plugin (https://github.com/fabric8io/jenkins-sync-plugin/) (adding a label similar to https://github.com/jenkinsci/openshift-sync-plugin/blob/d3b43c767085d1224859345907d41d1e4f917ead/src/main/java/io/fabric8/jenkins/openshiftsync/Constants.java#L33, but "hardcoding" value like "type=jenkins-pipeline")

That way we could filter on that label and not get all the s2i builds happening in the cluster

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions