Skip to content

Commit d191061

Browse files
committed
[INFRA-251]: corrected; moved new version to env
1 parent 5abc29b commit d191061

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎Dockerfile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ RUN apt-get update && apt-get install -qqy \
2121
pip install --upgrade pip && \
2222
pip install -r /tmp/requirements.txt && \
2323
pip install -r /tmp/external_requirements.txt && \
24-
pip install syncano==4.2.0
24+
pip install syncano==4.1.0
2525

2626
RUN mkdir /home/syncano && \
2727
cd /home/syncano/ && \
28-
virtualenv deprecated && \
29-
. new_syncano/bin/activate && \
28+
virtualenv new && \
29+
. new/bin/activate && \
3030
pip install -r /tmp/requirements.txt && \
3131
pip install -r /tmp/external_requirements.txt && \
32-
pip install syncano==4.1.0
32+
pip install syncano==4.2.0
3333

3434
# create a special user to run code
3535
# user without root privileges greatly improves security

‎circle.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ dependencies:
99
test:
1010
override:
1111
- docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
12-
- docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox /home/syncano/deprecated/bin/python /tmp/test.py
13-
- docker run -it -v `pwd`/test2.py:/tmp/test.py quay.io/syncano/python-codebox /home/syncano/deprecated/bin/python /tmp/test.py
14-
- docker run -it -v `pwd`/test3.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
12+
- docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox /home/syncano/new/bin/python /tmp/test.py
13+
- docker run -it -v `pwd`/test2.py:/tmp/test.py quay.io/syncano/python-codebox python /tmp/test.py
14+
- docker run -it -v `pwd`/test3.py:/tmp/test.py quay.io/syncano/python-codebox /home/syncano/new/bin/python /tmp/test.py
1515

1616
deployment:
1717
production:

0 commit comments

Comments
 (0)