Commit a1e8c109 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Add CI module, to collaborate with buildbot

parent 8f5d99ab
#!/usr/bin/env sh
BUILD_NUMBER=$1
BUILDBOT_BUILD_DIR=buildpkg_debian
shift
TEMP_DIR=$(mktemp -d /tmp/devflow_autopkg_XXXXXXX)
# Create the packages
devflow-autopkg snapshot -b $TEMP_DIR $@
# MOVE the packages
mkdir -p buildpkg_debian/$BUILD_NUMBER
mv -n $TEMP_DIR/* $BUILDBOT_BUILD_DIR/$BUILD_NUMBER/
echo "Moved packages to: $(pwd)/$BUILDBOT_BUILD_DIR/$BUILD_NUMBER"
PROJECTS="\
snf-common\
snf-webproject\
snf-astakos-app\
snf-cyclades-app\
snf-cyclades-gtools\
snf-pithos-app\
snf-pithos-backend\
snf-pithos-tools\
snf-quotaholder-app\
snf-tools"
#!/usr/bin/env sh
. ./ci/config
for project in $PROJECTS; do
cd $project
python setup.py develop
cd -
done
#!/usr/bin/env sh
. ./ci/config
for project in $PROJECTS; do
pep8 --exclude=migrations,build $project
done
#!/usr/bin/env sh
. ./ci/config
for project in $PROJECTS; do
pylint --ignore=migrations --ignore=build $project/synnefo
done
#!/usr/bin/env sh
snf-manage test api db logic plankton vmapi --settings=synnefo.settings.test
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment