Skip to content

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

Merged
David Federman (dfederm) merged 1 commit into
mainfrom
buildcache
Feb 25, 2025
Merged

David Federman (dfederm) merged 1 commit into
mainfrom
buildcache

Conversation

@dfederm

@dfederm David Federman (dfederm) commented Dec 16, 2024 •

Copy link
Copy Markdown
Member

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).

@dfederm
David Federman (dfederm) deleted the buildcache branch February 25, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants