Skip to content

Commit

Permalink
Merge pull request #128 from RedisGraph/dockerfix-deb
Browse files Browse the repository at this point in the history
docker test push
  • Loading branch information
gkorland authored May 23, 2021
2 parents 77ab577 + d04fd62 commit 63d3fe3
Showing 1 changed file with 2 additions and 30 deletions.
32 changes: 2 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,46 +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: |
bash <(curl -fsSL https://get.docker.com)
docker login -u redisfab -p $DOCKER_REDISFAB_PWD
docker build -t redisgraph:<<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 @@ -164,4 +136,4 @@ workflows:
cron: "0 0 * * *"
<<: *on-master
jobs:
- build_and_publish
- build

0 comments on commit 63d3fe3

Please sign in to comment.