Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow excluding repositories from being processed #1074

Merged
merged 1 commit into from
May 10, 2023
Merged

Conversation

tegioz
Copy link
Contributor

@tegioz tegioz commented May 10, 2023

Sometimes a project may want a repository to only be processed by one of the services feeding from the data files.

For example, a project may want to have all their repositories processed by CLOTributor, but only a subset of them by CLOMonitor. This new feature make this configurable by using the exclude field, which accepts a list of services to exclude the repository from (valid values are clomonitor and clotributor at the moment).

In this example, we are requesting that the func repository is not processed by CLOMonitor:

- name: knative
  display_name: Knative
  description: Kubernetes-based platform to build, deploy, and manage modern serverless workloads
  category: serverless
  logo_url: https://raw.githubusercontent.com/cncf/artwork/master/projects/knative/icon/color/knative-icon-color.svg
  devstats_url: https://knative.devstats.cncf.io/
  accepted_at: "2022-03-02"
  maturity: incubating
  repositories:
    - name: docs
      url: https://github.com/knative/docs/
      check_sets:
        - docs
    - name: func
      url: https://github.com/knative/func
      check_sets:
        - code-lite
      exclude:
        - clomonitor

Related to #1070

@tegioz
Copy link
Contributor Author

tegioz commented May 10, 2023

/cc @aliok

@tegioz tegioz merged commit ed38352 into main May 10, 2023
@tegioz tegioz deleted the tegioz/exclude branch May 10, 2023 11:39
@tegioz tegioz mentioned this pull request May 10, 2023
@aliok
Copy link
Member

aliok commented May 10, 2023

Added more repos with CLOMonitor disabled here: #1076

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants