Skip to content

Commit 9684252

Browse files
committed
Merge pull request #37 from Syncano/INFRA-260
[INFRA-260]: new syncano python lib release
2 parents 284492f + b407cad commit 9684252

6 files changed

Lines changed: 16 additions & 14 deletions

File tree

‎Dockerfile‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ RUN apt-get update && apt-get install -qqy \
2121
mkdir /home/syncano
2222

2323
WORKDIR /home/syncano/
24-
RUN virtualenv v4.1 && \
25-
. v4.1/bin/activate && \
26-
pip install -r /tmp/requirements_v41.txt && \
24+
RUN virtualenv v4.2 && \
25+
. v4.2/bin/activate && \
26+
pip install -r /tmp/requirements_v42.txt && \
2727
pip install -r /tmp/external_requirements.txt && \
2828
deactivate
2929

30-
RUN virtualenv v4.2 && \
31-
. v4.2/bin/activate && \
30+
RUN virtualenv v5.0 && \
31+
. v5.0/bin/activate && \
3232
pip install -r /tmp/requirements.txt && \
3333
pip install -r /tmp/external_requirements.txt
3434

35-
RUN ln -sf /home/syncano/v4.1/bin/python /usr/bin/python && \
36-
ln -sf /home/syncano/v4.2/bin/python /usr/bin/python27-42 && \
37-
ln -sf /home/syncano/v4.1/bin/python /usr/bin/python27-41
35+
RUN ln -sf /home/syncano/v4.2/bin/python /usr/bin/python && \
36+
ln -sf /home/syncano/v5.0/bin/python /usr/bin/python27-lib5.0 && \
37+
ln -sf /home/syncano/v4.2/bin/python /usr/bin/python27-lib4.2
3838
# create a special user to run code
3939
# user without root privileges greatly improves security
4040
RUN useradd syncano -d /tmp -s /bin/bash

‎circle.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ 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 python27-42 /tmp/test.py
12+
- docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib4.2 /tmp/test.py
13+
- docker run -it -v `pwd`/test.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib5.0 /tmp/test.py
1314
- 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 python27-42 /tmp/test.py
15+
- docker run -it -v `pwd`/test2.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib4.2 /tmp/test.py
16+
- docker run -it -v `pwd`/test3.py:/tmp/test.py quay.io/syncano/python-codebox python27-lib5.0 /tmp/test.py
1517

1618
deployment:
1719
production:

‎requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ fastly==0.0.2
2323
pandas==0.17.1
2424
BeautifulSoup==3.2.1
2525
boto3==1.2.5
26-
syncano==4.2.0
26+
syncano==5.0.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ fastly==0.0.2
2323
pandas==0.17.1
2424
BeautifulSoup==3.2.1
2525
boto3==1.2.5
26-
syncano==4.1.0
26+
syncano==4.2.0

‎test2.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
import syncano
2-
assert syncano.__version__ == '4.1.0'
2+
assert syncano.__version__ == '4.2.0'

‎test3.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
import syncano
2-
assert syncano.__version__ == '4.2.0'
2+
assert syncano.__version__ == '5.0.0'

0 commit comments

Comments
 (0)