summaryrefslogtreecommitdiffstats
path: root/.gitmodules
AgeCommit message (Expand)AuthorFilesLines
2018-09-01[docker] Cleanup, minor fixes, formula bumpAlexandru Avadanii1-8/+0
2018-08-30[AArch64] salt.control.virt supportAlexandru Avadanii1-0/+4
2018-08-29[submodule] Cleanup: Retire scripts sub & patchesAlexandru Avadanii1-4/+0
2018-08-29[docker] Switch to containerized Salt MasterAlexandru Avadanii1-0/+16
2018-08-21[submodule] Add docker-salt-formulas, ci/build.shAlexandru Avadanii1-0/+4
2018-03-06[patch] Fixup ceilometer server publisher defaultAlexandru Avadanii1-1/+0
2017-09-27PDF parsing supportAlexandru Avadanii1-0/+4
2017-08-31mcp/deploy/scripts: Move to git submoduleAlexandru Avadanii1-0/+4
2017-08-01salt.sh: Drop upstream clone in favor of local gitAlexandru Avadanii1-1/+1
2017-05-29[mcp] Mend installation scriptsMichael Polenchuk1-60/+2
2017-05-26[mcp] Replace reclass system models with submoduleMichael Polenchuk1-0/+3
2016-11-29Turn on remote tracking of submodulesMichael Polenchuk1-1/+1
2016-11-15Uplift to Fuel 10.0/NewtonStefan K. Berg1-22/+12
2016-10-05build: Use git submodules for Fuel git reposAlexandru Avadanii1-0/+70
ghlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

FROM ubuntu:14.04

LABEL image=opnfv/yardstick

# GIT repo directory
ENV REPOS_DIR /home/opnfv/repos

# Yardstick repo
ENV YARDSTICK_REPO_DIR ${REPOS_DIR}/yardstick
ENV RELENG_REPO_DIR ${REPOS_DIR}/releng
RUN sed -i -e 's/^deb /deb [arch=amd64] /g' /etc/apt/sources.list
RUN sed -i -e 's/^deb-src /# deb-src /g' /etc/apt/sources.list
RUN echo "\n\
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty main universe multiverse restricted \n\
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main universe multiverse restricted \n\
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty-security main universe multiverse restricted \n\
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ trusty-proposed main universe multiverse restricted" >> /etc/apt/sources.list
RUN echo "vm.mmap_min_addr = 0" > /etc/sysctl.d/mmap_min_addr.conf
RUN dpkg --add-architecture arm64

RUN apt-get update && apt-get install -y \
    qemu-user-static \
    libc6:arm64 \
    wget \
    expect \
    curl \
    git \
    sshpass \
    qemu-utils \
    kpartx \
    libffi-dev \
    libssl-dev \
    python \
    python-dev \
    libxml2-dev \
    libxslt1-dev \
    python-setuptools && \
    easy_install -U setuptools

RUN apt-get -y autoremove && \
    apt-get clean

RUN mkdir -p ${REPOS_DIR}

RUN git config --global http.sslVerify false
RUN git clone https://gerrit.opnfv.org/gerrit/yardstick ${YARDSTICK_REPO_DIR}
RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}

# install yardstick + dependencies
RUN cd ${YARDSTICK_REPO_DIR} && easy_install -U pip
RUN cd ${YARDSTICK_REPO_DIR} && pip install -r tests/ci/requirements.txt
RUN cd ${YARDSTICK_REPO_DIR} && pip install .

ADD http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img /home/opnfv/images/
ADD http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img /home/opnfv/images/

COPY ./exec_tests.sh /usr/local/bin/