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

Update cache pipeline to use AzureFileCopy task #8028

Merged
merged 5 commits into from
May 29, 2024
Merged

Conversation

MiYanni
Copy link
Member

@MiYanni MiYanni commented May 29, 2024

Summary

Instead of using the Azure CLI, this uses the AzureFileCopy@6 task to push the cache json files to Azure Blob storage. It was required to make a separate job to run the new task since the task is Windows-only and the creation of the json files uses Bash (Linux).

This task will upload the 3 json files to Azure Storage:

  • NuGetTemplateSearchInfoVer2.json
  • NuGetTemplateSearchInfo.json
  • nonTemplatePacks.json

I also deleted the script to install the Azure CLI since it isn't used anymore.

Successful Runs

@MiYanni MiYanni requested review from baronfel and a team May 29, 2024 21:34
@MiYanni MiYanni requested a review from a team as a code owner May 29, 2024 21:34
Copy link
Member

@baronfel baronfel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely change - big fan of the split between the creation of the artifacts and the publishing of the artifacts.

@MiYanni MiYanni merged commit 1b5e9d6 into main May 29, 2024
10 checks passed
@MiYanni MiYanni deleted the feature/CacheTaskUsage branch May 29, 2024 23:06
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.

2 participants