Open
Conversation
7047995 to
f4408c0
Compare
f4408c0 to
4c67632
Compare
4c67632 to
43d5a27
Compare
Detect version field in RegDef files and validate against V2 schema when version is 2.0. Use logger for validation messages and move schema paths to constants.
- Add AuthConfig model for V2 authentication configuration - Add version and auth_config fields to Registry model - Add V2 routing in check_artifact_async with fallback to V1 - Add CloudAuthHelper for AWS/GCP cloud registry authentication - Add environment credential loading for V2 cloud registries - Add V2 cloud registry dependencies (boto3, google-auth) - Add comprehensive tests for V2 models and routing Preserves all V1 functionality including: - Nexus detection and URL conversion - Snapshot version resolution - URL-based artifact search
5ffc9b1 to
f556b46
Compare
0f21053 to
e2bc8bf
Compare
c4a4175 to
05467d1
Compare
- Simplified retry logic (2 retries, 5s fixed delay) - Reduced timeouts to reasonable values (60s search, 120s download) - Removed debug/diagnostic code - Removed unnecessary test files - Clean up code style
05467d1 to
186f166
Compare
Detect version field in RegDef files and validate against V2 schema when version is 2.0. Use logger for validation messages and move schema paths to constants.
… into registry-v2-artifact-searcher
…nto registry-v2-artifact-searcher
…facotry and Nexus as provider as its support for V2
…nto registry-v2-artifact-searcher
…nto registry-v2-artifact-searcher
0d7e82e to
6477573
Compare
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
Add support for Registry V2 cloud registries in the Python artifact searcher and fix
build_envtests so CI passes.Issue
Internal need to:
scripts/build_envtests due to a [tests] package conflict.Breaking Change?
No existing flows are changed; V2 support is used only when configured.
Scope / Project
python/artifact-searcherscripts/build_envImplementation Notes
Added
CloudAuthHelperinartifact_searcherto:authConfigentries from RegDef V2.env_creds.MavenArtifactSearcherfor:Updated
build_envRegDef V2 handling to:2.0.authConfigreferences in V2 config sections.Fixed
build_envtests by:from tests.test_helpers import TestHelpers.Tests / Evidence
Existing pytest suites for:
python/envgene/envgenehelperscripts/build_envrun in the GitHub Actions [tests] job.
After the changes, the previous
ModuleNotFoundErrorinscripts/build_envtests is resolved and the suite runs to completion (subject to any functional test failures).Additional Notes
artifact_searcheralready requires.