-
Notifications
You must be signed in to change notification settings - Fork 135
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
Fix GH asset otel validation #1876
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this script executed automatically as part of a CI/CD pipeline or other workflow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's part of CD pipeline and executed when distributing a new tag 👍
name = 'OpenTelemetryApi.xcframework' | ||
|
||
def validate(self, zip_directory: DirectoryMatcher, in_version: Version) -> bool: | ||
min_otel_version = Version('2.12.0') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this could be added at the top of the file with the other version requirements (though it's only used by this function for now)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This min version only applies to otel, so it can be contained in OpenTelemetryXCFrameworkValidator
. We can make it global when we need to share it 👍
What and why?
Validate
OpenTelemetryApi.xcframework
during distribution.Review checklist
Custom CI job configuration (optional)
tools/