mirror of
https://github.com/appleboy/drone-ssh.git
synced 2026-02-17 09:48:50 +08:00
@@ -2,17 +2,20 @@ workspace:
|
|||||||
base: /srv/app
|
base: /srv/app
|
||||||
path: src/github.com/appleboy/drone-ssh
|
path: src/github.com/appleboy/drone-ssh
|
||||||
|
|
||||||
pipeline:
|
|
||||||
clone:
|
clone:
|
||||||
|
git:
|
||||||
image: plugins/git
|
image: plugins/git
|
||||||
|
depth: 50
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
|
pipeline:
|
||||||
test:
|
test:
|
||||||
image: appleboy/golang-testing
|
image: appleboy/golang-testing
|
||||||
pull: true
|
pull: true
|
||||||
environment:
|
environment:
|
||||||
TAGS: netgo
|
TAGS: netgo
|
||||||
GOPATH: /srv/app
|
GOPATH: /srv/app
|
||||||
|
secrets: [ codecov_token ]
|
||||||
commands:
|
commands:
|
||||||
- make ssh-server
|
- make ssh-server
|
||||||
- make vet
|
- make vet
|
||||||
|
|||||||
Reference in New Issue
Block a user