Advertisement
Guest User

Untitled

a guest
Feb 28th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. pipeline:
  2. install:
  3. image: node:latest
  4. commands:
  5. - yarn install
  6.  
  7. lint:
  8. image: node:latest
  9. commands:
  10. - yarn lint
  11.  
  12. test:
  13. image: node:latest
  14. commands:
  15. - yarn test
  16.  
  17. docker:
  18. image: plugins/docker
  19. settings:
  20. repo:
  21. from_secret: spellshot/api
  22. username:
  23. from_secret: docker_username
  24. password:
  25. from_secret: docker_password
  26.  
  27. ssh:
  28. image: appleboy/drone-ssh
  29. secrets:
  30. - source: ssh_dev_host
  31. target: ssh_host
  32. - source: ssh_dev_user
  33. target: ssh_user
  34. - source: ssh_dev_password
  35. target: ssh_password
  36. - source: ssh_dev_port
  37. target: ssh_port
  38. - source: ssh_dev_deploy_path
  39. target: ssh_deploy_path
  40. envs: [ ssh_deploy_path ]
  41. script:
  42. - ls -l
  43.  
  44. branches: [master, develop]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement