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

feat(gcssource): add support for a GCS bucket source #179

Merged
merged 4 commits into from
Apr 20, 2023

Conversation

zachburg
Copy link
Contributor

Based on https://github.com/google/nsscache/blob/main/nss_cache/sources/s3source.py and https://github.com/google/nsscache/blob/main/nss_cache/sources/httpsource.py.

I can't tell exactly what the file format is for files saved in S3, but I want the gcssource to consume "raw" passwd/group/shadow files like how the HTTP source works.

The blobs in GCS are expected to be plain passwd, group, and shadow
files so the FilesMapParser can be used.
jaqx0r
jaqx0r previously approved these changes Apr 19, 2023
@jaqx0r jaqx0r enabled auto-merge April 19, 2023 23:36
@github-actions

This comment has been minimized.

The blobs in GCS are expected to be plain passwd, group, and shadow
files so the FilesMapParser can be used.
auto-merge was automatically disabled April 19, 2023 23:56

Head branch was pushed to by a user without write access

@zachburg zachburg requested a review from jaqx0r April 20, 2023 00:05
jaqx0r
jaqx0r previously approved these changes Apr 20, 2023
@jaqx0r
Copy link
Contributor

jaqx0r commented Apr 20, 2023

Can you please format to appease yapf

@jaqx0r jaqx0r merged commit 311a93a into google:main Apr 20, 2023
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Unit Test Results

    1 files      1 suites   2s ⏱️
303 tests 292 ✔️ 11 💤 0 ❌

Results for commit 311a93a.

@jaqx0r jaqx0r mentioned this pull request May 2, 2023
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