keel/.drone.yml

45 lines
809 B
YAML
Raw Normal View History

2019-04-27 07:06:49 +00:00
kind: pipeline
name: default
workspace:
base: /go
path: src/github.com/keel-hq/keel
steps:
- name: unit-test
image: golang:1.12.0
commands:
- make test
- name: build
image: golang:1.12.0
commands:
- make install
2019-05-28 11:45:36 +00:00
- name: build-ui
image: node:9.11.1-alpine
commands:
2019-05-29 19:10:38 +00:00
- cd ui
- yarn
- yarn run lint --no-fix
2019-05-28 11:45:36 +00:00
2019-04-27 07:06:49 +00:00
- name: publish-image
image: plugins/docker
settings:
repo: keelhq/keel
auto_tag: true
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: slack
image: plugins/slack
when:
status: [ success, failure ]
settings:
webhook:
from_secret: slack_url
channel: general
username: drone
icon_url: https://i.pinimg.com/originals/51/29/a4/5129a48ddad9e8408d2757dd10eb836f.jpg