Skip to content

Commit

Permalink
docker removal
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim committed May 23, 2021
1 parent 0077519 commit d04fd62
Showing 1 changed file with 2 additions and 29 deletions.
31 changes: 2 additions & 29 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,45 +85,18 @@ commands:
codecov --file .tox/cover/report/coverage.xml --name ${CODECOV_NAME}-unittests
codecov --file .tox/func/report/coverage.xml --name ${CODECOV_NAME}-functional
docker:
parameters:
docker_version:
type: string
default: "edge"
steps:
- setup_remote_docker
- run:
name: dockers
description: Build and release docker
command: |
docker login -u redisfab -p $DOCKER_REDISFAB_PWD
docker build -t redisgraph-py:<<parameters.docker_version>> .
docker push
jobs:
build:
parameters:
python_version:
type: string
default: "latest"
docker:
- image: circleci/python:<<parameters.python_version>>
- image: redislabs/redisgraph:edge
steps:
- build_and_test

# since this is used by cron, we by default build against latest
build_and_publish:
parameters:
docker_version:
type: string
default: "edge"
docker:
- image: circleci/python:latest
- image: redislabs/redisgraph:edge

steps:
- build_and_test
- docker

on-any-branch: &on-any-branch
filters:
Expand Down Expand Up @@ -163,4 +136,4 @@ workflows:
cron: "0 0 * * *"
<<: *on-master
jobs:
- build_and_publish
- build

0 comments on commit d04fd62

Please sign in to comment.