@@ -38,8 +38,6 @@ services:
38
38
cloud-pytest :
39
39
image : influxdata/docs-pytest
40
40
build :
41
- args :
42
- - CONTENT_PATH=content/influxdb/cloud
43
41
context : .
44
42
dockerfile : Dockerfile.pytest
45
43
entrypoint :
@@ -50,6 +48,8 @@ services:
50
48
# In the command, pass file paths to test.
51
49
# The container preprocesses the files for testing and runs the tests.
52
50
- content/influxdb/cloud/**/*.md
51
+ environment :
52
+ - CONTENT_PATH=content/influxdb/cloud
53
53
profiles :
54
54
- test
55
55
- v2
@@ -87,8 +87,6 @@ services:
87
87
cloud-dedicated-pytest :
88
88
image : influxdata/docs-pytest
89
89
build :
90
- args :
91
- - CONTENT_PATH=content/influxdb/cloud-dedicated
92
90
context : .
93
91
dockerfile : Dockerfile.pytest
94
92
entrypoint :
@@ -99,6 +97,8 @@ services:
99
97
# In the command, pass file paths to test.
100
98
# The container preprocesses the files for testing and runs the tests.
101
99
- content/influxdb/cloud-dedicated/**/*.md
100
+ environment :
101
+ - CONTENT_PATH=content/influxdb/cloud-dedicated
102
102
profiles :
103
103
- test
104
104
- v3
@@ -141,8 +141,6 @@ services:
141
141
cloud-serverless-pytest :
142
142
image : influxdata/docs-pytest
143
143
build :
144
- args :
145
- - CONTENT_PATH=content/influxdb/cloud-serverless
146
144
context : .
147
145
dockerfile : Dockerfile.pytest
148
146
entrypoint :
@@ -153,6 +151,8 @@ services:
153
151
# In the command, pass file paths to test.
154
152
# The container preprocesses the files for testing and runs the tests.
155
153
- content/influxdb/cloud-serverless/**/*.md
154
+ environment :
155
+ - CONTENT_PATH=content/influxdb/cloud-serverless
156
156
profiles :
157
157
- test
158
158
- v3
@@ -190,8 +190,6 @@ services:
190
190
clustered-pytest :
191
191
image : influxdata/docs-pytest
192
192
build :
193
- args :
194
- - CONTENT_PATH=content/influxdb/clustered
195
193
context : .
196
194
dockerfile : Dockerfile.pytest
197
195
entrypoint :
@@ -202,6 +200,8 @@ services:
202
200
# In the command, pass file paths to test.
203
201
# The container preprocesses the files for testing and runs the tests.
204
202
- content/influxdb/clustered/**/*.md
203
+ environment :
204
+ - CONTENT_PATH=content/influxdb/clustered
205
205
profiles :
206
206
- test
207
207
- v3
@@ -244,8 +244,6 @@ services:
244
244
telegraf-pytest :
245
245
image : influxdata/docs-pytest
246
246
build :
247
- args :
248
- - CONTENT_PATH=content/telegraf
249
247
context : .
250
248
dockerfile : Dockerfile.pytest
251
249
entrypoint :
@@ -256,6 +254,8 @@ services:
256
254
# In the command, pass file paths to test.
257
255
# The container preprocesses the files for testing and runs the tests.
258
256
- content/telegraf/**/*.md
257
+ environment :
258
+ - CONTENT_PATH=content/telegraf
259
259
profiles :
260
260
- test
261
261
stdin_open : true
@@ -292,8 +292,6 @@ services:
292
292
v2-pytest :
293
293
image : influxdata/docs-pytest
294
294
build :
295
- args :
296
- - CONTENT_PATH=content/influxdb/v2
297
295
context : .
298
296
dockerfile : Dockerfile.pytest
299
297
entrypoint :
@@ -304,6 +302,8 @@ services:
304
302
# In the command, pass file paths to test.
305
303
# The container preprocesses the files for testing and runs the tests.
306
304
- content/influxdb/v2/**/*.md
305
+ environment :
306
+ - CONTENT_PATH=content/influxdb/v2
307
307
profiles :
308
308
- test
309
309
- v2
@@ -348,7 +348,9 @@ services:
348
348
DOCKER_INFLUXDB_INIT_PASSWORD_FILE : /run/secrets/influxdb2-admin-password
349
349
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE : /run/secrets/influxdb2-admin-token
350
350
DOCKER_INFLUXDB_INIT_ORG : docs
351
- DOCKER_INFLUXDB_INIT_BUCKET : home
351
+ DOCKER_INFLUXDB_INIT_BUCKET : get-started
352
+ INFLUX_ORG : docs
353
+ INFLUX_BUCKET : get-started
352
354
profiles :
353
355
- v2
354
356
- local
@@ -367,7 +369,7 @@ services:
367
369
build :
368
370
context : .
369
371
dockerfile : .ci/Dockerfile.remark
370
- command : ["remark", "content/${PRODUCT_PATH }"]
372
+ command : ["remark", "${CONTENT_PATH }"]
371
373
profiles :
372
374
- lint
373
375
volumes :
0 commit comments