GitLab
Organization in GitLab.
Tike’s official version control service, suitable for both internal and shared projects. It is recommended for software projects and scripts that require restricted repositories.
- Note: The current policy recommends sharing the source code in a public and open GitHub repository.
- GitLab should be used if restricted repositories or GitLab’s CI/CD and other features are needed.
There is no limit to the number of projects per user.
Authentication
- Log in primarily with UH’s AD credentials
- If a consultant does not have a helsinki.fi email address (= most common case), but instead has an email with an external domain (e.g., gofore.com, visma.com, druid.fi…), that domain must be specifically allowed.
- Contact administration (atk-verkkopalvelut@helsinki.fi) and request that the domain be added to the allowed domains if it is not already included.
- This applies even if the consultant has a UH AD account! GitLab always checks the email domain during login, regardless of the method of logging in.
- If the consultant is, for example, a former UH student, they typically have a UH email in their details already, allowing them to log in… this can cause confusion if one consultant can log in directly and another cannot.
- External accounts (xyz@foo.com) can also be registered, but their domains need to be specifically allowed, see above.
- Only in special cases with a locally created account on the GitLab instance.
- The use of two-factor authentication (2FA) is highly recommended.
Things to Note
- When pushing code to the repo or downloading it to your machine, use an SSH key.
- If you try to use password authentication too many times, your IP address will be blocked. If your address is blocked, contact administration.
- Determine team/project-specific version control practices, e.g.:
- Code branching (branch). Are there separate development, testing, and production branches?
- Code merging policy (merge). Are merge requests used?
- Code change messages (commit message), version numbering?
Maintenance and Support
- Admins for the UniversityofHelsinki organization can be reached at: versionhallinta@helsinki.fi
- Admins for the UH-StudentServices organization include, among others, Antero Aunesluoma