forked from TrueCloudLab/frostfs-testcases
Update docker image for test execution.
This commit is contained in:
parent
31eab0ffcc
commit
5a7f85ca76
2 changed files with 7 additions and 5 deletions
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ OUTPUT_DIR = artifacts/
|
||||||
KEYWORDS_REPO = git@github.com:nspcc-dev/neofs-keywords.git
|
KEYWORDS_REPO = git@github.com:nspcc-dev/neofs-keywords.git
|
||||||
VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a)
|
VENVS = $(shell ls -1d venv/*/ | sort -u | xargs basename -a)
|
||||||
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
DEV_IMAGE_PY ?= registry.spb.yadro.com/tools/pytest-neofs-x86_64:6
|
DEV_IMAGE_PY ?= registry.spb.yadro.com/tools/pytest-neofs-x86_64:7
|
||||||
SETUP_DIR ?= $(CURDIR)/.setup
|
SETUP_DIR ?= $(CURDIR)/.setup
|
||||||
DEV_ENV_DEPLOY_DIR ?= /opt/dev-env
|
DEV_ENV_DEPLOY_DIR ?= /opt/dev-env
|
||||||
|
|
||||||
|
|
|
@ -23,17 +23,19 @@ RUN apt-get -y update && apt-get -y install \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
COPY requirements.txt ./
|
|
||||||
|
|
||||||
# install aws cli utility v2 from pip
|
# install aws cli utility v2 from pip
|
||||||
RUN python3 -m pip install awscliv2
|
RUN python3 -m pip install awscliv2
|
||||||
RUN ln /usr/local/bin/awscliv2 /usr/bin/aws
|
RUN ln /usr/local/bin/awscliv2 /usr/bin/aws
|
||||||
RUN awsv2 --install
|
RUN awsv2 --install
|
||||||
RUN aws --version
|
RUN aws --version
|
||||||
|
|
||||||
|
COPY neofs-keywords/requirements.txt ./
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
ENV PATH=$PATH:/root:/neofs
|
COPY pytest_tests/requirements.txt ./
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
ENV PATH=$PATH:/root:/neofs
|
||||||
|
|
||||||
WORKDIR /root
|
WORKDIR /root
|
||||||
COPY id_rsa /root/.ssh/id_rsa
|
COPY id_rsa /root/.ssh/id_rsa
|
||||||
|
|
Loading…
Reference in a new issue