-
Notifications
You must be signed in to change notification settings - Fork 1.6k
{CI} Skip service name check for deploy-to-azure and include extension name in azdev linter/style logs #9350
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -204,8 +204,9 @@ def azdev_on_external_extension(index_json, azdev_type): | |
| # azdev test support external extension | ||
| # azdev_extension.style() | ||
|
|
||
| logger.info('Checking service name for external extensions') | ||
| service_name.check() | ||
| logger.info('Checking service name for external extensions: %s', name) | ||
| if name != 'deploy-to-azure': | ||
| service_name.check() | ||
|
Comment on lines
+208
to
+209
|
||
|
|
||
| az_extension.remove() | ||
|
|
||
|
|
@@ -245,7 +246,7 @@ def azdev_on_internal_extension(modified_files, azdev_type): | |
| logger.error(statement_msg) | ||
| exit(1) | ||
|
|
||
| logger.info('Checking service name for internal extensions') | ||
| logger.info('Checking service name for internal extensions: %s', name) | ||
| service_name.check() | ||
|
|
||
| azdev_extension.remove() | ||
|
|
||
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.
The conditional skip of service name check lacks an explanation of why 'deploy-to-azure' requires special handling. Add a comment explaining the reason for this exception to help future maintainers understand the decision.