Add Drone CI
This commit is contained in:
parent
d4223a9ef7
commit
0d32d37356
2 changed files with 52 additions and 1 deletions
49
.drone.yml
Normal file
49
.drone.yml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-and-test
|
||||||
|
image: r.mills.io/prologic/golang-alpine:latest
|
||||||
|
commands:
|
||||||
|
- make deps
|
||||||
|
- make build
|
||||||
|
- make test
|
||||||
|
|
||||||
|
- name: build-image-push
|
||||||
|
image: plugins/kaniko
|
||||||
|
settings:
|
||||||
|
repo: prologic/yarnd
|
||||||
|
tags: latest
|
||||||
|
build_args:
|
||||||
|
- VERSION=edge
|
||||||
|
- COMMIT=${DRONE_COMMIT_SHA:0:8}
|
||||||
|
username:
|
||||||
|
from_secret: dockerhub_username
|
||||||
|
password:
|
||||||
|
from_secret: dockerhub_password
|
||||||
|
depends_on:
|
||||||
|
- build-and-test
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
- name: notify-irc
|
||||||
|
image: plugins/webhook
|
||||||
|
settings:
|
||||||
|
urls:
|
||||||
|
- https://msgbus.mills.io/ci.mills.io
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
- failure
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
- push
|
||||||
|
- pull_request
|
|
@ -1,5 +1,7 @@
|
||||||
# tube
|
# tube
|
||||||
|
|
||||||
|
[![Build Status](https://ci.mills.io/api/badges/prologic/tube/status.svg)](https://ci.mills.io/prologic/tube)
|
||||||
|
|
||||||
`tube` is a Youtube-like (_without censorship and features you don't need!_)
|
`tube` is a Youtube-like (_without censorship and features you don't need!_)
|
||||||
Video Sharing App written in Go which also supports automatic transcoding to
|
Video Sharing App written in Go which also supports automatic transcoding to
|
||||||
MP4 H.265 AAC, multiple collections and RSS feed.
|
MP4 H.265 AAC, multiple collections and RSS feed.
|
||||||
|
@ -237,4 +239,4 @@ tube source code is available under the MIT [License](LICENSE).
|
||||||
Previously based off of [tube](https://github.com/wybiral/tube) by [davy wybiral
|
Previously based off of [tube](https://github.com/wybiral/tube) by [davy wybiral
|
||||||
](https://github.com/wybiral). (See [LICENSE.old](LICENSE.old))
|
](https://github.com/wybiral). (See [LICENSE.old](LICENSE.old))
|
||||||
|
|
||||||
App icon is licensed under the Apache license from Google Noto Emoji.
|
App icon is licensed under the Apache license from Google Noto Emoji.
|
||||||
|
|
Loading…
Reference in a new issue