Hey Dara,

this is very cool! We run our tests against a Sqlite Database in In-Memory mode. Thanks to Sequelize no changes are required (other than a different connection string). Our builds take somewhat longer though thanks to Webpack.


Regards,
Peter

Am 18.07.2018 um 10:56 schrieb Dara Hayes <dara.hayes@redhat.com>:

Hey folks,

Just quick email to show off a nice CI pipeline we have put in place in the data-sync-server repo using CircleCI. 

Thanks to Ali Ok we now have unit tests and integration tests against a Postgres database running in parallel. Once these jobs both pass, a docker build & push step is kicked off. This happens on every commit to master, and It also happens for releases.

<Screen Shot 2018-07-18 at 09.40.48.png>


In roughly 1.5 minutes we're running unit tests, integration tests against a real database and doing a docker build + pushes. This is a Node.js Project (think npm installs, etc). It may not interest everyone but I think this is mind blowing!

For anyone interested here's the very simple config file that makes it all happen: https://github.com/aerogear/data-sync-server/blob/master/.circleci/config.yml

Kind Regards,
--
Dara Hayes

Associate software engineer

TRIED. TESTED. TRUSTED.

_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev