This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues/pull-requests.
2019-10-08 09:24:28 +04:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: build
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: golang:1.13
|
|
|
|
commands:
|
|
|
|
- go test -test.v -cover `go list ./... | grep -v examples | grep -v internal`
|
|
|
|
environment:
|
|
|
|
GOFLAGS: -mod=vendor
|
|
|
|
- name: lint
|
2019-10-16 06:51:15 +04:00
|
|
|
image: golangci/golangci-lint:v1.21.0
|
2019-10-08 09:24:28 +04:00
|
|
|
commands:
|
|
|
|
- golangci-lint -v run
|
|
|
|
environment:
|
|
|
|
GOFLAGS: -mod=vendor
|
|
|
|
- name: build
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
username: fat0troll
|
|
|
|
password:
|
|
|
|
from_secret: registry_password
|
|
|
|
repo: fat0troll/fwzookeeper
|
2019-10-16 06:51:15 +04:00
|
|
|
auto_tag: true
|