definition.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. key: git
  2. title: Git
  3. description: Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people.
  4. author: requarks.io
  5. logo: https://static.requarks.io/logo/git-alt.svg
  6. website: https://git-scm.com/
  7. isAvailable: true
  8. supportedModes:
  9. - sync
  10. - push
  11. - pull
  12. defaultMode: sync
  13. schedule: PT5M
  14. props:
  15. authType:
  16. type: String
  17. default: 'ssh'
  18. title: Authentication Type
  19. hint: Use SSH for maximum security.
  20. enum:
  21. - 'basic'
  22. - 'ssh'
  23. order: 1
  24. repoUrl:
  25. type: String
  26. title: Repository URI
  27. hint: Git-compliant URI (e.g. git@github.com:org/repo.git for ssh, https://github.com/org/repo.git for basic)
  28. order: 2
  29. branch:
  30. type: String
  31. default: 'master'
  32. order: 3
  33. verifySSL:
  34. type: Boolean
  35. default: true
  36. title: Verify SSL Certificate
  37. hint: Some hosts requires SSL certificate checking to be disabled. Leave enabled for proper security.
  38. order: 31
  39. sshPrivateKeyPath:
  40. type: String
  41. title: SSH Private Key Path
  42. hint: SSH Authentication Only - Absolute path to the key. The key must NOT be passphrase-protected.
  43. order: 10
  44. basicUsername:
  45. type: String
  46. title: Username
  47. hint: Basic Authentication Only
  48. order: 11
  49. basicPassword:
  50. type: String
  51. title: Password / PAT
  52. hint: Basic Authentication Only
  53. order: 12
  54. localRepoPath:
  55. type: String
  56. title: Local Repository Path
  57. default: './data/repo'
  58. hint: 'Path where the local git repository will be created.'
  59. order: 30
  60. defaultEmail:
  61. type: String
  62. title: Default Author Email
  63. default: 'name@company.com'
  64. hint: 'Used as fallback in case the author of the change is not present.'
  65. order: 20
  66. defaultName:
  67. type: String
  68. title: Default Author Name
  69. default: 'John Smith'
  70. hint: 'Used as fallback in case the author of the change is not present.'
  71. order: 21