ingadhoc / docker-odoo

Docker Odoo
6 stars 15 forks source link

Add tests #6

Open ivantodorovich opened 4 years ago

ivantodorovich commented 4 years ago

I write this down so we don't forget.

Apparently it's possible to use docker hub to run tests before pushing the image. It would be good to have tests that try to run the container and maybe have odoo initialize a demo database

https://docs.docker.com/docker-hub/builds/automated-testing/

Another alternative is using travis to run, build and push the image to dockerhub (in that case docker hub is just used for storage). That's what doodba is doing now, they changed it a while ago.

jjscarafia commented 4 years ago

Perfecto, estaría lindo, y ligado a esto:

  1. cron desde odoo que mande un "Build triggers"
  2. si todo fue bien, incluido los tests, que docker hub informe con un webhook y ponga la version en stable o latest En algún lugar había dejado nota de estas cosas pero ahora no las encuentro jeje

Ing. Juan José Scarafía(+54 9 341) 3 278039twitter: @jjscarafia https://twitter.com/jjscarafiagithub: @jjscarafia https://github.com/jjscarafia

On Fri, Mar 27, 2020 at 7:25 AM Iván Todorovich notifications@github.com wrote:

I write this down so we don't forget.

Apparently it's possible to use docker hub to run tests before pushing the image. It would be good to have tests that try to run the container and maybe have odoo initialize a demo database

https://docs.docker.com/docker-hub/builds/automated-testing/

Another alternative is using travis to run, build and push the image to dockerhub (in that case docker hub is just used for storage). That's what doodba is doing now, they changed it a while ago.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ingadhoc/docker-odoo/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXAPUBG7WEJ65I5YW3W573RJR5I7ANCNFSM4LU4WJUA .