File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2828 Required ("trust-domain" ): str ,
2929 Optional (
3030 "docker-image-kind" ,
31- default = "docker-image" ,
3231 description = "Name of the docker image kind (default: docker-image)" ,
3332 ): str ,
3433 Required ("task-priority" ): optionally_keyed_by (
@@ -166,6 +165,10 @@ def taskcluster_yml(self):
166165 def docker_dir (self ):
167166 return os .path .join (self .root_dir , "docker" )
168167
168+ @property
169+ def kinds_dir (self ):
170+ return os .path .join (self .root_dir , "kinds" )
171+
169172
170173def validate_graph_config (config ):
171174 validate_schema (graph_config_schema , config , "Invalid graph configuration:" )
Original file line number Diff line number Diff line change @@ -210,9 +210,8 @@ def image_paths(graph_config):
210210 """Return a map of image name to paths containing their Dockerfile."""
211211
212212 config = load_yaml (
213- graph_config .root_dir ,
214- "kinds" ,
215- graph_config ["docker-image-kind" ],
213+ graph_config .kinds_dir ,
214+ graph_config .get ("docker-image-kind" , "docker-image" ),
216215 "kind.yml" ,
217216 )
218217
Original file line number Diff line number Diff line change 1414
1515task-priority : low
1616
17- docker-image-kind : docker-image
18-
1917taskgraph :
2018 register : self_taskgraph:register
2119 decision-parameters : ' self_taskgraph.custom_parameters:decision_parameters'
You can’t perform that action at this time.
0 commit comments