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

Migration to @azure/storage-blob library with a fix #258

Merged

Conversation

aleksandrlevochkin
Copy link
Contributor

@aleksandrlevochkin aleksandrlevochkin commented Dec 6, 2023

Description

This migration was attempted in this PR previously: #223 but resulted in a couple of issues:

  • Concerns about @azure/storage-blob's support for older Node versions such as v10
  • Buggy behavior in AzureVmssDeployment@0 task (described in Incident 440618138) because parts of blob URLs were concatenated incorrectly

Then the migration was reverted in #256

Solution

  • Provided a polyfill for globalThis because it was missing in Node 10
  • I fixed occurences where extra parts were appended to blob URL

Testing

Tested the updated common package with the task JavaToolInstallerV0
Also tested how the blob URLs to custom scripts are created with AzureVmssDeploymentV0

@aleksandrlevochkin aleksandrlevochkin marked this pull request as ready for review December 6, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants