|
|
@ -1,8 +1,12 @@ |
|
|
|
|
|
|
|
workspace: |
|
|
|
|
|
|
|
|
|
|
|
pipeline: |
|
|
|
pipeline: |
|
|
|
clone: |
|
|
|
clone: |
|
|
|
image: plugins/git |
|
|
|
image: plugins/git |
|
|
|
build: |
|
|
|
build: |
|
|
|
image: golang |
|
|
|
image: golang |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
GOPATH: /drone |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- go version |
|
|
|
- go version |
|
|
|
- go env |
|
|
|
- go env |
|
|
@ -13,3 +17,5 @@ pipeline: |
|
|
|
image: plugins/slack |
|
|
|
image: plugins/slack |
|
|
|
webhook: https://hooks.slack.com/services/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 |
|
|
|
webhook: https://hooks.slack.com/services/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 |
|
|
|
channel: build |
|
|
|
channel: build |
|
|
|
|
|
|
|
when: |
|
|
|
|
|
|
|
status: [ success, failure ] |