We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

Headless SailfishOS SDK for a continuous integration builds?

asked 2014-12-02 22:39:19 +0200

bluszcz gravatar image

updated 2014-12-03 21:02:00 +0200

Jare gravatar image

I would like to start automatized builds with Jenkins or an alternative. Does SailfishOS SDK provide some helper for it? What would be the easiest way to bootstrap full environment?

edit retag flag offensive close delete

Comments

To clarify - this an answer was not accepted but only voted. Please reopen it.

bluszcz ( 2014-12-03 19:38:01 +0200 )edit

done......

Stskeeps ( 2014-12-03 21:51:05 +0200 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2014-12-02 23:27:33 +0200

AFAIK, you can ssh into the 'build engine' VM

edit flag offensive delete publish link more

Comments

Thanks, just found it https://sailfishos.org/develop-faq.html - but first I need to bootstrap somehow the environment and run headless VM for building.

bluszcz ( 2014-12-03 00:19:32 +0200 )edit

The build engine has all the tools needed. In case of Jenkins, you can create a single job that 1) logs into the build engine via ssh 2) uses git to pull in your most recent changes 3) uses mb2 to build the project 4) uses rpmvalidator.sh to automatically validate the resulting rpm against the Harbour specs 5) stores the successfully built rpm file somewhere. What else are you looking for?

Jare ( 2014-12-03 21:12:29 +0200 )edit

Hi Jare, thanks for the comment. Regarding what I am looking for: "I need to bootstrap somehow the environment". All things which you wrote they happen after.

I was using SailfishOS sdk only with the Desktop machine - I haven't made any attempt yet to try to run / install it headless.

bluszcz ( 2014-12-03 22:47:29 +0200 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2014-12-02 22:39:19 +0200

Seen: 406 times

Last updated: Dec 03 '14