Browse Source

Add drone pipeline

master
Simon Marsh 1 month ago
parent
commit
4e50627050
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 30B29A716A54DBB3
3 changed files with 42 additions and 0 deletions
  1. +21
    -0
      .drone.yml
  2. +9
    -0
      go.mod
  3. +12
    -0
      go.sum

+ 21
- 0
.drone.yml View File

@@ -0,0 +1,21 @@
---
kind: pipeline
type: exec
name: default

steps:
- name: build
environment:
CGO_ENABLED: 0
commands:
- go build

- name: stage
commands:
- stage_artifact.sh dn42regsrv dn42regsrv StaticRoot

- name: promote
commands:
- promote_artifact.sh dn42regsrv
when:
branch: master

+ 9
- 0
go.mod View File

@@ -0,0 +1,9 @@
module burble.dn42/dn42regsrv

go 1.14

require (
github.com/gorilla/mux v1.7.4
github.com/sirupsen/logrus v1.6.0
github.com/spf13/pflag v1.0.5
)

+ 12
- 0
go.sum View File

@@ -0,0 +1,12 @@
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gorilla/mux v1.7.4 h1:VuZ8uybHlWmqV03+zRzdwKL4tUnIp1MAQtp1mIFE1bc=
github.com/gorilla/mux v1.7.4/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sirupsen/logrus v1.6.0 h1:UBcNElsrwanuuMsnGSlYmtmgbb23qDR5dG+6X6Oo89I=
github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894 h1:Cz4ceDQGXuKRnVBDTS23GTn/pU5OE2C0WrNTOYK1Uuc=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=

Loading…
Cancel
Save