Add Gitlab CI-pipeline configuration for all platform versions using JDK11
In order to deprecate Jenkins (and Gerrit) a CI-pipeline definition is required.
After this is complete, platform commits for master shall be done directly into this GitLab repository, not in Gerrit. Gerrit platform repository will be turned read-only after this is done to avoid committing to the wrong place.
Switching existing repository remote from Gerrit to GitLab
Install git command lines tools.
Close any Eclipse instance your might have open that is using this repository. Eclipse might be keeping files open and cause these operations to fail.
Go to the root of your repository clone on the command line.
If $branch
is the local branch you want switch, execute the following commands:
git remote add -t $branch -m $branch gitlab git@gitlab.simantics.org:simantics/platform.git
git fetch gitlab -a
git branch -u remotes/gitlab/$branch
git config --unset gerrit.createchangeid
git remote remove origin
git remote rename gitlab origin
Related to #524 (closed) and members/simupedia#127.
A docker image build for use in this project's CI build was added to simantics/build-ci-images> for both JDK8 and JDK11.
Platform branches affected
The platform branches converted to use Gitlab for CI builds are currently:
- master
- release/1.45.0
- release/1.44.0
- release/1.43.0.1
Naturally any later branches created from any of these are also using Gitlab CI builds.