Deadline pipeline

This commit is contained in:
Tim Schubert 2018-04-18 15:11:23 +02:00
parent 341cff16bc
commit a782bb879e
3 changed files with 31 additions and 8 deletions

16
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,16 @@
stages:
- deadlines
- plagiates
create_tags:
image: python:3
stage: deadlines
only: master
tags:
- abgabesystem
script:
- echo "private_token = ${PRIVATE_API_TOKEN}" >> $HOME/.python-gitlab.cfg
- pip install python-gitlab
- ./abgabesystem.py deadlines

View file

@ -8,10 +8,10 @@ courses:
plagiates: programmieren_1_abgabesystem
students: List_of_groups_Lecture_Programmieren_1.csv
deadlines:
# - !!python/object:abgabesystem.Deadline
# tag: Exercise 1
# time: !!timestamp 2018-04-01
# ref: master
- !!python/object:abgabesystem.Deadline
tag: test
time: !!timestamp 2018-04-18
ref: master
- !!python/object:abgabesystem.Course
name: Programmieren 2
base: programmieren_2_solutions
@ -19,7 +19,7 @@ courses:
students: List_of_groups_Lecture_Programmieren_2.csv
deadlines:
# - !!python/object:abgabesystem.Deadline
# tag: Exercise 1
# time: !!timestamp 2018-04-01
# ref: master
- !!python/object:abgabesystem.Deadline
tag: Test
time: !!timestamp 2018-04-19
ref: master

7
python-gitlab.cfg Normal file
View file

@ -0,0 +1,7 @@
[global]
default = ips
ssl_verify = true
[ips]
url = https://ips1.ibr.cs.tu-bs.de
api_version = 4