File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,21 @@ commands:
41
41
- abort_for_noci
42
42
- checkout
43
43
- run :
44
- name : install tox dependencies
44
+ name : install poetry
45
45
command : |
46
- pip install --user --quiet -r requirements.txt
46
+ pip install --user --quiet poetry
47
47
48
48
- run :
49
49
name : build
50
50
command : |
51
51
poetry build --format sdist
52
52
poetry build --format wheel
53
53
54
+ - save_cache :
55
+ paths :
56
+ - ./.tox
57
+ key : v1-dependencies-{{ checksum "pyproject.toml" }}
58
+
54
59
- run :
55
60
name : lint
56
61
command : |
@@ -86,7 +91,7 @@ commands:
86
91
bash <(curl -fsSL https://get.docker.com)
87
92
docker login -u redisfab -p $DOCKER_REDISFAB_PWD
88
93
docker build -t redisgraph:<<parameters.docker_version>> .
89
- docker pusH
94
+ docker push
90
95
91
96
jobs :
92
97
build :
@@ -100,7 +105,7 @@ jobs:
100
105
- build_and_test
101
106
102
107
# since this is used by cron, we by default build against latest
103
- build_and_edge :
108
+ build_and_publish :
104
109
parameters :
105
110
docker_version :
106
111
type : string
@@ -139,7 +144,6 @@ python-versions: &python-versions
139
144
- " latest"
140
145
141
146
workflows :
142
- version : 2
143
147
commit :
144
148
jobs :
145
149
- build :
@@ -152,4 +156,4 @@ workflows:
152
156
cron : " 0 0 * * *"
153
157
<< : *on-master
154
158
jobs :
155
- - build_and_edge
159
+ - build_and_publish
Original file line number Diff line number Diff line change @@ -13,5 +13,5 @@ FROM redislabs/redisgraph:edge as runner
13
13
RUN apt update && apt install -y python3 python3-pip
14
14
RUN rm -rf /var/cache/apt/
15
15
16
- COPY --from=builder /build/dist/redisgraph*.tar.gz /tmp
16
+ COPY --from=builder /build/dist/redisgraph*.tar.gz /tmp/
17
17
RUN pip3 install /tmp/redisgraph*.tar.gz
You can’t perform that action at this time.
0 commit comments