Previously there are a lot of warning messages of setuptools in the log
files of tox jobs. This is mainly caused by test samples because these
are in python codes directories.
This patch moves test samples from under
{heat-translator_root}/translator/tests to under
{heat-translator_root}/samples/tests.
This patch also contains the following changes:
- Remove "skipsdist = True" from tox.ini
- Fixed usage.rst command example
Change-Id: Ibde711a4778e238076de328641da7b0edd1d4f4b
Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Co-Authored-By: Yoshiro Watanabe <fj3838ct@fujitsu.com>
19 lines
521 B
Plaintext
19 lines
521 B
Plaintext
# Sample Dockerfile that can be use to build heat-translator docker container
|
|
FROM ubuntu
|
|
|
|
MAINTAINER Heat Translator contributors
|
|
|
|
RUN apt-get -y update && apt-get install -y \
|
|
python-pip
|
|
|
|
RUN pip install heat-translator
|
|
|
|
COPY heat_translator_logging.conf /usr/local/lib/python2.7/dist-packages/translator/conf/
|
|
|
|
# Have some test TOSCA templates in my_tosca directory to copy to the container as an example.
|
|
# This is an optional step and can be removed.
|
|
COPY my_tosca /tmp/my_tosca
|
|
|
|
ENTRYPOINT ["heat-translator"]
|
|
|