1
0

.drone.yml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. ---
  2. kind: pipeline
  3. name: litmus
  4. steps:
  5. - name: submodules
  6. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  7. commands:
  8. - git submodule update --init
  9. - name: litmus-v1
  10. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  11. commands:
  12. - bash tests/travis/install.sh sqlite
  13. - bash apps/dav/tests/travis/litmus-v1/script.sh
  14. - name: litmus-v2
  15. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  16. commands:
  17. - bash tests/travis/install.sh sqlite
  18. - bash apps/dav/tests/travis/litmus-v2/script.sh
  19. trigger:
  20. branch:
  21. - master
  22. - stable*
  23. event:
  24. - pull_request
  25. - push
  26. ---
  27. kind: pipeline
  28. name: caldavtester-new-endpoint
  29. steps:
  30. - name: submodules
  31. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  32. commands:
  33. - git submodule update --init
  34. - name: caldavtester-new-endpoint
  35. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  36. commands:
  37. - bash tests/travis/install.sh sqlite
  38. - bash apps/dav/tests/travis/caldav/install.sh
  39. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  40. trigger:
  41. branch:
  42. - master
  43. - stable*
  44. event:
  45. - pull_request
  46. - push
  47. ---
  48. kind: pipeline
  49. name: caldavtester-old-endpoint
  50. steps:
  51. - name: submodules
  52. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  53. commands:
  54. - git submodule update --init
  55. - name: caldavtester-old-endpoint
  56. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  57. commands:
  58. - bash tests/travis/install.sh sqlite
  59. - bash apps/dav/tests/travis/caldav/install.sh
  60. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  61. trigger:
  62. branch:
  63. - master
  64. - stable*
  65. event:
  66. - pull_request
  67. - push
  68. ---
  69. kind: pipeline
  70. name: carddavtester-new-endpoint
  71. steps:
  72. - name: submodules
  73. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  74. commands:
  75. - git submodule update --init
  76. - name: carddavtester-new-endpoint
  77. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  78. commands:
  79. - bash tests/travis/install.sh sqlite
  80. - bash apps/dav/tests/travis/carddav/install.sh
  81. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  82. trigger:
  83. branch:
  84. - master
  85. - stable*
  86. event:
  87. - pull_request
  88. - push
  89. ---
  90. kind: pipeline
  91. name: carddavtester-old-endpoint
  92. steps:
  93. - name: submodules
  94. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  95. commands:
  96. - git submodule update --init
  97. - name: carddavtester-old-endpoint
  98. image: ghcr.io/nextcloud/continuous-integration-litmus-php8.0:latest
  99. commands:
  100. - bash tests/travis/install.sh sqlite
  101. - bash apps/dav/tests/travis/carddav/install.sh
  102. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  103. trigger:
  104. branch:
  105. - master
  106. - stable*
  107. event:
  108. - pull_request
  109. - push
  110. ---
  111. kind: pipeline
  112. name: samba
  113. steps:
  114. - name: submodules
  115. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  116. commands:
  117. - git submodule update --init
  118. - name: sqlite-php8.0-samba-native
  119. image: ghcr.io/nextcloud/continuous-integration-samba-native-php8.0:latest
  120. commands:
  121. - smbd -D -FS &
  122. - ./autotest-external.sh sqlite smb-linux
  123. - wget https://codecov.io/bash -O codecov.sh
  124. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  125. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  126. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  127. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  128. # Temporarily disabled because it times out for unknown reasons 98% of the time
  129. #- name: sqlite-php8.0-samba-non-native
  130. # image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php8.0:latest
  131. # commands:
  132. # - smbd -D -FS &
  133. # - ./autotest-external.sh sqlite smb-linux
  134. # - wget https://codecov.io/bash -O codecov.sh
  135. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  136. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  137. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  138. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  139. trigger:
  140. branch:
  141. - master
  142. - stable*
  143. event:
  144. - pull_request
  145. - push
  146. ---
  147. kind: signature
  148. hmac: e34c8c2ca36355a8dcaf01c7bd14c53bd42d25a4d631533e2c8109e2690c2a98