Lanceur d'application pour GNU/Linux
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 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ---
  2. pipeline:
  3. test:
  4. image: node:6-alpine
  5. commands:
  6. - apk add --no-cache firefox-esr
  7. - npm install
  8. - npm test
  9. package-64:
  10. pull: true
  11. group: package
  12. image: bornholm/drone-tamarin:latest
  13. dest_dir: packages
  14. volumes:
  15. - /var/run/docker.sock:/var/run/docker.sock
  16. package-32:
  17. pull: true
  18. group: package
  19. image: bornholm/drone-tamarin:latest
  20. arch: i386
  21. dest_dir: packages
  22. volumes:
  23. - /var/run/docker.sock:/var/run/docker.sock
  24. deploy:
  25. pull: true
  26. image: bornholm/drone-sftp:latest
  27. # Génération des commandes d'upload SFTP via script Bash
  28. sftp_commands_script: |
  29. ls packages/*.deb | xargs -I '{}' echo "put '{}' packages-available/"
  30. secrets:
  31. - source: packages_sftp_host
  32. target: plugin_host
  33. - source: packages_sftp_user
  34. target: plugin_username
  35. - source: packages_sftp_password
  36. target: plugin_password
  37. notify:
  38. image: drillster/drone-email
  39. from: drone@cadoles.com
  40. skip_verify: true
  41. secrets:
  42. - source: cadoles_email_port
  43. target: plugin_port
  44. - source: cadoles_email_host
  45. target: plugin_host
  46. - source: cadoles_email_user
  47. target: plugin_username
  48. - source: cadoles_email_password
  49. target: plugin_password
  50. when:
  51. status: [ success, failure ]