Binary file as build secret (OD-1919)
Artur opened 2 years ago

For Android build we need a keystore binary file to supply to the build script. This file cannot be part of the code repository because it is like an ssh private key. As it is a binary file we cannot simply keep content of the file as build secret. What would be the best way to supply binary file like this to the build script?

  • Artur changed state to 'Closed' 2 years ago
    Previous Value Current Value
    Open
    Closed
  • Artur commented 2 years ago

    I was able to solve this problem. For any future reference, I encoded the content of the file using base64 command and then stored base64 encoded content as build secret. Then, from the build script I was able to access the secret and recreate the binary file by decoding base64 to the binary form.

issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-1919
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover