@@ -22,21 +22,49 @@ pre-commit:
22
22
--minAlertLevel=error {staged_files}'
23
23
cloud-dedicated-lint :
24
24
tags : lint,v3
25
- glob : ' content/influxdb/cloud-dedicated/*.md'
25
+ glob :
26
+ - ' content/influxdb3/cloud-dedicated/*.md'
27
+ - ' content/shared/*.md'
26
28
run : ' .ci/vale/vale.sh
27
- --config=content/influxdb /cloud-dedicated/.vale.ini
29
+ --config=content/influxdb3 /cloud-dedicated/.vale.ini
28
30
--minAlertLevel=error {staged_files}'
29
31
cloud-serverless-lint :
30
32
tags : lint,v3
31
- glob : ' content/influxdb/cloud-serverless/*.md'
33
+ glob :
34
+ - ' content/influxdb/cloud-serverless/*.md'
35
+ - ' content/shared/*.md'
32
36
run : ' .ci/vale/vale.sh
33
- --config=content/influxdb /cloud-serverless/.vale.ini
37
+ --config=content/influxdb3 /cloud-serverless/.vale.ini
34
38
--minAlertLevel=error {staged_files}'
35
39
clustered-lint :
36
40
tags : lint,v3
37
- glob : ' content/influxdb/clustered/*.md'
41
+ glob :
42
+ - ' content/influxdb3/clustered/*.md'
43
+ - ' content/shared/*.md'
44
+ run : ' .ci/vale/vale.sh
45
+ --config=content/influxdb3/cloud-serverless/.vale.ini
46
+ --minAlertLevel=error {staged_files}'
47
+ core-lint :
48
+ tags : lint,v3
49
+ glob :
50
+ - ' content/influxdb3/core/*.md'
51
+ - ' content/shared/*.md'
52
+ run : ' .ci/vale/vale.sh
53
+ --config=.vale.ini
54
+ --minAlertLevel=error {staged_files}'
55
+ enterprise-lint :
56
+ tags : lint,v3
57
+ glob :
58
+ - ' content/influxdb3/enterprise/*.md'
59
+ - ' content/shared/*.md'
38
60
run : ' .ci/vale/vale.sh
39
- --config=content/influxdb/cloud-serverless/.vale.ini
61
+ --config=.vale.ini
62
+ --minAlertLevel=error {staged_files}'
63
+ explorer-lint :
64
+ tags : lint,clients
65
+ glob : ' content/influxdb3/explorer/*.md'
66
+ run : ' .ci/vale/vale.sh
67
+ --config=.vale.ini
40
68
--minAlertLevel=error {staged_files}'
41
69
telegraf-lint :
42
70
tags : lint,clients
@@ -77,7 +105,7 @@ pre-push:
77
105
78
106
e2e-links :
79
107
tags : test,links
80
- glob : ' content/**/* .{md,html}'
108
+ glob : ' content/*.{md,html}'
81
109
run : |
82
110
echo "Running link checker for: {push_files}"
83
111
yarn test:links {push_files}
@@ -94,45 +122,46 @@ pre-push:
94
122
build-pytest-image :
95
123
tags : test
96
124
run : yarn build:pytest:image
125
+
97
126
# Test code blocks in markdown files
98
127
cloud-pytest :
99
- glob : content/influxdb/cloud/**/* .md
128
+ glob : content/influxdb/cloud/*.md
100
129
tags : test,codeblocks,v2
101
130
env :
102
131
SERVICE : cloud-pytest
103
132
run : yarn test:codeblocks:cloud '{push_files}'
104
133
105
134
cloud-dedicated-pytest :
106
135
tags : test,codeblocks,v3
107
- glob : content/influxdb /cloud-dedicated/** /*.md
136
+ glob : content/influxdb3 /cloud-dedicated/*.md
108
137
run : |
109
138
yarn test:codeblocks:cloud-dedicated '{push_files}' &&
110
139
./test/scripts/monitor-tests.sh stop cloud-dedicated-pytest
111
140
112
141
cloud-serverless-pytest :
113
142
tags : test,codeblocks,v3
114
- glob : content/influxdb /cloud-serverless/** /*.md
143
+ glob : content/influxdb3 /cloud-serverless/*.md
115
144
env :
116
145
SERVICE : cloud-serverless-pytest
117
146
run : yarn test:codeblocks:cloud-serverless '{push_files}'
118
147
119
148
clustered-pytest :
120
149
tags : test,codeblocks,v3
121
- glob : content/influxdb /clustered/** /*.md
150
+ glob : content/influxdb3 /clustered/*.md
122
151
run : |
123
152
yarn test:codeblocks:clustered '{push_files}' &&
124
153
./test/scripts/monitor-tests.sh stop clustered-pytest
125
154
126
155
telegraf-pytest :
127
156
tags : test,codeblocks
128
- glob : content/telegraf/**/* .md
157
+ glob : content/telegraf/*.md
129
158
env :
130
159
SERVICE : telegraf-pytest
131
160
run : yarn test:codeblocks:telegraf '{push_files}'
132
161
133
162
v2-pytest :
134
163
tags : test,codeblocks,v2
135
- glob : content/influxdb/v2/**/* .md
164
+ glob : content/influxdb/v2/*.md
136
165
env :
137
166
SERVICE : v2-pytest
138
167
run : yarn test:codeblocks:v2 '{push_files}'
0 commit comments