Drone pipeline fixes.
This commit is contained in:
parent
39ad633d45
commit
a601ea5ab4
@ -19,6 +19,8 @@ steps:
|
|||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
commands:
|
commands:
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
|
depends_on:
|
||||||
|
- notify-start
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.13.5-alpine
|
image: golang:1.13.5-alpine
|
||||||
@ -26,6 +28,8 @@ steps:
|
|||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
commands:
|
commands:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
|
depends_on:
|
||||||
|
- notify-start
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
@ -38,6 +42,9 @@ steps:
|
|||||||
from_secret: dockerhub_password
|
from_secret: dockerhub_password
|
||||||
repo: pztrn/opensaps
|
repo: pztrn/opensaps
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
|
depends_on:
|
||||||
|
- lint
|
||||||
|
- test
|
||||||
|
|
||||||
- name: notify-end
|
- name: notify-end
|
||||||
when:
|
when:
|
||||||
|
Loading…
Reference in New Issue
Block a user