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

use bitrise gitcrypt #62

Open
awitherow opened this issue Jun 29, 2017 · 2 comments
Open

use bitrise gitcrypt #62

awitherow opened this issue Jun 29, 2017 · 2 comments

Comments

@awitherow
Copy link
Owner

awitherow commented Jun 29, 2017

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

+    - [email protected]:
 +        title: Install Git-Crypt
 +        inputs:
 +        - content: |
 +            #!/bin/bash
 +            # fail if any commands fails
 +            set -e
 +
 +            git clone [email protected]:AGWA/git-crypt.git && cd git-crypt && make install
 +            apt-get install --yes gnupg2
 +        - working_dir: "$BITRISE_SOURCE_DIR/.."
 +    - [email protected]:
 +        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
Copy link
Collaborator

seperation of work and private code, right?

@awitherow
Copy link
Owner Author

@DanielMSchmidt thanks for pointing it out, fixed.

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

No branches or pull requests

2 participants