Share via

When will the cache artifacts in default storage account sync with artifact repository?

Bingbing Fang 26 Reputation points Microsoft Employee
2021-04-09T02:40:22.943+00:00

Hi,

I know that the DevTest Lab's default storage account will cache the artifacts. I have two questions:

When a VM applied artifacts, will the VM get artifacts from cache blob storage or from the real repository directly?
What is the time frequency the cache artifacts will be synced? and how to sync on demand by force?

Thank you for you time to help answer the question!

Azure DevTest Labs
Azure DevTest Labs

An Azure service that is used for provisioning development and test environments.

0 comments No comments

Answer accepted by question author

bhargaviannadevara-msft 5,476 Reputation points Moderator
2021-04-12T18:17:11.283+00:00

@Bingbing Fang Thanks for reaching out.

When a VM applied artifacts, will the VM get artifacts from cache blob storage or from the real repository directly?

When DevTest Labs applies an artifact, it will read the artifact configuration and its files from the configured repositories. By default, DevTest Labs configures access to the public artifact repo. Depending on how a VM is configured, it may not have direct access to this repo. Therefore, by design, DevTest Labs caches the artifacts in a storage account that's created when the lab is first initialized.

What is the time frequency the cache artifacts will be synced? and how to sync on demand by force?

These caches will be re-created any time artifacts are applied. They'll be refreshed with the latest content from the respective referenced repositories.

Hope this helps. Do let us know if you have further questions.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.