Build system

Yafra edited this page Feb 8, 2015 · 4 revisions

|Shippable | Travis-CI | Local | Db | |----------|-----------|-------|------|

In order to build the source code on a regular basis a continuous integration (CI) approach is available build by own scripts or standard CI web services.

The whole build process is depending on the standard yafra environment setup defined within the unix /etc/profile

The following sequence is used during build, deploy:

  • init - clean and create directory structure
  • db - create databases or update them
  • apps - compile apps
  • test - test compiled apps and check for errors
  • publish - move compiled runtimes into worknode directory - prepare for packaging
  • install - install apps out of worknode directoy

The following scripts are used:

  • full automatic builds ** {{{$SYSADM/shellscripts/auto-ghost-build.sh DBTYPE [reset]}}} - builds all apps so you can start debugging or use it as nightly build (reset means re clone git repo first and setup database) ** {{{$SYSADM/shellscripts/auto-distribution-build.sh DBTYPE [reset]}}} - builds a full distribution to be released (reset means re clone git repo first)
  • build components ** {{{$SYSADM/shellscripts/build-init.sh}}} - creates all needed working directories ** {{{$SYSADM/shellscripts/build-db.sh dev/rel DBTYPE [servername] [sapwd]}}} - sets the database and optionally installs the databases ** {{{$SYSADM/shellscripts/build-apps.sh}}} - compile sources, effective build ** {{{$SYSADM/shellscripts/build-test.sh}}} - run compiled executables and apps in order to test build ** {{{$SYSADM/shellscripts/build-publish.sh}}} - publish build into a distribution with install script
  • per project you will find some makefiles, ant build files or scripts in order to build individual projects
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.