[oi-dev] [HEADS UP] bass-o-matic now supports incremental builds

Adam Števko adam.stevko at gmail.com
Thu May 18 21:05:51 UTC 2017


Hello,

I just merged bass-o-matic rewrite and incremental build changes. The incremental mode can be activated in the following way:

export BASS_O_MATIC_MODE=incremental

With the following change I was able to get down Jenkins build time from 3h 50 minutes to 12 minutes. This is best used in Jenkins environment as incremental mode depends on tracking of last successfully build commits. Jenkins set GIT_PREVIOUS_SUCCESSFUL_COMMIT variable. if the variable is not found, bass-o-matic defaults to HEAD~1. The main motivation behind this change was to significantly speed up builds and integration process, so newly merged PR will be published in the repository in the matter of minutes, not hours.


This change is useful only for build machines or building PRs. In every day component development workflow, it won’t change much.

Cheers,
Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20170518/cf6637af/attachment-0004.bin>


More information about the oi-dev mailing list