Compare commits

...

7 Commits

Author SHA1 Message Date
b07bd5b300
fix path
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-21 14:53:06 +00:00
003a1f1f65
test secrets
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-21 12:18:18 +00:00
bfccce270f
test secrets 2021-12-21 11:57:22 +00:00
2f521943b4
A test message
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build was killed
2020-08-16 14:55:28 +01:00
25f89b6f82
blah
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-08-16 14:42:11 +01:00
c618334460
blah
Some checks failed
continuous-integration/drone/tag Build is failing
2020-08-16 14:41:51 +01:00
43bdbb9d74
tag2
All checks were successful
continuous-integration/drone/tag Build is passing
2020-08-16 14:37:30 +01:00
3 changed files with 34 additions and 21 deletions

View File

@ -3,27 +3,19 @@ kind: pipeline
type: docker
name: default
workspace:
base: /go
path: src/dn42regsrv
steps:
- name: build
image: golang
image: alpine
environment:
BLAH:
from_secret: blah
commands:
- go get
- name: release
image: plugs/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://git.burble.dn42
files:
- pipeline-test
checksum:
- sha512
when:
event: tag
- >
echo "secret is: $BLAH"
---
kind: secret
name: blah
get:
path: burble.dn42/kv/data/drone/test
name: blah

9
go.mod Normal file
View File

@ -0,0 +1,9 @@
module git.burble.dn42/pipeline-test
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
go.sum Normal file
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=