Deadline pipeline
This commit is contained in:
parent
341cff16bc
commit
a782bb879e
3 changed files with 31 additions and 8 deletions
16
.gitlab-ci.yml
Normal file
16
.gitlab-ci.yml
Normal 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
|
16
config.yml
16
config.yml
|
@ -8,10 +8,10 @@ courses:
|
||||||
plagiates: programmieren_1_abgabesystem
|
plagiates: programmieren_1_abgabesystem
|
||||||
students: List_of_groups_Lecture_Programmieren_1.csv
|
students: List_of_groups_Lecture_Programmieren_1.csv
|
||||||
deadlines:
|
deadlines:
|
||||||
# - !!python/object:abgabesystem.Deadline
|
- !!python/object:abgabesystem.Deadline
|
||||||
# tag: Exercise 1
|
tag: test
|
||||||
# time: !!timestamp 2018-04-01
|
time: !!timestamp 2018-04-18
|
||||||
# ref: master
|
ref: master
|
||||||
- !!python/object:abgabesystem.Course
|
- !!python/object:abgabesystem.Course
|
||||||
name: Programmieren 2
|
name: Programmieren 2
|
||||||
base: programmieren_2_solutions
|
base: programmieren_2_solutions
|
||||||
|
@ -19,7 +19,7 @@ courses:
|
||||||
|
|
||||||
students: List_of_groups_Lecture_Programmieren_2.csv
|
students: List_of_groups_Lecture_Programmieren_2.csv
|
||||||
deadlines:
|
deadlines:
|
||||||
# - !!python/object:abgabesystem.Deadline
|
- !!python/object:abgabesystem.Deadline
|
||||||
# tag: Exercise 1
|
tag: Test
|
||||||
# time: !!timestamp 2018-04-01
|
time: !!timestamp 2018-04-19
|
||||||
# ref: master
|
ref: master
|
||||||
|
|
7
python-gitlab.cfg
Normal file
7
python-gitlab.cfg
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[global]
|
||||||
|
default = ips
|
||||||
|
ssl_verify = true
|
||||||
|
|
||||||
|
[ips]
|
||||||
|
url = https://ips1.ibr.cs.tu-bs.de
|
||||||
|
api_version = 4
|
Loading…
Add table
Add a link
Reference in a new issue