From bd14c414c611f269eefbacaf1dcfe199ce893d2c Mon Sep 17 00:00:00 2001 From: Fedor Korotkiy Date: Fri, 31 Jan 2020 22:41:25 +0300 Subject: [PATCH] Create .deadlines.yml. Move task sync to separate job. --- .deadlines.yml | 6 ++++++ .releaser-ci.yml | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .deadlines.yml diff --git a/.deadlines.yml b/.deadlines.yml new file mode 100644 index 0000000..fd297eb --- /dev/null +++ b/.deadlines.yml @@ -0,0 +1,6 @@ +- group: Hello World + start: 13-02-2020 18:00 + deadline: 23-02-2020 23:59 + tasks: + - task: sum + score: 100 diff --git a/.releaser-ci.yml b/.releaser-ci.yml index edeb0de..128c150 100644 --- a/.releaser-ci.yml +++ b/.releaser-ci.yml @@ -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