Skip to content
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

[Internal] Automatically trigger integration tests on PR #800

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

hectorcast-db
Copy link
Contributor

Changes

Automatically trigger integration tests when a PR is opened or updated

Tests

Updated workflow triggered the tests. On success, the tests marked the check as succesfull.

  • make test passing
  • make fmt applied
  • relevant integration tests applied

Comment on lines 40 to 46
# The hash for the merge queue may not be the same as the hash for the PR.
# Auto approve the check for the merge queue for two reasons:
# * Queue times out due to duration of tests.
# * Avoid running integration tests twice.
auto-approve:
Copy link

@ilia-db ilia-db Oct 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we even need to trigger the workflow for the merge queues if we then auto-approve it? Can we add an explanation to the comment too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it. In short, the "required checks" are shared between PRs and Merge Queue.

@hectorcast-db hectorcast-db force-pushed the hectorcast-db/trigger-tests branch from c7a4981 to 5719e77 Compare October 23, 2024 16:15
@eng-dev-ecosystem-bot
Copy link
Collaborator

Test status: success
Commit SHA: 5719e77

@hectorcast-db hectorcast-db added this pull request to the merge queue Oct 24, 2024
Merged via the queue into main with commit a1bfd69 Oct 24, 2024
17 checks passed
@hectorcast-db hectorcast-db deleted the hectorcast-db/trigger-tests branch October 24, 2024 07:03
renaudhartert-db added a commit that referenced this pull request Nov 4, 2024
### Bug Fixes

 * Correctly generate classes with nested body fields ([#808](#808)).

### Internal Changes

 * Add `cleanrooms` package ([#806](#806)).
 * Add test instructions for external contributors ([#804](#804)).
 * Always write message for manual test execution ([#811](#811)).
 * Automatically trigger integration tests on PR ([#800](#800)).
 * Better isolate ML serving auth unit tests ([#803](#803)).
 * Move templates in the code generator ([#809](#809)).

### API Changes:

 * Added [w.aibi_dashboard_embedding_access_policy](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_access_policy.html) workspace-level service and [w.aibi_dashboard_embedding_approved_domains](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_approved_domains.html) workspace-level service.
 * Added [w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html) workspace-level service.
 * Added `app_deployment` field for `databricks.sdk.service.apps.CreateAppDeploymentRequest`.
 * Added `app` field for `databricks.sdk.service.apps.CreateAppRequest`.
 * Added `app` field for `databricks.sdk.service.apps.UpdateAppRequest`.
 * Added `table` field for `databricks.sdk.service.catalog.CreateOnlineTableRequest`.
 * Added `azure_aad` field for `databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`.
 * Added `full_name` field for `databricks.sdk.service.catalog.StorageCredentialInfo`.
 * Added `dashboard` field for `databricks.sdk.service.dashboards.CreateDashboardRequest`.
 * Added `schedule` field for `databricks.sdk.service.dashboards.CreateScheduleRequest`.
 * Added `subscription` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`.
 * Added `warehouse_id` field for `databricks.sdk.service.dashboards.Schedule`.
 * Added `dashboard` field for `databricks.sdk.service.dashboards.UpdateDashboardRequest`.
 * Added `schedule` field for `databricks.sdk.service.dashboards.UpdateScheduleRequest`.
 * Added `page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest`.
 * Added `next_page_token` field for `databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse`.
 * Added `connection_name` field for `databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition`.
 * Added `is_no_public_ip_enabled` field for `databricks.sdk.service.provisioning.CreateWorkspaceRequest`.
 * Added `external_customer_info` and `is_no_public_ip_enabled` fields for `databricks.sdk.service.provisioning.Workspace`.
 * Added `last_used_day` field for `databricks.sdk.service.settings.TokenInfo`.
 * Changed `create()` method for [w.apps](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/apps.html) workspace-level service with new required argument order.
 * Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service . New request type is `databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest` dataclass.
 * Changed `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service to type `execute_message_query()` method for [w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html) workspace-level service.
 * Changed `create()`, `create_schedule()`, `create_subscription()` and `update_schedule()` methods for [w.lakeview](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/lakeview.html) workspace-level service with new required argument order.
 * Removed [w.clean_rooms](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/clean_rooms.html) workspace-level service.
 * Removed `deployment_id`, `mode` and `source_code_path` fields for `databricks.sdk.service.apps.CreateAppDeploymentRequest`.
 * Removed `description`, `name` and `resources` fields for `databricks.sdk.service.apps.CreateAppRequest`.
 * Removed `description` and `resources` fields for `databricks.sdk.service.apps.UpdateAppRequest`.
 * Removed `name` and `spec` fields for `databricks.sdk.service.catalog.CreateOnlineTableRequest`.
 * Removed `display_name`, `parent_path`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.CreateDashboardRequest`.
 * Removed `cron_schedule`, `display_name` and `pause_status` fields for `databricks.sdk.service.dashboards.CreateScheduleRequest`.
 * Removed `subscriber` field for `databricks.sdk.service.dashboards.CreateSubscriptionRequest`.
 * Removed `display_name`, `etag`, `serialized_dashboard` and `warehouse_id` fields for `databricks.sdk.service.dashboards.UpdateDashboardRequest`.
 * Removed `cron_schedule`, `display_name`, `etag` and `pause_status` fields for `databricks.sdk.service.dashboards.UpdateScheduleRequest`.
 * Removed `prev_page_token` field for `databricks.sdk.service.jobs.Run`.

OpenAPI SHA: 5285ce76f81314f342c1702d5c2ad4ef42488781, Date: 2024-11-04
github-merge-queue bot pushed a commit that referenced this pull request Nov 5, 2024
### Bug Fixes

* Correctly generate classes with nested body fields
([#808](#808)).


### Internal Changes

* Add `cleanrooms` package
([#806](#806)).
* Add test instructions for external contributors
([#804](#804)).
* Always write message for manual test execution
([#811](#811)).
* Automatically trigger integration tests on PR
([#800](#800)).
* Better isolate ML serving auth unit tests
([#803](#803)).
* Move templates in the code generator
([#809](#809)).


### API Changes:

* Added
[w.aibi_dashboard_embedding_access_policy](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_access_policy.html)
workspace-level service and
[w.aibi_dashboard_embedding_approved_domains](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/aibi_dashboard_embedding_approved_domains.html)
workspace-level service.
* Added
[w.credentials](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials.html)
workspace-level service.
* Added `app_deployment` field for
`databricks.sdk.service.apps.CreateAppDeploymentRequest`.
 * Added `app` field for `databricks.sdk.service.apps.CreateAppRequest`.
 * Added `app` field for `databricks.sdk.service.apps.UpdateAppRequest`.
* Added `table` field for
`databricks.sdk.service.catalog.CreateOnlineTableRequest`.
* Added `azure_aad` field for
`databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse`.
* Added `full_name` field for
`databricks.sdk.service.catalog.StorageCredentialInfo`.
* Added `dashboard` field for
`databricks.sdk.service.dashboards.CreateDashboardRequest`.
* Added `schedule` field for
`databricks.sdk.service.dashboards.CreateScheduleRequest`.
* Added `subscription` field for
`databricks.sdk.service.dashboards.CreateSubscriptionRequest`.
* Added `warehouse_id` field for
`databricks.sdk.service.dashboards.Schedule`.
* Added `dashboard` field for
`databricks.sdk.service.dashboards.UpdateDashboardRequest`.
* Added `schedule` field for
`databricks.sdk.service.dashboards.UpdateScheduleRequest`.
* Added `page_token` field for
`databricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest`.
* Added `next_page_token` field for
`databricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse`.
* Added `connection_name` field for
`databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition`.
* Added `is_no_public_ip_enabled` field for
`databricks.sdk.service.provisioning.CreateWorkspaceRequest`.
* Added `external_customer_info` and `is_no_public_ip_enabled` fields
for `databricks.sdk.service.provisioning.Workspace`.
* Added `last_used_day` field for
`databricks.sdk.service.settings.TokenInfo`.
* Changed `create()` method for
[w.apps](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/apps.html)
workspace-level service with new required argument order.
* Changed `execute_message_query()` method for
[w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html)
workspace-level service . New request type is
`databricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest`
dataclass.
* Changed `execute_message_query()` method for
[w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html)
workspace-level service to type `execute_message_query()` method for
[w.genie](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/genie.html)
workspace-level service.
* Changed `create()`, `create_schedule()`, `create_subscription()` and
`update_schedule()` methods for
[w.lakeview](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/lakeview.html)
workspace-level service with new required argument order.
* Removed
[w.clean_rooms](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/clean_rooms.html)
workspace-level service.
* Removed `prev_page_token` field for `databricks.sdk.service.jobs.Run`.
* Removed `deployment_id`, `mode` and `source_code_path` fields for
`databricks.sdk.service.apps.CreateAppDeploymentRequest`.
* Removed `description`, `name` and `resources` fields for
`databricks.sdk.service.apps.CreateAppRequest`.
* Removed `description` and `resources` fields for
`databricks.sdk.service.apps.UpdateAppRequest`.
* Removed `name` and `spec` fields for
`databricks.sdk.service.catalog.CreateOnlineTableRequest`.
* Removed `display_name`, `parent_path`, `serialized_dashboard` and
`warehouse_id` fields for
`databricks.sdk.service.dashboards.CreateDashboardRequest`.
* Removed `cron_schedule`, `display_name` and `pause_status` fields for
`databricks.sdk.service.dashboards.CreateScheduleRequest`.
* Removed `subscriber` field for
`databricks.sdk.service.dashboards.CreateSubscriptionRequest`.
* Removed `display_name`, `etag`, `serialized_dashboard` and
`warehouse_id` fields for
`databricks.sdk.service.dashboards.UpdateDashboardRequest`.
* Removed `cron_schedule`, `display_name`, `etag` and `pause_status`
fields for `databricks.sdk.service.dashboards.UpdateScheduleRequest`.

OpenAPI SHA: 5285ce76f81314f342c1702d5c2ad4ef42488781, Date: 2024-11-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants