colindembovsky / cols-agent-tasks

Colin's ALM Corner Custom Build Tasks
MIT License
83 stars 65 forks source link

Replace Tokens Node 6 to 10 Migration #175

Closed jjmms closed 2 years ago

jjmms commented 2 years ago

I'm using the following ReplaceTokens task in an Azure Pipeline:

colinsalmcorner.colinsalmcorner-buildtasks.replace-tokens-task.ReplaceTokens@1

This is resulting in the following warning:

##[warning]This task uses Node 6 execution handler, which will be deprecated soon. If you are the developer of the task - please consider the migration guideline to Node 10 handler - https://aka.ms/migrateTaskNode10. If you are the user - feel free to reach out to the owners of this task to proceed on migration.

Apparently the deadline for this migration is March 2022. Can you confirm whether migration is planned by then?

mtrenouth commented 2 years ago

I got this message too. Just wondering if I need to be looking for a new tool to handle the token population for me.

Migration looks fairly simple (https://github.com/microsoft/azure-pipelines-tasks/blob/master/docs/migrateNode10.md), however I wouldn't know verify or fix if I broke something..

mtrenouth commented 2 years ago

Looks like the update might just be changing some dependencies (namely typescript and azure-pipelines-task-lib. @colindembovsky I added a PR, but wasn't sure how you wanted to fully vet it other than running yarn install and yarn test

kmadof commented 2 years ago

@colindembovsky thanks a lot for your work done here and your blog!

Going back to main topic. Do you plan in near future upgrade node version? Maybe do you need some maintenance on the project here?

colindembovsky commented 2 years ago

@kmadof @jjmms @mtrenouth I'm in the process of this upgrade - had to update a LOT to get all this working, including the Pipeline! I have the build working now (finally) and will work on the release tasks next week. Stay tuned...

colindembovsky commented 2 years ago

Closing due to completed work.