File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
zen_server/template_execution Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -261,6 +261,8 @@ def apply_pipeline_configuration(
261
261
"failure_hook_source" ,
262
262
"success_hook_source" ,
263
263
"substitutions" ,
264
+ "environment" ,
265
+ "secrets" ,
264
266
},
265
267
exclude_none = True ,
266
268
)
@@ -272,10 +274,16 @@ def apply_pipeline_configuration(
272
274
"failure_hook_source" ,
273
275
"success_hook_source" ,
274
276
"substitutions" ,
277
+ "environment" ,
278
+ "secrets" ,
275
279
},
276
280
exclude_none = True ,
277
281
)
278
282
283
+ original_values ["secrets" ] = pipeline_values .get (
284
+ "secrets" , []
285
+ ) + original_values .get ("secrets" , [])
286
+
279
287
updated_config = self .model_copy (update = pipeline_values , deep = True )
280
288
return update_model (updated_config , original_values )
281
289
else :
Original file line number Diff line number Diff line change 48
48
validate_stack_is_runnable_from_server ,
49
49
)
50
50
from zenml .stack .flavor import Flavor
51
- < << << << HEAD
52
51
from zenml .utils import (
53
- dict_utils ,
52
+ pydantic_utils ,
54
53
requirements_utils ,
55
54
settings_utils ,
56
55
)
57
- == == == =
58
- from zenml .utils import pydantic_utils , requirements_utils , settings_utils
59
- > >> >> >> develop
60
56
from zenml .zen_server .auth import AuthContext , generate_access_token
61
57
from zenml .zen_server .template_execution .runner_entrypoint_configuration import (
62
58
RunnerEntrypointConfiguration ,
You can’t perform that action at this time.
0 commit comments