diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..2acf19f42 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: python +python: 2.7 +install: +- pip install tox +script: +- tox diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..76117bbe6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM jayofdoom/docker-ubuntu-14.04 + +# The add is before the RUN to ensure we get the latest version of packages +# Docker will cache RUN commands, but because the SHA1 of the dir will be +# different it will not cache this layer +ADD . /tmp/teeth-agent + +# Install requirements: Python for teeth-agent, others for putting an image on disk +RUN apt-get update && apt-get -y install \ + python python-pip python-dev \ + qemu-utils parted util-linux genisoimage + +RUN pip install /tmp/teeth-agent + +ENTRYPOINT [ "/usr/local/bin/teeth-standby-agent" ] diff --git a/requirements.txt b/requirements.txt index 591011943..3ac744fbd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ Werkzeug==0.9.4 requests==2.0.0 cherrypy==3.2.4 --e git+git@github.com:racker/teeth-rest.git@c62ac56cd4273e54592768ad94bb72c7c5e92508#egg=teeth_rest +-e git+https://github.com/racker/teeth-rest.git@c62ac56cd4273e54592768ad94bb72c7c5e92508#egg=teeth_rest