Differences
This shows you the differences between two versions of the page.
| |
sysadmin:services:gitlab [2023/05/24 15:35] – created - external edit 127.0.0.1 | sysadmin:services:gitlab [2024/04/01 15:39] (current) – kjohns23 |
---|
== Course Repos == | == Course Repos == |
| |
Instructors may want to create a hierarchy of groups to organize student assignments or labs. A typical structure would be the main course repo (CISXXXXS##), with one group per student underneath. Each student group would have a set of repos (A1, A2, L1, Project, etc). Python scripts using the gitlab API are available in the sysadmin scripts git repo. There are two scripts that need to run. Firstly, the script to create gitlab users, as users are not created automatically based on ldap entry, but upon first login. Second, the course specific script needs to be modified to list the desired repo structure and then run. These scripts can be run repeatedly over the add/drop period to add any late additions. | Instructors may want to create a hierarchy of groups to organize student assignments or labs. A typical structure would be the main course repo (CISXXXXS##), with one group per student underneath. Each student group would have a set of repos (A1, A2, L1, Project, etc). Python scripts using the gitlab API are available in the sysadmin scripts git repo. There are two scripts that need to run. Firstly, the script to create gitlab users, as users are not created automatically based on ldap entry, but upon first login. This script is gitlab-user-setup.py. Second, the course specific script needs to be modified to list the desired repo structure and then run. These scripts can be run repeatedly over the add/drop period to add any late additions. |
| |
=== Gitlab Runners === | === Gitlab Runners === |
| |
A system wide gitlab runner is available on the SoCS kubernetes cluster (kubefarm.socs.uoguelph.ca). This is a helm based installation, in the gitlab-runner namespace. Configuration can be found in the kubefarm-templates git repository. The gitlab runner should be updated after each gitlab system update. | A system wide gitlab runner is available on the SoCS kubernetes cluster (kubefarm.socs.uoguelph.ca). This is a helm based installation, in the gitlab-runner namespace. Configuration can be found in the kubefarm-templates git repository. The gitlab runner should be updated after each gitlab system update. |