3 ARG BRANCH=stable/hunter
4 ARG OPENSTACK_TAG=stable/rocky
6 RUN apk --no-cache add --update python py-pip bash git && \
7 apk --no-cache add --virtual .build-deps --update \
8 python-dev build-base && \
9 git init /src/functest-xtesting && \
10 (cd /src/functest-xtesting && \
11 git fetch --tags https://gerrit.opnfv.org/gerrit/functest-xtesting $BRANCH && \
12 git checkout FETCH_HEAD) && \
13 pip install --no-cache-dir --src /src \
14 -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \
15 -chttps://git.opnfv.org/functest-xtesting/plain/upper-constraints.txt?h=$BRANCH \
16 /src/functest-xtesting && \
17 rm -r /src/functest-xtesting && \
19 COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
20 CMD ["run_tests", "-t", "all"]