Skip to content

A lightweight alternative to the official Travis Ruby CLI for encrypting env vars

Notifications You must be signed in to change notification settings

icasdri/travis-encrypt-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

travis-encrypt-cli

A lightweight alternative to the official Travis Ruby CLI (only does environmental variable encryption)

travis-encrypt.sh is just a basic (hopefully portable) shell script. Simply download and run it, making sure you have a POSIX sh (bash, ksh, tcsh, zsh, etc.), openssl, curl, and sed.

Examples:

# Outputs encrypted result to stdout
./travis-encrypt.sh username/repo MYVAR=supersecret

# Outputs (via redirect) encrypted result to a file
./travis-encrypt.sh username/repo MYVAR=supersecret > encrypted_secure.txt

About

A lightweight alternative to the official Travis Ruby CLI for encrypting env vars

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages