You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
530 B

4 years ago
kind: pipeline
name: default
services:
- name: vault
image: vault
environment:
VAULT_DEV_ROOT_TOKEN_ID: dev
- name: etcd
4 years ago
image: bitnami/etcd:3
environment:
ALLOW_NONE_AUTHENTICATION: yes
4 years ago
environment:
VAULT_DEV_LISTEN_ADDRESS: http://vault:8200
4 years ago
VAULT_DEV_ROOT_TOKEN_ID: dev
FDEVS_CONFIG_ETCD_HOST: etcd:2379
steps:
- name: test
image: golang
commands:
- go test -parallel 10 -race ./...
- name: golangci-lint
image: golangci/golangci-lint:v1.39
commands:
- golangci-lint run