Skip to content

[SE-5008] refactor: move to GitLab

Boros Gábor requested to merge gabor/replace-circleci into master

Description

This MR moves github.com/open-craft/opencraft to GitLab and replaces CircleCI with GitLab CI.

During the migration of the pipeline, I found several issues and illogical code that are fixed for the GitLab CI pipelines. Although the pipeline is longer, it is lot more flexible and composable than before.

The GitLab CI pipeline is dropping CircleCI's Python base container usage which has browser support by default. Although this seems it bloats the code since we could use that given docker image, it turned out that the image (and our CirecleCI pipeline) is using Firefox 47 (!?!) which is baked into the CircleCI docker container instead of the installed Firefox version, which is Firefox 85. This is a huge difference, we actually tested for an ancient Firefox.

Regardless the fixes, the new pipeline introduces an important change: The front-end deployment can be done automatically and manually for staging and automatically for production. This is more like an improvement as we can deploy front-end changes to the staging env with one click. Even from an MR.

Testing instructions

Steps to test the changes:

  1. Proofread the code
  2. Check the GitLab CI pipeline config one code and visual level.
  3. Compare the pipeline with the CircleCI pipeline (though it has several semantic changes -- so it is optional)
Edited by Boros Gábor

Merge request reports