ci: removes go-bindata steps
This commit is contained in:
parent
104e72bd86
commit
2ec11bfd5f
34
.drone.yml
34
.drone.yml
@ -13,60 +13,44 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
|
depends_on: tags
|
||||||
- name: go-bindata
|
|
||||||
image: golang:latest
|
|
||||||
commands:
|
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
|
||||||
- go-bindata -pkg assets -o assets/bindata.go -nomemcopy /bin/true
|
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golangci/golangci-lint:latest
|
image: golangci/golangci-lint:latest
|
||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
depends_on:
|
depends_on:
|
||||||
- go-bindata
|
- submodule
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
commands:
|
commands:
|
||||||
- make test
|
- make test
|
||||||
depends_on:
|
depends_on:
|
||||||
- go-bindata
|
- submodules
|
||||||
|
|
||||||
- name: clean
|
- name: build
|
||||||
image: golang:latest
|
image: goreleaser/goreleaser:v0.162.0
|
||||||
commands:
|
commands:
|
||||||
- make clean
|
- make build
|
||||||
- git checkout -- .
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
|
|
||||||
- name: build
|
|
||||||
image: goreleaser/goreleaser:v0.159.0
|
|
||||||
commands:
|
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
|
||||||
- make build
|
|
||||||
depends_on:
|
|
||||||
- submodules
|
|
||||||
- clean
|
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
exclude:
|
exclude:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:v0.159.0
|
image: goreleaser/goreleaser:v0.162.0
|
||||||
environment:
|
environment:
|
||||||
GITHUB_TOKEN:
|
GITHUB_TOKEN:
|
||||||
from_secret: github_token
|
from_secret: github_token
|
||||||
commands:
|
commands:
|
||||||
- (cd /tmp; go get -u github.com/go-bindata/go-bindata/...)
|
|
||||||
- goreleaser release --rm-dist --parallelism=1
|
- goreleaser release --rm-dist --parallelism=1
|
||||||
depends_on:
|
depends_on:
|
||||||
- submodules
|
- lint
|
||||||
- clean
|
- test
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
Loading…
Reference in New Issue
Block a user