[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 258: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 320: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4433: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3315)
rusefi.com • [info] continuous integration
Page 1 of 1

continuous integration

Posted: Sat Nov 30, 2013 11:49 pm
by AndreyB
Current status: Jetkins is alive at http://crapcan-am.com:8080/

As ridiculous as this might sound, I think we need continuous integration - especially since we kinda have some unit tests (more on unit test in a separate thread)

What are our options? Since we are compiling for ARM does that mean we need a dedicated server somewhere to run our unusual GCC? Does anyone have a dedicated server? Does anyone have the time to setup continues integration?

One of the most mature free tools would be http://en.wikipedia.org/wiki/Jenkins_%28software%29

So the idea of this would be that each SVN commit triggers the invocation of 'make' for both 'firmware' and 'win32_algo_tests' (no the best name, they compile fine under linux) and ideally even execution of the 'tests' binary

The result of these actions is published on the web - either everything worked fine and we have 'green' status or something does not compile or does not pass tests and this puts us into the red zone.

Re: continuous integration

Posted: Sat Dec 28, 2013 1:44 pm
by AndreyB
One of the most mature free tools would be http://en.wikipedia.org/wiki/Jenkins_%28software%29

So the idea of this would be that each SVN commit triggers the invocation of 'make' for both 'firmware' and 'win32_algo_tests' (no the best name, they compile fine under linux) and ideally even execution of the 'tests' binary

The result of these actions is published on the web - either everything worked fine and we have 'green' status or something does not compile or does not pass tests and this puts us into the red zone.

Re: continuous integration

Posted: Mon Dec 30, 2013 6:14 am
by shredator
So I installed Jenkins... located here: http://crapcan-am.com:8080
Looks like those interested will have to sign up, and then I can elevate privileges once you create a user for yourself.
looks like some shell scripts are needed to make jenkins execute 'make' and then execute the test program like Russian states above.
So I'll need to learn how to write these scripts (i'm just a unix geek in my spare time). If someone actually knows what they're doing when it comes to script-writing or jenkins setup, feel free to step in, otherwise, just bear with me as i ride this learning curve :)

Re: continuous integration

Posted: Tue Dec 31, 2013 10:51 pm
by shredator
Russian should have admin privleges now...
I havent had time to get make working though :? I'll try to do some reading tonight.

Re: continuous integration

Posted: Sat Jan 04, 2014 1:57 am
by AndreyB
Hooray! We have a functioning continues integration located at http://crapcan-am.com:8080/

At this page we would have the official status of the current SVN source code version - does it compiles & does it pass out tests.

Re: continuous integration

Posted: Sat Jan 04, 2014 2:46 am
by AndreyB
TODO: fix email notifications

I have added email notification as a post-build action but it did not do the trick right away :( Will check SMTP settings tomorrow :)

Re: continuous integration

Posted: Sat Jan 04, 2014 6:49 pm
by shredator
I think that jenkins is configured correctly, but my email server is denying it access. I'll try to resolve soon.
Edit: All fixed, email should work now

Re: continuous integration

Posted: Sun Jan 05, 2014 2:08 am
by AndreyB
Emails work!

I have added a redirect from http://jenkins.rusefi.com

Re: continuous integration

Posted: Wed Apr 12, 2017 10:02 pm
by AndreyB
Jenkins has since moved to a little desktop at my place without public access, but results are now published on github (not that anyone should care)

https://github.com/rusefi/rusefi/commits/master

thank you @