hoaproject / Infrastructure

Everything related to the infrastructure of Hoa.
http://hoa-project.net/
4 stars 2 forks source link

How to test this repository? #2

Open Hywan opened 8 years ago

Hywan commented 8 years ago

Fire!

I guess we are going to use Travis on this one. Any idea how?

jubianchi commented 8 years ago

good luck with building images on travis: builds have timeouts and you are likely to reach them while waiting for the box to get up and open SSH...

Hywan commented 8 years ago

@jubianchi: We can set the SSH timeout to 1000000s when building with Travis (packer build -var … Template.json). I don't think timeouts would be an issue… or maybe you did try?

jubianchi commented 8 years ago

@Hywan yes I tried this a while ago and reached timeouts. If the build does not produce output or the main process is idle for too long, the build gets cancelled by travis.

Hywan commented 8 years ago

@jubianchi Hmm damned…

Hywan commented 8 years ago

To test Shell scripts: https://github.com/sstephenson/bats. Thanks @jubianchi for the link!

Hywan commented 8 years ago

@jubianchi Do you think it would be possible on CircleCI?