moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
936 stars 295 forks source link

Continuous Integration #263

Open eljeffeg opened 5 years ago

eljeffeg commented 5 years ago

Would be nice to get continuous integration setup, like travis-ci. All the cool kids are doing it and it might simplify the setup process. Would also be nice to get the docker setup tested and included.

eljeffeg commented 5 years ago

@moloch-- I tested a successful Travis-CI build on my fork and added the files to this master https://github.com/moloch--/RootTheBox/commit/844562e63fd70b79ba7e12beb5f4f9ba4c67b6f9 It uses docker on travis, so it offers a dual purpose of having a working docker. I don't have the permissions to add this repo to Travis-CI though. Could you add it or grant me permission to add it? Thanks 👍

Was planning to get the docker files moved into setup, but couldn't quite get it working - trouble finding the /opt/rtb/setup/depends.sh. Maybe something to look at later.

moloch-- commented 5 years ago

Docker is probably a good idea; you'd probably want to move the commands in the depends.sh into the dockerfile itself to take advantage of the layer cacheing.

eljeffeg commented 4 years ago

Commands were added to the docker file - should be all set. Though we do have a unit-test bug, I'm not sure Travis actually runs the unit tests.