[SE-4378] Fix GitlabCI builds: reformat code, fix the setup, fix any error

TODO: use template

Edited by Daniel Clemente Laboreo