Skip to content

Commit 903bc1b

Browse files
committed
ci: merge volumes
1 parent 72b3525 commit 903bc1b

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

.drone.star

+23-19
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,26 @@ build_config = {
7878
"command": "ninja",
7979
}
8080

81-
pip_pipeline_volume = [{
82-
"name": "python",
83-
"temp": {},
84-
}]
85-
pip_pipeline64_volume = [{
86-
"name": "python",
87-
"temp": {},
88-
}]
89-
pip_step_volume = [{
90-
"name": "python",
91-
"path": dir["pythonModules"],
92-
}]
93-
pip_step64_volume = [{
94-
"name": "python",
95-
"path": dir["pythonModules64"],
96-
}]
81+
pip_pipeline_volume = [
82+
{
83+
"name": "python",
84+
"temp": {},
85+
},
86+
{
87+
"name": "python",
88+
"temp": {},
89+
},
90+
]
91+
pip_step_volume = [
92+
{
93+
"name": "python",
94+
"path": dir["pythonModules"],
95+
},
96+
{
97+
"name": "python",
98+
"path": dir["pythonModules64"],
99+
},
100+
]
97101

98102
config = {
99103
"gui-tests": {
@@ -259,7 +263,7 @@ def gui_test_pipeline(ctx):
259263
"name": "uploads",
260264
"temp": {},
261265
},
262-
] + pip_pipeline_volume + pip_pipeline64_volume,
266+
] + pip_pipeline_volume,
263267
})
264268
return pipelines
265269

@@ -328,7 +332,7 @@ def gui_tests(squish_parameters = "", server_type = "oc10"):
328332
# allow to use any available pnpm version
329333
"COREPACK_ENABLE_STRICT": 0,
330334
},
331-
"volumes": pip_step_volume + pip_step64_volume,
335+
"volumes": pip_step_volume,
332336
}]
333337

334338
def gui_tests_format():
@@ -651,7 +655,7 @@ def install_python_modules():
651655
"commands": [
652656
"make -C %s pip-install" % dir["guiTest"],
653657
],
654-
"volumes": pip_step_volume + pip_step64_volume,
658+
"volumes": pip_step_volume,
655659
}]
656660

657661
def setGuiTestReportDir():

0 commit comments

Comments
 (0)