-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updateTasksId does not resolve task manifest path #188
Comments
I was checking here and expecting some evaluation of the files property in the root manifest to locate the task root directory. |
Path redirection in the manifest is something we don't support yet. The code assumes the tasks live in a folder that is bated on their contribution name. You're the first to use this as far as I can tell. |
I'm open to a PR on this one. |
If I get some availability I would be open to tackling this. I will come back and assign myself if that happens. @jessehouwing do you believe based on your experience, if the task id's are modified, could i support multiple tagged versions of the extension in a single org? For example if I have alpha, beta, rc, and ga (where ga is the only public version) that I could install all those and use them within a single org? If so that, would help dramatically reduce the overhead and complexity of my extensions' ci/cd pipeline |
For build tasks, yes you can have as many tasks deployed side by side as long as the have a unique taskid and a unique extensionid. That is the purpose. The alternative is to have separate organisations for each promotion level. See also: |
Thanks @jessehouwing |
Hi there, I am trying to update my terraform task extension to use this for publishing/packaging.
I am unable to get the updateTasksId feature to update the task id's of the tasks in my extension. The tasks are compiled to a .dist directory before being packaged. For this to work, the vss-extension manifest has a
files
array that maps the path of the task files to the task name (see example below). It appears that the updateTasksId expects the task manifest to live in a directory with the same name as the extension and does not utilize thefiles
array in the manifest to resolve the location.The extension task publishes my extension without errors but, the task id is still the same as what I have defined in my manifest.
The text was updated successfully, but these errors were encountered: