Create .deadlines.yml. Move task sync to separate job.

This commit is contained in:
Fedor Korotkiy 2020-01-31 22:41:25 +03:00
parent ab6ef47b28
commit bd14c414c6
2 changed files with 14 additions and 1 deletions

6
.deadlines.yml Normal file
View file

@ -0,0 +1,6 @@
- group: Hello World
start: 13-02-2020 18:00
deadline: 23-02-2020 23:59
tasks:
- task: sum
score: 100

View file

@ -14,13 +14,20 @@ rebuild-base-image:
- docker build -f build.docker -t eu.gcr.io/shad-ts/grader/go-build .
- docker push eu.gcr.io/shad-ts/grader/go-build:latest
deploy:
update-task-list:
only:
- master
tags:
- docker
script:
- curl -F token=$TESTER_TOKEN https://go.manytask.org/api/sync_task_columns
deploy:
only:
- master
tags:
- docker
script:
- docker pull eu.gcr.io/shad-ts/grader/go-build:latest
- docker build -f testenv.docker -t eu.gcr.io/shad-ts/grader/go .
- docker push eu.gcr.io/shad-ts/grader/go:latest