forked from elastic/apm-agent-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update-json-specs.yml
121 lines (117 loc) · 3.77 KB
/
update-json-specs.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
name: update-json-specs
pipelineid: update-json-specs
title: synchronize json specs
scms:
default:
kind: github
spec:
user: '{{ requiredEnv "GIT_USER" }}'
email: '{{ requiredEnv "GIT_EMAIL" }}'
owner: elastic
repository: apm-agent-java
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
username: '{{ requiredEnv "GIT_USER" }}'
branch: main
sources:
sha:
kind: file
spec:
file: 'https://github.com/elastic/apm/commit/main.patch'
matchpattern: "^From\\s([0-9a-f]{40})\\s"
transformers:
- findsubmatch:
pattern: "[0-9a-f]{40}"
container_metadata_discovery.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/container_metadata_discovery.json
service_resource_inference.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/service_resource_inference.json
span_types.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/span_types.json
sql_signature_examples.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/sql_signature_examples.json
sql_token_examples.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/sql_token_examples.json
w3c_distributed_tracing.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/w3c_distributed_tracing.json
wildcard_matcher_tests.json:
kind: file
spec:
file: https://raw.githubusercontent.com/elastic/apm/main/tests/agents/json-specs/wildcard_matcher_tests.json
actions:
pr:
kind: "github/pullrequest"
scmid: default
title: '[Automation] Update JSON specs'
spec:
automerge: false
draft: false
labels:
- "automation"
description: |-
### What
APM agent specs automatic sync
### Why
*Changeset*
* https://github.com/elastic/apm/commit/{{ source "sha" }}
targets:
container_metadata_discovery.json:
name: container_metadata_discovery.json
scmid: default
sourceid: container_metadata_discovery.json
kind: file
spec:
file: apm-agent-core/src/test/resources/json-specs/container_metadata_discovery.json
service_resource_inference.json:
name: service_resource_inference.json
scmid: default
sourceid: service_resource_inference.json
kind: file
spec:
file: apm-agent-core/src/test/resources/json-specs/service_resource_inference.json
span_types.json:
name: span_types.json
scmid: default
sourceid: span_types.json
kind: file
spec:
file: apm-agent-core/src/test/resources/json-specs/span_types.json
sql_signature_examples.json:
name: sql_signature_examples.json
scmid: default
sourceid: sql_signature_examples.json
kind: file
spec:
file: apm-agent-plugin-sdk/src/test/resources/json-specs/sql_signature_examples.json
sql_token_examples.json:
name: sql_token_examples.json
scmid: default
sourceid: sql_token_examples.json
kind: file
spec:
file: apm-agent-plugin-sdk/src/test/resources/json-specs/sql_token_examples.json
w3c_distributed_tracing.json:
name: w3c_distributed_tracing.json
scmid: default
sourceid: w3c_distributed_tracing.json
kind: file
spec:
file: apm-agent-core/src/test/resources/json-specs/w3c_distributed_tracing.json
wildcard_matcher_tests.json:
name: wildcard_matcher_tests.json
scmid: default
sourceid: wildcard_matcher_tests.json
kind: file
spec:
file: apm-agent-core/src/test/resources/json-specs/wildcard_matcher_tests.json