bahmni-core CI on Github and Gitlab


  1. Forked bahmni-core
  2. Github Actions Workflow
  3. Build time ~10min
  4. Pending - Actions workflow has hardcoded omod name to store on github which should be based on the bahmni-core version


  1. .gitlab-ci.yml looks like -

    image: maven:3.6.3-jdk-8
     job 0:  
     stage: build
        - apt update
        - apt install -y gcc make ruby2.5 ruby2.5-dev
        - gem update --system
        - gem install compass
        - mvn clean install -DskipTests=true
        - bahmnicore-omod/target/
  2. Build time ~12 min

1 Like

Thanks @ramashish. thats exactly our plan. Move the individual component build and release process to github (leveraging actions, releases etc). Bahmni CI/CD in future, will only do the packaging. We have started doing that in a smaller scale already. Few repositories are already being worked upon.

For assembling and packaging, our plan is to use github hooks as notifications to our CI/CD server.

In the meantime, I would encourage you to make such PRs for any repositories.