google / nsscache

asynchronously synchronise local NSS databases with remote directory services
GNU General Public License v2.0
143 stars 56 forks source link

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

Closed zachburg closed 1 year ago

zachburg commented 1 year ago

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.

github-actions[bot] commented 1 year ago

Unit Test Results

    1 files      1 suites   2s :stopwatch: 303 tests 291 :heavy_check_mark: 11 :zzz: 1 :x:

For more details on these failures, see this check.

Results for commit 607b774a.

jaqx0r commented 1 year ago

Can you please format to appease yapf

github-actions[bot] commented 1 year ago

Unit Test Results

    1 files      1 suites   3s :stopwatch: 303 tests 292 :heavy_check_mark: 11 :zzz: 0 :x:

Results for commit 5c29ad4b.

github-actions[bot] commented 1 year ago

Unit Test Results

    1 files      1 suites   2s :stopwatch: 303 tests 292 :heavy_check_mark: 11 :zzz: 0 :x:

Results for commit 311a93a7.