Setup GitLab #60

Open
opened 2024-12-11 11:13:50 +01:00 by lukas · 8 comments
Owner

Host a GitLab instance, e.g. lab.libre.moe

Opinions on DNS names welcome. (or generally on the setup of this instance)

Loosely depends on #58 for appropriate secondary DNS-names for the registry and such.

For now Gitea (git.libre.moe) and Gitlab will co-exist.

Host a GitLab instance, e.g. `lab.libre.moe` Opinions on DNS names welcome. (or generally on the setup of this instance) Loosely depends on #58 for appropriate secondary DNS-names for the registry and such. For now Gitea (`git.libre.moe`) and Gitlab will co-exist.
lukas added the
Priority
Medium
Domain
libre.moe
labels 2024-12-11 11:13:50 +01:00
leon was assigned by lukas 2024-12-11 11:13:50 +01:00
lukas added this to the Issue Board project 2024-12-11 11:13:50 +01:00
lukas self-assigned this 2024-12-11 11:13:58 +01:00
Author
Owner

Dev instance looking good, I decided against LDAP as GitLab works very well with my existing OIDC system and to avoid unnecessary complexity. Will also introduce GitHub auth to allow external users to easily collaborate on Git.

Dev instance looking good, I decided against LDAP as GitLab works very well with my existing OIDC system and to avoid unnecessary complexity. Will also introduce GitHub auth to allow external users to easily collaborate on Git.
Author
Owner

Our deployment will use approximately 2-2.5 GiB memory on average, therefore 3 GiB should be reserved to run this instance.

With the current usage of ireul, which will be the target for this deployment, we need to scale this instance up to accommodate this requirement.

Our deployment will use approximately 2-2.5 GiB memory on average, therefore 3 GiB should be reserved to run this instance. With the current usage of `ireul`, which will be the target for this deployment, we need to scale this instance up to accommodate this requirement.
lukas added the
Status
Planned
label 2024-12-17 12:22:20 +01:00
Author
Owner

I am currently thinking about using to use #62 to free up more RAM on ireul. In conjunction with a more aggressive GitLab configuration, it can probably be deployed without needing a server upgrade.

I am currently thinking about using to use #62 to free up more RAM on `ireul`. In conjunction with a more aggressive GitLab configuration, it can probably be deployed without needing a server upgrade.
lukas changed title from Gitlab to Setup GitLab 2024-12-23 14:10:03 +01:00
Author
Owner
Note to self: https://blog.palark.com/gitea-to-gitlab-migration/
Author
Owner

I'll try to host GitLab wird a hard limit of 3GB memory and set up a swapfile to be able to safely overprovision (my VM only has 3.41GB useable with 800MB minimum used currently)

I'll try to host GitLab wird a hard limit of 3GB memory and set up a swapfile to be able to safely overprovision (my VM only has 3.41GB useable with 800MB minimum used currently)
Author
Owner

Note on the matter: It appears that even runners support S3 as a backend for the cache, meaning our runners can cache straight to Hetzner S3. Furthermore, it appears as if we could setup autoscaling our runners with Hetzner directly: https://www.marc-willmann.de/gitlab-runner-autoscale-in-der-hetzner-cloud.

Note on the matter: It appears that even runners support S3 as a backend for the cache, meaning our runners can cache straight to Hetzner S3. Furthermore, it appears as if we could setup autoscaling our runners with Hetzner directly: https://www.marc-willmann.de/gitlab-runner-autoscale-in-der-hetzner-cloud.
Author
Owner

Gitlab instance is now up and ready for initial testing.
https://lab.libre.moe

Please report any problems in this issue for now.

Gitlab instance is now up and ready for initial testing. https://lab.libre.moe Please report any problems in this issue for now.
Author
Owner

Road to prod

  • SSH cloning
  • Container registry with dedicated endpoint
  • Fine tune Emails
  • Integrate to backup scripts
  • Auto cleanup logs
  • 24/7 runner
  • Draft: autoscaling runners
  • Test S3 backend with LFS
  • Test S3 backend with Artifacts
  • Verify S3 virtual path setup
### Road to prod - [x] SSH cloning - [ ] Container registry with dedicated endpoint - [ ] Fine tune Emails - [ ] Integrate to backup scripts - [ ] Auto cleanup logs - [ ] 24/7 runner - [ ] Draft: autoscaling runners - [x] Test S3 backend with LFS - [ ] Test S3 backend with Artifacts - [ ] Verify S3 virtual path setup
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KomuSolutions/igot99issues#60
No description provided.