Last active
August 29, 2015 13:56
-
-
Save jmvrbanac/8812274 to your computer and use it in GitHub Desktop.
CloudCAFE Jenkins Script
This file contains 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
#!/bin/bash | |
set +x | |
# Setup all of the pyenvs | |
export PATH="$HOME/.pyenv/bin:$PATH" | |
export CONFIGURE_OPTS='--enable-shared' | |
eval "$(pyenv init -)" | |
pyenv shell 2.7.6 | |
pyenv virtualenvwrapper | |
pyenv rehash | |
# Clean up virtualenv | |
# rmvirtualenv cc_api_job | |
# Make virtualenv | |
mkvirtualenv cc_api_job | |
CONFIG="$VIRTUAL_ENV/.opencafe/configs/product_name/reference.config" | |
if [ -d $CONFIG ]; then | |
rm $CONFIG | |
fi | |
# Install CloudCAFE Components | |
pip install opencafe/ --upgrade | |
pip install cloudcafe/ --upgrade | |
pip install cloudroast/ --upgrade | |
cafe-config plugins install skip_on_issue | |
# Run Tests | |
cafe-runner ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment