Skip to content

Commit

Permalink
Merge pull request #4 from DenverM80/docker_print_git_rev
Browse files Browse the repository at this point in the history
Print the git rev hash before running tests in docker container; upda…
  • Loading branch information
GraciesPadre authored Apr 3, 2017
2 parents 79f9a82 + 2ef9a29 commit 53ef89c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docker/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,18 @@ echo DS3_ENDPOINT ${DS3_ENDPOINT}
echo DS3_SECRET_KEY ${DS3_SECRET_KEY}
echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY}

echo "cd /opt"
set -x

cd /opt

if [ ${GIT_BRANCH} != "master" ]; then
echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch
git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch
else
echo git clone ${GIT_REPO}
git clone ${GIT_REPO}
fi

echo "cd ds3_python_sdk"
cd ds3_python_sdk
get rev-parse HEAD
python setup.py install

cd tests
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from distutils.core import setup

setup(name='DS3 SDK',
version='3.2.0',
version='3.4.1',
description='Python SDK and CLI for Spectra S3',
author_email='developer@spectralogic.com',
packages=['ds3'])

0 comments on commit 53ef89c

Please sign in to comment.