Repository navigation
Remove duplicate job.yml - #86
Conversation
There was a problem hiding this comment.
This seems correct but all other path changes are just using absolute paths instead of relative ones. That doesn't seem right.
There was a problem hiding this comment.
This is actually interesting. Apart from the fact that the change somehow weirdly fails upon initialization so that I have absolutely no idea what's wrong, this is basically the reason why I waited with the change until the consolidation. For some reason it looks like all the template paths are interpreted in context of the job.yml script, this is why the relative paths no longer work. I would love to figure out how to work around this but so far I haven't found how to do that yet.
There was a problem hiding this comment.
I would love to figure out how to work around this but so far I haven't found how to do that yet.
I don't think that's possible. I think because yml expands templates in place, and first goes the deepest level and then starts expanding, whenever it expands this templates, the path will now be within the context of job.yml -- it might be a bug, but I don't think there is a way now to do it without absolute paths. Might be worth opening a bug or asking.
To simplify repo consolidation I temporarily kept a copy of the job.yml file under eng/pipelines/coreclr/templates. Now that we no longer need to maintain compatible YAML code across non-consolidated CoreCLR vs. consolidated runtime, we can finally remove this duplication. Thanks Tomas
|
As mentioned in my response to Viktor, one downside of this change is restoring some of the absolute paths; this shouldn't hopefully be a big deal as we no longer have to maintain a version supporting both pre-consolidation and post-consolidation folder layout. |
Merge from dotnet/runtime
To simplify repo consolidation I temporarily kept a copy of the
job.yml file under eng/pipelines/coreclr/templates. Now that we
no longer need to maintain compatible YAML code across
non-consolidated CoreCLR vs. consolidated runtime, we can finally
remove this duplication.
Thanks
Tomas