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

Blob: Add support for 1ES Build Cache, refactor auth #110

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dfederm
Copy link
Member

@dfederm dfederm commented Dec 16, 2024

This change adds support for 1ES Build Cache.

As auth was getting a bit too complicated, I refactored it a bit to be able to just use what is provided instead of requiring the auth type to explicitly be configured.

The TL;DR for 1ES Build Cache is:

  • If in the 1ES HP, the config file on disk should be used via $(MSBuildCacheBuildCacheConfigurationFile)
  • If on a developer machine, configure the cache to use via $(MSBuildCacheBuildCacheResourceId)

For existing scenarios which use the blob account directly, the only real change is you no longer need to set $(MSBuildCacheCredentialsType).

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.

1 participant