A simple pure-Go Linux init system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 780B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. workspace:
  2. base: /srv/app
  3. path: src/dev.sigpipe.me/dashie/lutrainit
  4. clone:
  5. git:
  6. image: plugins/git:1
  7. depth: 50
  8. tags: true
  9. pipeline:
  10. test:
  11. image: webhippie/golang:edge
  12. pull: true
  13. environment:
  14. GOPATH: /srv/app
  15. commands:
  16. - make test
  17. when:
  18. event: [ push, tag, pull_request ]
  19. build:
  20. image: webhippie/golang:edge
  21. pull: true
  22. environment:
  23. GOPATH: /srv/app
  24. commands:
  25. - make clean
  26. - make vet
  27. - make lint
  28. - make misspell-check
  29. - make build
  30. when:
  31. event: [ push, tag, pull_request ]
  32. notify:
  33. image: plugins/slack
  34. channel: gitea
  35. secrets:
  36. - SLACK_WEBHOOK
  37. when:
  38. event: [ push, tag, pull_request ]
  39. status: [ changed, failure, success ]