HiveMinds / Productivity-phone

Automatically installs (mainly) opensource system on phone that optimizes user productivity.
GNU Affero General Public License v3.0
2 stars 1 forks source link

Set up continuous integration (CI) for testing the code base. #31

Closed a-t-0 closed 3 years ago

a-t-0 commented 3 years ago
mohitsaxenaknoldus commented 3 years ago

I think I can do this one as well. Also, after this, I can also write a Dockerfile for this.

a-t-0 commented 3 years ago

Thank you for picking up these tasks! Ideally, the CI would be the https://github.com/TruCol/setup_your_own_GitLab_CI implementation. So I think it would be ideal if you could ensure that works when:

However, that is a non-trivial task as the code and the status monitoring function is still a bit complicated. So:

mohitsaxenaknoldus commented 3 years ago

PR: https://github.com/HiveMinds-EU/Productivity-phone/pull/37

a-t-0 commented 3 years ago

Awesome! I have a functional integration test on the GitLab server and GitLab runner CI, which verifies that the CI correctly verifies the build status of a commit in a repository of the deployed GitLab server. It is over here.

Today, I will ensure this functionality also works for the install_gitlab.sh file, and do some general clean-up. After that, I intend to set up the mirrors to that GitLab such that I can get the green CI badges on these repos.