Skip to content

Commit

Permalink
Merge pull request #4377 from stephendonner/bug-1444272
Browse files Browse the repository at this point in the history
Bug 1444272 - Pin pipenv, and remove --deploy
  • Loading branch information
willkg committed Mar 10, 2018
2 parents 80507d8 + 799ae8c commit 064adbe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions e2e-tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.cache
*.pyc
Pipfile.lock
results/
9 changes: 6 additions & 3 deletions e2e-tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ RUN apt-get update \
&& apt-get install -y bzip2 curl firefox python2.7 \
&& rm -rf /var/lib/apt/lists/*

RUN curl -fsSL https://bootstrap.pypa.io/get-pip.py | python2.7 \
&& pip install pipenv
WORKDIR /src
COPY pipenv.txt /src

RUN curl -fsSL https://bootstrap.pypa.io/get-pip.py | python2.7
RUN pip install -r pipenv.txt

ENV FIREFOX_VERSION=58.0.1

Expand All @@ -34,7 +37,7 @@ RUN curl -fsSLo /tmp/geckodriver.tar.gz https://github.com/mozilla/geckodriver/r

WORKDIR /src
COPY requirements/requirements.txt /src
RUN pipenv install --system -r requirements.txt --skip-lock --deploy
RUN pipenv install --system -r requirements.txt --skip-lock

COPY . /src
CMD pytest --driver Firefox
1 change: 1 addition & 0 deletions e2e-tests/pipenv.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pipenv==10.1.2

0 comments on commit 064adbe

Please sign in to comment.