mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-04 04:38:35 +02:00
make run.sh executable from within e2e (#619)
This commit is contained in:
+6
-5
@@ -1,13 +1,11 @@
|
||||
FROM ubuntu:18.04
|
||||
LABEL maintainer="Team ACID @ Zalando <team-acid@zalando.de>"
|
||||
|
||||
WORKDIR /e2e
|
||||
|
||||
COPY manifests ./manifests
|
||||
COPY e2e/requirements.txt e2e/tests ./
|
||||
COPY requirements.txt tests ./
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -y \
|
||||
&& apt-get install --no-install-recommends -y \
|
||||
python3 \
|
||||
python3-setuptools \
|
||||
python3-pip \
|
||||
@@ -19,4 +17,7 @@ RUN apt-get update \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
CMD ["python3", "-m", "unittest", "discover", "--start-directory", ".", "-v"]
|
||||
ARG VERSION=dev
|
||||
RUN sed -i "s/__version__ = .*/__version__ = '${VERSION}'/" ./__init__.py
|
||||
|
||||
CMD ["python3", "-m", "unittest", "discover", "--start-directory", ".", "-v"]
|
||||
|
||||
Reference in New Issue
Block a user