-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathci_analyzer.yaml
54 lines (51 loc) · 2.16 KB
/
ci_analyzer.yaml
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
# This is sample CIAnalyzer config yaml.
# Copy it and change to your config.
github:
# baseUrl: https://api.github.com # Change it if you using GitHub Enterprise Server
repos:
- name: Kesin11/CIAnalyzer
tests:
- '**/*.xml' # Test report JUnit XML path in artifact that uploaded by actions/upload-artifact
- Kesin11/Firestore-simple # Can use abbr format if don't collect test report
vscBaseUrl: # It used for collect git tag data.
github: https://api.github.com # default
exporter: &exporter # Can use yaml anchor
local:
outDir: ./output # default: output
format: json # default: json. 'json' and 'json_lines' are supported.
bigquery:
project: { GCP_PROJECT_ID }
dataset: { BIGQUERY_DATASET }
reports:
- name: workflow
table: { WORKFLOW_TABLE_NAME }
- name: test_report
table: { TEST_REPORT_TABLE_NAME }
maxBadRecords: 0 # (Optional) default: 0. If set > 0, skip bad record. This option should only be used for workaround.
lastRunStore:
backend: gcs # Recommend using 'gcs' backend
project: { GCP_PROJECT_ID }
bucket: { BUCKET_NAME }
path: ci_analyzer/last_run/github.json # (Optional) default: ci_analyzer/last_run/${service}.json
circleci:
# baseUrl: https://circleci.com/api/v1.1 # Change it if you using CircleCI Enterprise
repos:
- Kesin11/CIAnalyzer
# - name: Kesin11/CIAnalyzer
# vsc_type: github # github or bitbucket. default: github
vscBaseUrl:
# Using for collect git tag data. **Currently only support github**
github: https://api.github.com # Change it if you using GitHub Enterprise Server
exporter: *exporter # Can use yaml anchor
lastRunStore:
backend: local # 'local' backend is not recommended but it useful for debug
path: .ci_analyzer/last_run/circleci.json # default: .ci_analyzer/last_run/${service}.json
jenkins:
baseUrl: http://localhost:8080 # Your jenkins url
jobs: # Job names in your Jenkins
- name: ci_analyzer
tests:
- 'junit/junit.xml' # Test report JUnit XML path in artifact
- ci_analyzer_pull_request
exporter: *exporter
# If 'lastRunStore' is omitted, local backend is used