Skip to content
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

NodeTool - Cache node binaries "locally" #12569

Closed
anthonydresser opened this issue Mar 23, 2020 · 2 comments
Closed

NodeTool - Cache node binaries "locally" #12569

anthonydresser opened this issue Mar 23, 2020 · 2 comments

Comments

@anthonydresser
Copy link

Question, Bug, or Feature?
Type: Feature

Enter Task Name: NodeTool

Environment

  • Server - Azure Pipelines or TFS on-premises?
    Azure Pipelines

  • Agent - Hosted or Private:
    Hosted

Issue Description

Would it be possible to cache the node binaries "locally" (somewhere inside the azure pipelines system) so that the task isn't required to reach out to nodejs.org each time it downloads the binary? My team regularly gets tar unexpected eof errors during this task, seemingly because of the flakiness of the node CDN. There's an open issue for github actions to do something similar.
actions/setup-node#77

@pedrolamas
Copy link

I'm currently seeing this recurrently on one of our builds while using the "ubuntu-16.04" image with the following:

task: NodeTool@0
inputs:
  versionSpec: '12.x'
displayName: 'Install Node.js 12.x'

It gets stuck on that step for 4 minutes and sometimes even times out...

@github-actions
Copy link

github-actions bot commented Oct 5, 2020

This issue is stale because it has been open for a year with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants