feat:[CI-22033]: map cache and build intelligence storage fields in v0… - #354
Open
satyakota04 wants to merge 1 commit into
Open
feat:[CI-22033]: map cache and build intelligence storage fields in v0…#354satyakota04 wants to merge 1 commit into
satyakota04 wants to merge 1 commit into
Conversation
… to v1 Keep cache paths as paths and convert connectorRef, runAsUser, and storage fields so converted YAML matches the v1 cache and build-intelligence schemas. Co-authored-by: Cursor <cursoragent@cursor.com>
peroxidemonke7
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pathsaspaths(no longer convert topath).TestConvertCaching,TestConvertBuildIntelligence).Cache (v0
caching→ v1cache)enabledenabledpathspathskeykeypolicypolicyoverrideoverrideconnectorRefconnectorregionregionbucket_namebucket_namecontainerNamecontainer_namestorageAccountstorage_accountrunAsUseruserresourcesresourcesConvertContainerResourcesBuild intelligence (v0
buildIntelligence→ v1build-intelligence)enabledenabledconnectorRefconnectorregionregionbucket_namebucket_namerunAsUseruserresourcesresourcesConvertContainerResourcesportmaven-urlcontainer_namestorage_accountFiles
convert/harness/yaml/pipeline.go— v0CacheandBuildIntelligencestructsconvert/v0tov1/yaml/cache.go— v1 cache schema (paths, storage fields,user)convert/v0tov1/yaml/build_intelligence.go— v1 build-intelligence schemaconvert/v0tov1/convert_helpers/convert_stage_ci.go—ConvertCaching/ConvertBuildIntelligenceconvert/v0tov1/convert_helpers/convert_stage_ci_test.go— unit tests