An IndieWeb engine for a self-hostable website. https://koype.net/
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 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ---
  2. # NOTE: The secret '51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17' is used all
  3. # over this test environment.
  4. kind: pipeline
  5. name: default
  6. platform:
  7. os: linux
  8. arch: amd64
  9. clone:
  10. depth: 1
  11. steps:
  12. - name: set up buckets
  13. image: minio/mc
  14. detached: true
  15. commands:
  16. - mc config host add test http://objectstorage:9000 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  17. - mc mb --region local test/koype-test
  18. - mc policy set download test/koype-test/images
  19. - mc policy set download test/koype-test/videos
  20. - mc policy set download test/koype-test/audio
  21. when:
  22. event:
  23. - push
  24. - name: run tests
  25. image: elixir:1.7.4-alpine
  26. commands:
  27. - sh scripts/run-ci.sh
  28. - mix coveralls.drone
  29. environment:
  30. DOC: 1
  31. CANONICAL_URL: http://localhost:5001
  32. GUARDIAN_SECRET_KEY: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  33. ENV: test
  34. MIX_ENV: test
  35. OBJECT_STORAGE_ACCESS_KEY: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  36. OBJECT_STORAGE_BUCKET: koype-test
  37. OBJECT_STORAGE_HOST: objectstorage
  38. OBJECT_STORAGE_PORT: 9000
  39. OBJECT_STORAGE_SCHEME: http://
  40. OBJECT_STORAGE_SECRET_KEY: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  41. SECRET_KEY_BASE: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  42. SESSION_SIGNING_SALT: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  43. PORT: 5001
  44. TEST_HOST: localhost
  45. TEST_PORT: 5001
  46. when:
  47. event:
  48. - push
  49. services:
  50. - name: webdriver
  51. image: selenium/standalone-chrome:3.141.59-mercury
  52. - name: objectstorage
  53. image: minio/minio:RELEASE.2019-03-13T21-59-47Z
  54. command:
  55. - server
  56. - /data
  57. environment:
  58. MINIO_ACCESS_KEY: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  59. MINIO_SECRET_KEY: 51bcaa680ac2fa4bb9f38bde4bf6f5620c542222393f95e2e6f6d38f838e3c17
  60. MINIO_REGION: local