Skip to content

Commit

Permalink
ci: support volume and custom branch
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Oct 28, 2015
1 parent cc488ec commit e0d4425
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docker/ci/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ set -e
mkdir /tmp/ceph
bash /src/micro-osd.sh /tmp/ceph

BRANCH=${branch:-master}

apt-get install -y libprotobuf-dev protobuf-compiler

# install zlog. this is done in the entry point so it will
# pull the latest zlog source each time the container is run
cd /src
apt-get install -y libprotobuf-dev protobuf-compiler
git clone https://github.com/noahdesu/zlog.git

if [ ! -d /src/zlog/.git ]; then
git clone --branch=$BRANCH https://github.com/noahdesu/zlog.git
fi

cd zlog
git status

autoreconf -ivf
./configure
make
Expand Down

0 comments on commit e0d4425

Please sign in to comment.