Skip to content

Commit

Permalink
chore: adjust CI change detection file paths after file restructure (#…
Browse files Browse the repository at this point in the history
…1667)

* fix: adjust CI file paths after file restructure of resources

* remove mongodbatlas from file paths in change detection
  • Loading branch information
AgustinBettati authored Nov 27, 2023
1 parent 05be678 commit 53462a3
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 51 deletions.
84 changes: 41 additions & 43 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,28 +47,28 @@ jobs:
cluster_outage_simulation:
- 'mongodbatlas/**cluster_outage_simulation**.go'
advanced_cluster:
- 'mongodbatlas/**advanced_cluster**.go'
- 'internal/service/advancedcluster/*.go'
cluster:
- 'mongodbatlas/**mongodbatlas_cluster**.go'
- 'internal/service/cluster/*.go'
search_deployment:
- 'internal/service/searchdeployment/*.go'
generic:
- 'mongodbatlas/data_source_mongodbatlas_backup_compliance_policy*.go'
- 'mongodbatlas/resource_mongodbatlas_backup_compliance_policy*.go'
- 'mongodbatlas/resource_mongodbatlas_x509_authentication_database_user*.go'
- 'mongodbatlas/resource_mongodbatlas_auditing*.go'
- 'mongodbatlas/data_source_backup_compliance_policy*.go'
- 'mongodbatlas/resource_backup_compliance_policy*.go'
- 'mongodbatlas/resource_x509_authentication_database_user*.go'
- 'mongodbatlas/resource_auditing*.go'
backup_online_archive:
- 'mongodbatlas/**online_archive**.go'
backup_snapshots:
- 'mongodbatlas/**backup_snapshot**.go'
backup_schedule:
- 'mongodbatlas/**backup_schedule**.go'
project:
- 'mongodbatlas/data_source_mongodbatlas_project_invitation*.go'
- 'mongodbatlas/fw_data_source_mongodbatlas_project_ip_access_list*.go'
- 'mongodbatlas/resource_mongodbatlas_access_list_api_key*.go'
- 'mongodbatlas/resource_mongodbatlas_project_invitation*.go'
- 'mongodbatlas/fw_resource_mongodbatlas_project_ip_access_list*.go'
- 'internal/service/project/*.go'
- 'internal/service/projectipaccesslist/*.go'
- 'mongodbatlas/data_source_project_invitation*.go'
- 'mongodbatlas/resource_access_list_api_key*.go'
- 'mongodbatlas/resource_project_invitation*.go'
serverless:
- 'mongodbatlas/**_serverless**.go'
network:
Expand All @@ -78,40 +78,38 @@ jobs:
federation:
- 'mongodbatlas/**_federated_database_instance**.go'
config:
- 'mongodbatlas/data_source_mongodbatlas_accesslist_api_key*.go'
- 'mongodbatlas/fw_data_source_mongodbatlas_alert_configuration*.go'
- 'mongodbatlas/data_source_mongodbatlas_api_key*.go'
- 'mongodbatlas/data_source_mongodbatlas_cloud_provider_access_setup*.go'
- 'mongodbatlas/data_source_mongodbatlas_cloud_provider_access*.go'
- 'mongodbatlas/data_source_mongodbatlas_custom_db_role*.go'
- 'mongodbatlas/data_source_mongodbatlas_custom_dns_configuration_cluster_aws*.go'
- 'mongodbatlas/fw_data_source_mongodbatlas_database_user*.go'
- 'mongodbatlas/data_source_mongodbatlas_maintenance_window*.go'
- 'mongodbatlas/data_source_mongodbatlas_org_id*.go'
- 'mongodbatlas/data_source_mongodbatlas_org_invitation*.go'
- 'mongodbatlas/data_source_mongodbatlas_organization*.go'
- 'mongodbatlas/data_source_mongodbatlas_project_api_key*.go'
- 'mongodbatlas/data_source_mongodbatlas_team*.go'
- 'mongodbatlas/fw_data_source_mongodbatlas_atlas_user*.go'
- 'mongodbatlas/data_source_mongodbatlas_third_party_integration*.go'
- 'mongodbatlas/resource_mongodbatlas_api_key*.go'
- 'mongodbatlas/fw_resource_mongodbatlas_alert_configuration*.go'
- 'mongodbatlas/resource_mongodbatlas_cloud_provider_access_setup*.go'
- 'mongodbatlas/resource_mongodbatlas_cloud_provider_access*.go'
- 'mongodbatlas/resource_mongodbatlas_custom_db_role*.go'
- 'mongodbatlas/resource_mongodbatlas_custom_dns_configuration_cluster_aws*.go'
- 'mongodbatlas/fw_resource_mongodbatlas_database_user*.go'
- 'mongodbatlas/resource_mongodbatlas_maintenance_window*.go'
- 'mongodbatlas/resource_mongodbatlas_org_invitation*.go'
- 'mongodbatlas/resource_mongodbatlas_organization*.go'
- 'mongodbatlas/resource_mongodbatlas_project_api_key*.go'
- 'mongodbatlas/resource_mongodbatlas_team*.go'
- 'mongodbatlas/resource_mongodbatlas_third_party_integration*.go'
- 'internal/service/alertconfiguration/*.go'
- 'internal/service/atlasuser/*.go'
- 'internal/service/databaseuser/*.go'
- 'mongodbatlas/data_source_accesslist_api_key*.go'
- 'mongodbatlas/data_source_api_key*.go'
- 'mongodbatlas/data_source_cloud_provider_access_setup*.go'
- 'mongodbatlas/data_source_cloud_provider_access*.go'
- 'mongodbatlas/data_source_custom_db_role*.go'
- 'mongodbatlas/data_source_custom_dns_configuration_cluster_aws*.go'
- 'mongodbatlas/data_source_maintenance_window*.go'
- 'mongodbatlas/data_source_org_id*.go'
- 'mongodbatlas/data_source_org_invitation*.go'
- 'mongodbatlas/data_source_organization*.go'
- 'mongodbatlas/data_source_project_api_key*.go'
- 'mongodbatlas/data_source_team*.go'
- 'mongodbatlas/data_source_third_party_integration*.go'
- 'mongodbatlas/resource_api_key*.go'
- 'mongodbatlas/resource_cloud_provider_access_setup*.go'
- 'mongodbatlas/resource_cloud_provider_access*.go'
- 'mongodbatlas/resource_custom_db_role*.go'
- 'mongodbatlas/resource_custom_dns_configuration_cluster_aws*.go'
- 'mongodbatlas/resource_maintenance_window*.go'
- 'mongodbatlas/resource_org_invitation*.go'
- 'mongodbatlas/resource_organization*.go'
- 'mongodbatlas/resource_project_api_key*.go'
- 'mongodbatlas/resource_team*.go'
- 'mongodbatlas/resource_third_party_integration*.go'
event_trigger:
- 'mongodbatlas/resource_mongodbatlas_event_trigger*.go'
- 'mongodbatlas/data_source_mongodbatlas_event_trigger*.go'
- 'mongodbatlas/resource_event_trigger*.go'
- 'mongodbatlas/data_source_event_trigger*.go'
search_index:
- 'mongodbatlas/resource_mongodbatlas_search_index*.go'
- 'mongodbatlas/resource_search_index*.go'
cluster_outage_simulation:
needs: [ change-detection ]
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/migration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,16 @@ jobs:
with:
filters: |
project:
- 'mongodbatlas/fw_data_source_mongodbatlas_project_ip_access_list*.go'
- 'mongodbatlas/fw_resource_mongodbatlas_project_ip_access_list*.go'
- 'internal/service/project/*.go'
- 'internal/service/projectipaccesslist/*.go'
config:
- 'mongodbatlas/fw_data_source_mongodbatlas_alert_configuration*.go'
- 'mongodbatlas/fw_data_source_mongodbatlas_database_user*.go'
- 'mongodbatlas/fw_data_source_mongodbatlas_atlas_user*.go'
- 'mongodbatlas/fw_resource_mongodbatlas_alert_configuration*.go'
- 'mongodbatlas/fw_resource_mongodbatlas_database_user*.go'
- 'internal/service/alertconfiguration/*.go'
- 'internal/service/atlasuser/*.go'
- 'internal/service/databaseuser/*.go'
backup_online_archive:
- 'mongodbatlas/**online_archive**.go'
advanced_cluster:
- 'mongodbatlas/**advanced_cluster**.go'
- 'internal/service/advancedcluster/*.go'
project:
needs: [ change-detection ]
Expand Down

0 comments on commit 53462a3

Please sign in to comment.