riezebosch / vsts-tasks-packer

MIT License
15 stars 7 forks source link

Unable to run PackerTool due to dependency on NodeJS 6 #35

Closed alexkusuma closed 6 months ago

alexkusuma commented 6 months ago

Azure DevOps pipelines that uses PackerTool will no longer run, and marked as invalid. This is the error message from AzureDevOps:

The pipeline is not valid. Job validate_template: Step 'PackerTool' references task 'PackerTool' at version '0.146.2019' contains an execution handler that relies on NodeJS version '6' which is restricted by your administrator. Job build: Step '' references task 'PackerTool' at version '0.146.2019' contains an execution handler that relies on NodeJS version '6' which is restricted by your administrator.

Note: Microsoft globally apply the restriction on NodeJS version 6, not me (I'm the admistrator of my azure devops).

riezebosch commented 6 months ago

working on it but got the unexpected error now:

##[error]Aborted
##[warning]Content-Length (16981086 bytes) did not match downloaded file size (16947776 bytes).

Seems related: https://github.com/microsoft/azure-pipelines-tasks/issues/18280

I based this task on that one.

riezebosch commented 6 months ago

resolved by patching the dependency