-
Notifications
You must be signed in to change notification settings - Fork 19
/
codecov.yml
88 lines (83 loc) · 2.43 KB
/
codecov.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
parsers:
javascript:
enable_partials: yes
comment:
layout: newheader, reach, files, components, diff, flags # show component info in the PR comment
hide_comment_details: true # hide the comment details (e.g. coverage targets) in the PR comment
# Setting coverage targets
coverage:
status:
# "global" coverage target for the backbeat service (core + all extensions)
# bucket-scanner is excluded, as it is tracked separately in the component
project:
default: false
Backbeat:
target: auto
threshold: 1%
removed_code_behavior: adjust_base
paths:
- bin
- extensions
- lib
patch:
default: false
Backbeat:
target: 80%
component_management:
default_rules: # default rules that will be inherited by all components
flag_regexes:
- "^(?!bucket-scanner)$" # do not consider `bucket-scanner` for most components
statuses: []
individual_components:
- component_id: backbeat-notification
name: Bucket Notification
paths:
- extensions/notification/**
- component_id: backbeat-core
name: Core Library
paths:
- extensions/utils/**
- lib/**
- component_id: backbeat-ingestion
name: Ingestion
paths:
- extensions/ingestion/**
- extensions/mongoProcessor/**
- lib/queuePopulator/Ingestion.*
- component_id: backbeat-lifecycle
name: Lifecycle
paths:
- extensions/gc/**
- extensions/lifecycle/**
- component_id: backbeat-oplogpopulator
name: Oplog Populator
paths:
- extensions/oplogPopulator/**
- component_id: backbeat-replication
name: Replication
paths:
- extensions/replication/**
- component_id: bucket-scanner
name: Bucket Scanner
flag_regexes:
- "^bucket-scanner$" # only consider bucket-scanner for this component
paths:
- bucket-scanner/**
statuses:
- type: project
target: auto
threshold: 1%
removed_code_behavior: adjust_base
- type: patch
target: 100%
threshold: 5%
flag_management:
default_rules: # the rules that will be followed for any flag added, generally
carryforward: true
statuses: []
# Do not consider zenko integration builds in coverage comparisons
flags:
zenko-end2end-sharded:
joined: false
zenko-ctst-end2end-sharded:
joined: false