Closed muschellij2 closed 2 years ago
(Issue is just for tracking, solved via PR already)
Binary files (aka .rds files) can get corrupted in cr_buildstep_secret, as per https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#a_note_on_resource_consistency
Cloud SDK formats the output as UTF-8 which can corrupt binary secrets. To get the raw bytes, have Cloud SDK print the response as base64-encoded and decode.
This is fixed via: https://github.com/MarkEdmondson1234/googleCloudRunner/pull/122/files#diff-a32ecf0d4ec919fca224acfc5f20bb669e946d7fe0b9eafc3df70ce486a4c66fR696
(Issue is just for tracking, solved via PR already)
Binary files (aka .rds files) can get corrupted in cr_buildstep_secret, as per https://cloud.google.com/secret-manager/docs/creating-and-accessing-secrets#a_note_on_resource_consistency
This is fixed via: https://github.com/MarkEdmondson1234/googleCloudRunner/pull/122/files#diff-a32ecf0d4ec919fca224acfc5f20bb669e946d7fe0b9eafc3df70ce486a4c66fR696