awitherow / coinbot-prototype

a coin trading assistant [deprecated]
http://awitherow.github.com/coinbot-prototype
7 stars 3 forks source link

use bitrise gitcrypt #62

Open awitherow opened 7 years ago

awitherow commented 7 years ago

currently bitrise tests are failing due to bitrise not having a gpg key to handle the database folder.

This needs to be added and I have a example I have seen

+    - script@1.1.4:
 +        title: Install Git-Crypt
 +        inputs:
 +        - content: |
 +            #!/bin/bash
 +            # fail if any commands fails
 +            set -e
 +
 +            git clone git@github.com:AGWA/git-crypt.git && cd git-crypt && make install
 +            apt-get install --yes gnupg2
 +        - working_dir: "$BITRISE_SOURCE_DIR/.."
 +    - script@1.1.4:
 +        title: Unlock with Git-Crypt
 +        inputs:
 +        - content: |-
 +            #!/bin/bash
 +            # fail if any commands fails
 +            set -e
 +
 +            echo "$GIT_CRYPT_KEY" | base64 -d > git-crypt.key
 +
 +            git crypt unlock git-crypt.key
 +        - is_debug: 'yes'
DanielMSchmidt commented 7 years ago

seperation of work and private code, right?

awitherow commented 7 years ago

@DanielMSchmidt thanks for pointing it out, fixed.