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

24990 & 24991 - Use Google buckets instead of SFTP #1867

Merged
merged 21 commits into from
Dec 24, 2024
Merged

Conversation

seeker25
Copy link
Collaborator

@seeker25 seeker25 commented Dec 19, 2024

Issue #:
bcgov/entity#24990
bcgov/entity#24991

Description of changes:
Fix broken unit tests too

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-pay license (Apache 2.0).

@seeker25 seeker25 changed the title Changes for 24990 Use Google buckets instead of SFTP Dec 19, 2024
@seeker25 seeker25 changed the title Use Google buckets instead of SFTP 24990 & 24991 - Use Google buckets instead of SFTP Dec 19, 2024
@seeker25 seeker25 marked this pull request as ready for review December 20, 2024 21:34
from google.cloud import storage


def upload_to_bucket(local_file_path: str, trg_file_path: str):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will move this to pay-api when the time is right and we get rid of Minio

@seeker25
Copy link
Collaborator Author

Need to add in some secrets before merging

@seeker25
Copy link
Collaborator Author

Added the secrets, just need to try this in TEST after merging

@seeker25 seeker25 merged commit 49e1c9b into bcgov:main Dec 24, 2024
8 checks passed
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.

2 participants