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

Convert gcloud operations in storage client - 1 #1959

Merged
merged 33 commits into from
Jun 13, 2024

Conversation

Tulsishah
Copy link
Collaborator

@Tulsishah Tulsishah commented May 28, 2024

Description

Remove the gcloud commands for creating buckets and cleaning up directories, and replace them with storage client functions. This is because running gcloud commands in parallel sometimes leads to failures.

Link to the issue in case of a bug fix.

NA

Testing details

  1. Manual - NA
  2. Unit tests - NA
  3. Integration tests - Automated, Ran tests with mountedDirectory flag.

Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.89%. Comparing base (fabd295) to head (4e2601b).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1959      +/-   ##
==========================================
+ Coverage   73.65%   73.89%   +0.24%     
==========================================
  Files          97       97              
  Lines       10381    10486     +105     
==========================================
+ Hits         7646     7749     +103     
+ Misses       2398     2397       -1     
- Partials      337      340       +3     
Flag Coverage Δ
unittests 73.89% <ø> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Tulsishah Tulsishah added the execute-integration-tests Run only integration tests label May 30, 2024
@Tulsishah Tulsishah force-pushed the cleanup_gcs_dir_fun_in_storage_client branch 2 times, most recently from 241c09b to 8095f76 Compare May 31, 2024 09:21
@Tulsishah Tulsishah force-pushed the cleanup_gcs_dir_fun_in_storage_client branch from b33f0a5 to 07762e8 Compare June 10, 2024 08:19
@Tulsishah Tulsishah changed the title Convert gcloud operations in storage client Convert gcloud operations in storage client - 1 Jun 10, 2024
@Tulsishah Tulsishah marked this pull request as ready for review June 10, 2024 11:30
@Tulsishah Tulsishah requested a review from a team as a code owner June 10, 2024 11:30
Copy link
Collaborator

@ashmeenkaur ashmeenkaur left a comment

Choose a reason for hiding this comment

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

Did we run the tests with mountedDirectory flag too?

@Tulsishah
Copy link
Collaborator Author

Did we run the tests with mountedDirectory flag too?

Ran all the things are working fine.

@Tulsishah Tulsishah force-pushed the cleanup_gcs_dir_fun_in_storage_client branch from c5bb3d8 to 4a92970 Compare June 12, 2024 06:50
@Tulsishah Tulsishah merged commit fd0ffb3 into master Jun 13, 2024
12 checks passed
@ashmeenkaur ashmeenkaur deleted the cleanup_gcs_dir_fun_in_storage_client branch June 13, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants