Skip to content

Commit e9d30ac

Browse files
committed
removing docker warnings
1 parent 383eba3 commit e9d30ac

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.circleci/config.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,21 @@ commands:
4141
- abort_for_noci
4242
- checkout
4343
- run:
44-
name: install tox dependencies
44+
name: install poetry
4545
command: |
46-
pip install --user --quiet -r requirements.txt
46+
pip install --user --quiet poetry
4747
4848
- run:
4949
name: build
5050
command: |
5151
poetry build --format sdist
5252
poetry build --format wheel
5353
54+
- save_cache:
55+
paths:
56+
- ./.tox
57+
key: v1-dependencies-{{ checksum "pyproject.toml" }}
58+
5459
- run:
5560
name: lint
5661
command: |
@@ -86,7 +91,7 @@ commands:
8691
bash <(curl -fsSL https://get.docker.com)
8792
docker login -u redisfab -p $DOCKER_REDISFAB_PWD
8893
docker build -t redisgraph:<<parameters.docker_version>> .
89-
docker pusH
94+
docker push
9095
9196
jobs:
9297
build:
@@ -100,7 +105,7 @@ jobs:
100105
- build_and_test
101106

102107
# since this is used by cron, we by default build against latest
103-
build_and_edge:
108+
build_and_publish:
104109
parameters:
105110
docker_version:
106111
type: string
@@ -139,7 +144,6 @@ python-versions: &python-versions
139144
- "latest"
140145

141146
workflows:
142-
version: 2
143147
commit:
144148
jobs:
145149
- build:
@@ -152,4 +156,4 @@ workflows:
152156
cron: "0 0 * * *"
153157
<<: *on-master
154158
jobs:
155-
- build_and_edge
159+
- build_and_publish

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ FROM redislabs/redisgraph:edge as runner
1313
RUN apt update && apt install -y python3 python3-pip
1414
RUN rm -rf /var/cache/apt/
1515

16-
COPY --from=builder /build/dist/redisgraph*.tar.gz /tmp
16+
COPY --from=builder /build/dist/redisgraph*.tar.gz /tmp/
1717
RUN pip3 install /tmp/redisgraph*.tar.gz

0 commit comments

Comments
 (0)