Key Points
-
Because SeMoX itself is build like any other SeMoX model project, this project structure serves as template for dependent model projects:
- Hence it is important that (almost) every project target status is achieved within the
${build.dir}
- During build:
- The source model file ends up in ``${build.dir}
/model/
- The source model file ends up in ``${build.dir}
The result is flexible, because dependent model projects can deviate from this structure at any point.
Local Build
- the local build is based on ant using the maven resolver
- it builds a distributable ready for deployment
Remote GitLab Pipeline CI/CD
- the GitLab Pipeline works in several modes
- On every push
- it calls ant for testing and building distributable
- it generates a web page just for testing if web page build works as such
- On commit with TAG starting with v and on master
- Creates a GitLab Generic Package
- Creates GitLab Release if a commit is tagged on master branch (TODO check if claim is correct)
- On every push