Fix CI config.
This commit is contained in:
parent
4ca7ca7b11
commit
e9abc1368e
1 changed files with 1 additions and 10 deletions
|
@ -1,17 +1,10 @@
|
||||||
stages:
|
|
||||||
- test
|
|
||||||
- deplog
|
|
||||||
- push
|
|
||||||
|
|
||||||
check:
|
check:
|
||||||
stage: test
|
|
||||||
image: eu.gcr.io/shad-ts/grader/go-build
|
image: eu.gcr.io/shad-ts/grader/go-build
|
||||||
script:
|
script:
|
||||||
- go test -tags private,solution ./...
|
- go test -tags private,solution ./...
|
||||||
- go test -race -tags private,solution ./...
|
- go test -race -tags private,solution ./...
|
||||||
|
|
||||||
rebuild-base-image:
|
rebuild-base-image:
|
||||||
stage: test
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
|
@ -22,7 +15,6 @@ rebuild-base-image:
|
||||||
- docker push eu.gcr.io/shad-ts/grader/go-build:latest
|
- docker push eu.gcr.io/shad-ts/grader/go-build:latest
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: deploy
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
|
@ -33,7 +25,6 @@ deploy:
|
||||||
- docker push eu.gcr.io/shad-ts/grader/go:latest
|
- docker push eu.gcr.io/shad-ts/grader/go:latest
|
||||||
|
|
||||||
update-task-list:
|
update-task-list:
|
||||||
stage: push
|
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
|
@ -42,7 +33,7 @@ update-task-list:
|
||||||
- curl -F token=$TESTER_TOKEN https://go.manytask.org/api/sync_task_columns
|
- curl -F token=$TESTER_TOKEN https://go.manytask.org/api/sync_task_columns
|
||||||
|
|
||||||
push-to-public:
|
push-to-public:
|
||||||
stage: push
|
stage: .post
|
||||||
image: eu.gcr.io/shad-ts/grader/go
|
image: eu.gcr.io/shad-ts/grader/go
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue