volentixlabsinc / venue-server

The backend services for Venue, a community engagement platform for the Volentix community
https://venue.volentix.io
MIT License
6 stars 0 forks source link

Fix and improve improve circleci #217

Closed alexdashkov closed 6 years ago

alexdashkov commented 6 years ago

TLDR:

CI:

CircleCI has 3 jobs: tests, build, deploy

build_and_test (executes for each branch):

It's a step that up a full environement and runs tests. Instead of docke venv is cached (3sec instead of 30)

build_image (executes only for the master):

Build a docker image using cache from the latest pushed container.

deploy(executes only for the master):

Deploy image from the previous step to the dev cluster 
shawnlauzon commented 6 years ago

@alexdashkov It seems to be stuck waiting ...

alexdashkov commented 6 years ago

@shawnlauzon I separated tests_and_build to the different jobs tests and build. So this job doesn't exist anymore. I suppose that the github config should be changed.

shawnlauzon commented 6 years ago

@alexdashkov I just changed the expectations, and it still doesn't work. I just see that tests runs twice and build not at all

shawnlauzon commented 6 years ago

Thanks for that information @alexdashkov