Skip to content

Commit

Permalink
Revert "Merge pull request Yelp#2712 from Yelp/u/kawaiwan/fix-setupto…
Browse files Browse the repository at this point in the history
…ols"

This reverts commit 784b36f, reversing
changes made to 59e8fd5.
  • Loading branch information
kawaiwanyelp committed Mar 11, 2020
1 parent 784b36f commit ca8a7d4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ override_dh_auto_test:
true

override_dh_virtualenv:
dh_virtualenv -i $(PIP_INDEX_URL) --python=/usr/bin/python3.6 --preinstall no-manylinux1 --preinstall=-rrequirements-bootstrap.txt --pip-tool pip-custom-platform
dh_virtualenv -i $(PIP_INDEX_URL) --python=/usr/bin/python3.6 --preinstall no-manylinux1 --preinstall pip==18.1 --preinstall pip-custom-platform --pip-tool pip-custom-platform
5 changes: 0 additions & 5 deletions requirements-bootstrap.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ choice==0.1
click==6.6
cookiecutter==1.4.0
croniter==0.3.20
cryptography==2.3.1
decorator==4.1.2
docker-py==1.2.3
docutils==0.12
Expand Down
3 changes: 1 addition & 2 deletions yelp_package/dockerfiles/mesos-paasta/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ RUN mkdir -p /nail/etc
RUN ln -s /etc/mesos-slave-secret /nail/etc/mesos-slave-secret
RUN ln -s /etc/paasta/mesos-cli.json /nail/etc/mesos-cli.json

ADD requirements.txt requirements-dev.txt requirements-bootstrap.txt /paasta/
ADD requirements.txt requirements-dev.txt /paasta/
RUN pip install virtualenv==15.1.0
RUN virtualenv /venv -ppython3.6
ENV PATH=/venv/bin:$PATH
RUN pip install -r /paasta/requirements-bootstrap.txt
RUN pip install -r /paasta/requirements.txt

ADD ./yelp_package/dockerfiles/mesos-paasta/cron.d /etc/cron.d
Expand Down
3 changes: 1 addition & 2 deletions yelp_package/dockerfiles/playground/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ RUN mkdir -p /var/log/paasta_logs /var/run/sshd /nail/etc
RUN sed 's@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g' -i /etc/pam.d/sshd
RUN ln -s /etc/paasta/mesos-cli.json /nail/etc/mesos-cli.json

ADD requirements.txt requirements-dev.txt requirements-bootstrap.txt /paasta/
ADD requirements.txt requirements-dev.txt /paasta/
RUN virtualenv /venv -ppython3.6
ENV PATH=/venv/bin:$PATH
RUN pip install -r /paasta/requirements-bootstrap.txt
RUN pip install -r /paasta/requirements.txt

ADD ./yelp_package/dockerfiles/playground/start.sh /start.sh
Expand Down

0 comments on commit ca8a7d4

Please sign in to comment.