This repository was archived by the owner on Jul 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-92
lines changed
Expand file tree Collapse file tree 6 files changed +9
-92
lines changed Original file line number Diff line number Diff line change 3636 tornado : " >=5,<6"
3737 - python : " 3.7"
3838 tornado : " >=6"
39- name : ci -tests (py ${{ matrix.version.python }} tornado ${{ matrix.version.tornado }})
39+ name : unit -tests (py ${{ matrix.version.python }} tornado ${{ matrix.version.tornado }})
4040 steps :
4141 - uses : actions/checkout@v2
4242 with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,25 +3,17 @@ FROM python:2.7
33ARG tornado
44ENV APPDIR /usr/src/app/
55ENV TORNADO=$tornado
6- RUN mkdir -p ${APPDIR}
76WORKDIR ${APPDIR}
87
98# Application installation
10- COPY requirements-dev.txt ${APPDIR}
11- COPY requirements-tests.txt ${APPDIR}
12- COPY requirements.txt ${APPDIR}
13-
14- COPY setup.py ${APPDIR}
15- COPY setup.cfg ${APPDIR}
9+ COPY requirements-dev.txt requirements-tests.txt requirements.txt setup.py setup.cfg ${APPDIR}
1610COPY jaeger_client ${APPDIR}/jaeger_client/
1711COPY idl ${APPDIR}/idl/
1812
1913# RUN pip install -U 'pip>=7,<8'
20- RUN pip install --no-cache-dir -r requirements-dev.txt
21- RUN pip install --no-cache-dir -r requirements-tests.txt
22- RUN pip install --no-cache-dir -r requirements.txt
23- RUN python setup.py install
24- RUN pip install --no-cache-dir "tornado${TORNADO}"
14+ RUN pip install --no-cache-dir -r requirements-dev.txt -r requirements-tests.txt -r requirements.txt && \
15+ python setup.py install && \
16+ pip install --no-cache-dir "tornado${TORNADO}"
2517
2618COPY crossdock ${APPDIR}/crossdock/
2719COPY crossdock/setup_crossdock.py ${APPDIR}
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ services:
5757 - " 8080-8082"
5858
5959 python :
60+ image : jaegertracing/xdock-py
6061 build :
6162 context : ../.
6263 args :
Original file line number Diff line number Diff line change 2121 exit 0
2222fi
2323
24- docker build -f crossdock/Dockerfile \
25- --build-arg tornado=$TORNADO \
26- --tag $REPO :$COMMIT .
27-
24+ # This image is already built in "make crossdock" step
25+ # not specifying a tag means "latest" tag implicitly
26+ docker tag $REPO $REPO :$COMMIT
2827docker tag $REPO :$COMMIT $REPO :$TAG
29- docker tag $REPO :$COMMIT $REPO :gh-$GITHUB_RUN_NUMBER
3028docker push $REPO
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments