Skip to content

use bitrise gitcrypt #62

Description

@awitherow

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions