883 B
883 B
Programmieren [1,2] Gitlab
Gitlab
- use GITZ LDAP for login
- not allow "create new repo"
Checkstyle
- GitLab CI
- (Docker)container
- Shared Runners
- restrict Container to checkstyle
- disable internet access for container
Deadline cronjob
- each repo has protected master branch -> used for handing in exercises
- create automatic protected TAG on deadline in each repo
- trigger via push to master repo
- start jplag via protected runner that can clone / checkout all repos
(optional) Sync Cronjob
- sync student / groups from Stud.IP REST API to Gitlab REST API
- fork public repo with CI config etc into one private repo per student
- give students Developer access
- Owner is whoever
- group tutors has Master access to all repos (students sometimes switch groups)
- students Request Access to "Abgabepartner" repo, tutors can grant access