Created
January 5, 2018 01:03
-
-
Save mipmip/b25a2a3c0fcc0ea3e542daa502ed753b to your computer and use it in GitHub Desktop.
gitlab-ci.yml with blackbox for decrypting secrets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: "ruby:2.4" | |
simple_test: | |
script: | |
- apt-get update -qq && apt-get -yqq install gnupg2 | |
- git clone https://github.com/mipmip/blackbox | |
- cd blackbox | |
- make manual-install | |
- cd .. | |
- gpg -v --import <(echo "$GPG_PRIVATE_KEY") | |
- blackbox_listadmins | |
- blackbox_postdeploy | |
- ruby test.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment