1 FROM opnfv/functest-core
4 ARG OPENSTACK_TAG=stable/ocata
5 ARG ODL_TAG=27b7911a5c2315145f2cf06726303dadfe508940
8 COPY thirdparty-requirements.txt thirdparty-requirements.txt
9 RUN apk --no-cache add --virtual .build-deps --update \
10 python-dev build-base linux-headers libffi-dev \
11 openssl-dev libjpeg-turbo-dev git && \
12 git clone --depth 1 https://github.com/openstack/refstack-client.git /src/refstack-client && \
13 update-requirements -s --source /src/openstack-requirements /src/refstack-client/ && \
14 pip install --no-cache-dir --src /src \
15 -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
16 -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
17 -e/src/refstack-client && \
18 pip install --no-cache-dir --src /src \
19 -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG \
20 -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
21 -rthirdparty-requirements.txt && \
22 git clone --depth 1 https://git.opendaylight.org/gerrit/p/integration/test.git /src/odl_test && \
23 (cd src/odl_test && git checkout -b $ODL_TAG) && \
24 git clone --depth 1 -b $FDS_TAG https://gerrit.opnfv.org/gerrit/fds /src/fds && \
25 ln -s /src/tempest /src/refstack-client/.tempest && \
26 virtualenv --system-site-packages /src/tempest/.venv && \
27 rm -r thirdparty-requirements.txt /src/refstack-client/.git /src/odl_test/.git \
30 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
31 CMD ["bash","-c","prepare_env start && run_tests -t all"]