summaryrefslogtreecommitdiffstats
path: root/docker/parser/Dockerfile
blob: bbc0a0760ef8ddc1183b870ecd385ffc23cb3e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM opnfv/functest-core

ARG BRANCH=master
ARG OPENSTACK_TAG=stable/pike
ARG RALLY_TAG=stable/0.10
ARG OS_FAULTS_TAG=0.1.16

COPY thirdparty-requirements.txt thirdparty-requirements.txt
RUN apk --no-cache add --virtual .build-deps --update \
        python-dev build-base linux-headers libffi-dev \
        openssl-dev libjpeg-turbo-dev && \
    wget -q -O- https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=$OPENSTACK_TAG | \
        sed -E s/^tempest==+\(.*\)$/-e\ git+https:\\/\\/github.com\\/openstack\\/tempest@\\1#egg=tempest/ \
        > upper-constraints.txt && \
    pip install --no-cache-dir --src /src -cupper-constraints.txt \
        -chttps://git.opnfv.org/functest/plain/upper-constraints.txt?h=$BRANCH \
        -rthirdparty-requirements.txt && \
    rm upper-constraints.txt thirdparty-requirements.txt && \
    apk del .build-deps
COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml
CMD ["run_tests", "-t", "all"]
IT_ROOT}/build/f_repos/patch F_OPNFV_TAG := ${FUEL_MAIN_TAG}-opnfv # fuel-main repo location used by main Makefile ISO building, use submodule FUEL_MAIN_REPO := ${F_SUBMOD_DIR}/fuel-main # Settings for Fuel 10 BEGIN # # Currently it seems impossible to build Fuel 10 from upstream without # hard coding specific repositories. The Fuel Ubuntu mirror seems to not # have been fully populated. export MIRROR_UBUNTU?=cz.archive.ubuntu.com export MIRROR_UBUNTU_ROOT?=/ubuntu/ export MIRROR_MOS_UBUNTU?=mirror.seed-cz1.fuel-infra.org export MIRROR_MOS_UBUNTU_ROOT?=/mos-repos/xenial//snapshots/master-2016-10-10-100022 export MIRROR_CENTOS?=http://mirror.seed-cz1.fuel-infra.org/pkgs/snapshots/centos-7.2.1511-2016-08-07-170016 export MIRROR_FUEL?=http://mirror.seed-cz1.fuel-infra.org//mos-repos/centos/mos-master-centos7//snapshots/os-2016-10-18-120021/x86_64 export MIRROR_MOS_UBUNTU_SUITE?=mos-master # Settings for Fuel 10 END export FUELLIB_REPO?=${F_SUBMOD_DIR}/fuel-library export NAILGUN_REPO?=${F_SUBMOD_DIR}/fuel-web export PYTHON_FUELCLIENT_REPO?=${F_SUBMOD_DIR}/python-fuelclient export FUEL_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-agent export FUEL_NAILGUN_AGENT_REPO?=${F_SUBMOD_DIR}/fuel-nailgun-agent export ASTUTE_REPO?=${F_SUBMOD_DIR}/fuel-astute export OSTF_REPO?=${F_SUBMOD_DIR}/fuel-ostf export FUELMENU_REPO?=${F_SUBMOD_DIR}/fuel-menu export SHOTGUN_REPO?=${F_SUBMOD_DIR}/shotgun export NETWORKCHECKER_REPO?=${F_SUBMOD_DIR}/network-checker export FUEL_UI_REPO?=${F_SUBMOD_DIR}/fuel-ui # OPNFV tags are automatically applied by `make -C f_repos patches-import` export FUELLIB_COMMIT?=${F_OPNFV_TAG} export NAILGUN_COMMIT?=${F_OPNFV_TAG} export PYTHON_FUELCLIENT_COMMIT?=${F_OPNFV_TAG} export FUEL_AGENT_COMMIT?=${F_OPNFV_TAG} export FUEL_NAILGUN_AGENT_COMMIT?=${F_OPNFV_TAG} export ASTUTE_COMMIT?=${F_OPNFV_TAG} export OSTF_COMMIT?=${F_OPNFV_TAG} export FUEL_MIRROR_COMMIT?=${F_OPNFV_TAG} export FUELMENU_COMMIT?=${F_OPNFV_TAG} export SHOTGUN_COMMIT?=${F_OPNFV_TAG} export NETWORKCHECKER_COMMIT?=${F_OPNFV_TAG} export FUELUPGRADE_COMMIT?=${F_OPNFV_TAG} export FUEL_UI_COMMIT?=${F_OPNFV_TAG} # for the patches applying purposes (empty git config in docker build container) export GIT_COMMITTER_NAME?=Fuel OPNFV export GIT_COMMITTER_EMAIL?=fuel@opnfv.org DOCKER_REPO := http://get.docker.com/builds/Linux/x86_64 DOCKER_TAG := docker-latest