1
0
Fork 0

Add drone pipeline

master 1.0.1
Ambrose Chua 2020-04-25 17:52:47 +08:00
parent b1e5c8a7e2
commit 579895d259
Signed by: ambrose
GPG Key ID: BC367D33F140B5C2
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,27 @@
kind: pipeline
type: docker
name: default
steps:
- name: test
image: golang:1.14-alpine
commands:
- cd coredns && go test
- name: build
image: golang:1.14-alpine
environment:
- CGO_ENABLED=0
- GOOS=linux
- GOARCH=amd64
commands:
- cd coredns && go build
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.makerforce.io
secrets: [ gitea_token ]
files: coredns/coredns
when:
event: tag
# vim: ts=2:sw=2

View File

@ -1,5 +1,5 @@
# alias
# alias [![Build Status](https://ci.makerforce.io/api/badges/ambrose/alias/status.svg)](https://ci.makerforce.io/ambrose/alias)
The *alias* plugin eliminates CNAME records from zone apex by making the subsequent resolved records look like they belong to the zone apex. This behaves similarily to [CloudFlare's Zone Flattening](https://support.cloudflare.com/hc/en-us/articles/200169056-CNAME-Flattening-RFC-compliant-support-for-CNAME-at-the-root).