1
0

.drone.yml 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000
  1. ---
  2. kind: pipeline
  3. name: checkers
  4. steps:
  5. - name: submodules
  6. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  7. commands:
  8. - git submodule update --init
  9. - name: checkers
  10. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  11. commands:
  12. - ./autotest-checkers.sh
  13. secrets: [ github_token ]
  14. trigger:
  15. branch:
  16. - master
  17. - stable*
  18. event:
  19. - pull_request
  20. - push
  21. ---
  22. kind: pipeline
  23. name: litmus
  24. steps:
  25. - name: submodules
  26. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  27. commands:
  28. - git submodule update --init
  29. - name: litmus-v1
  30. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  31. commands:
  32. - bash tests/travis/install.sh sqlite
  33. - bash apps/dav/tests/travis/litmus-v1/script.sh
  34. - name: litmus-v2
  35. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  36. commands:
  37. - bash tests/travis/install.sh sqlite
  38. - bash apps/dav/tests/travis/litmus-v2/script.sh
  39. trigger:
  40. branch:
  41. - master
  42. - stable*
  43. event:
  44. - pull_request
  45. - push
  46. ---
  47. kind: pipeline
  48. name: caldavtester-new-endpoint
  49. steps:
  50. - name: submodules
  51. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  52. commands:
  53. - git submodule update --init
  54. - name: caldavtester-new-endpoint
  55. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  56. commands:
  57. - bash tests/travis/install.sh sqlite
  58. - bash apps/dav/tests/travis/caldav/install.sh
  59. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  60. trigger:
  61. branch:
  62. - master
  63. - stable*
  64. event:
  65. - pull_request
  66. - push
  67. ---
  68. kind: pipeline
  69. name: caldavtester-old-endpoint
  70. steps:
  71. - name: submodules
  72. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  73. commands:
  74. - git submodule update --init
  75. - name: caldavtester-old-endpoint
  76. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  77. commands:
  78. - bash tests/travis/install.sh sqlite
  79. - bash apps/dav/tests/travis/caldav/install.sh
  80. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  81. trigger:
  82. branch:
  83. - master
  84. - stable*
  85. event:
  86. - pull_request
  87. - push
  88. ---
  89. kind: pipeline
  90. name: carddavtester-new-endpoint
  91. steps:
  92. - name: submodules
  93. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  94. commands:
  95. - git submodule update --init
  96. - name: carddavtester-new-endpoint
  97. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  98. commands:
  99. - bash tests/travis/install.sh sqlite
  100. - bash apps/dav/tests/travis/carddav/install.sh
  101. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  102. trigger:
  103. branch:
  104. - master
  105. - stable*
  106. event:
  107. - pull_request
  108. - push
  109. ---
  110. kind: pipeline
  111. name: carddavtester-old-endpoint
  112. steps:
  113. - name: submodules
  114. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  115. commands:
  116. - git submodule update --init
  117. - name: carddavtester-old-endpoint
  118. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  119. commands:
  120. - bash tests/travis/install.sh sqlite
  121. - bash apps/dav/tests/travis/carddav/install.sh
  122. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  123. trigger:
  124. branch:
  125. - master
  126. - stable*
  127. event:
  128. - pull_request
  129. - push
  130. ---
  131. kind: pipeline
  132. name: samba
  133. steps:
  134. - name: submodules
  135. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  136. commands:
  137. - git submodule update --init
  138. - name: sqlite-php7.4-samba-native
  139. image: ghcr.io/nextcloud/continuous-integration-samba-native-php7.4:latest
  140. commands:
  141. - smbd -D -FS &
  142. - ./autotest-external.sh sqlite smb-linux
  143. - wget https://codecov.io/bash -O codecov.sh
  144. - 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"
  145. - 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"
  146. - 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"
  147. - 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"
  148. # Temporarily disabled because it times out for unknown reasons 98% of the time
  149. #- name: sqlite-php7.4-samba-non-native
  150. # image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php7.4:latest
  151. # commands:
  152. # - smbd -D -FS &
  153. # - ./autotest-external.sh sqlite smb-linux
  154. # - wget https://codecov.io/bash -O codecov.sh
  155. # - 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"
  156. # - 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"
  157. # - 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"
  158. # - 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"
  159. trigger:
  160. branch:
  161. - master
  162. - stable*
  163. event:
  164. - pull_request
  165. - push
  166. ---
  167. kind: pipeline
  168. name: sqlite-php7.4-webdav-apache
  169. steps:
  170. - name: submodules
  171. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  172. commands:
  173. - git submodule update --init
  174. - name: sqlite-php7.4-webdav-apache
  175. image: ghcr.io/nextcloud/continuous-integration-webdav-apache-php7.4:latest
  176. commands:
  177. - apache2ctl start
  178. - ./autotest-external.sh sqlite webdav-apachedrone
  179. - wget https://codecov.io/bash -O codecov.sh
  180. - 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"
  181. - 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"
  182. - 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-webdav-apachedrone.xml; fi"
  183. - 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-webdav-apachedrone.xml; fi"
  184. services:
  185. - name: cache
  186. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  187. trigger:
  188. branch:
  189. - master
  190. - stable*
  191. event:
  192. - pull_request
  193. - push
  194. ---
  195. kind: pipeline
  196. name: nodb
  197. steps:
  198. - name: submodules
  199. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  200. commands:
  201. - git submodule update --init
  202. - name: nodb-php7.4
  203. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  204. commands:
  205. - bash tests/drone-run-php-tests.sh || exit 0
  206. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  207. - name: nodb-php8.0
  208. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  209. commands:
  210. - bash tests/drone-run-php-tests.sh || exit 0
  211. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  212. services:
  213. - name: cache
  214. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  215. trigger:
  216. branch:
  217. - master
  218. - stable*
  219. event:
  220. - pull_request
  221. - push
  222. ---
  223. kind: pipeline
  224. name: sqlite
  225. steps:
  226. - name: submodules
  227. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  228. commands:
  229. - git submodule update --init
  230. - name: sqlite-php7.4
  231. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  232. commands:
  233. - bash tests/drone-run-php-tests.sh || exit 0
  234. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  235. - name: sqlite-php8.0
  236. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  237. commands:
  238. - bash tests/drone-run-php-tests.sh || exit 0
  239. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  240. services:
  241. - name: cache
  242. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  243. trigger:
  244. branch:
  245. - master
  246. - stable*
  247. event:
  248. - pull_request
  249. - push
  250. ---
  251. kind: pipeline
  252. name: mariadb10.2-php7.4
  253. steps:
  254. - name: submodules
  255. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  256. commands:
  257. - git submodule update --init
  258. - name: mariadb10.2-php7.4
  259. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  260. commands:
  261. - bash tests/drone-run-php-tests.sh || exit 0
  262. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  263. services:
  264. - name: cache
  265. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  266. - name: mariadb
  267. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2
  268. environment:
  269. MYSQL_ROOT_PASSWORD: owncloud
  270. MYSQL_USER: oc_autotest
  271. MYSQL_PASSWORD: owncloud
  272. MYSQL_DATABASE: oc_autotest
  273. command:
  274. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  275. tmpfs:
  276. - /var/lib/mysql
  277. trigger:
  278. branch:
  279. - master
  280. - stable*
  281. event:
  282. - pull_request
  283. - push
  284. ---
  285. kind: pipeline
  286. name: mariadb10.4-php8.0
  287. steps:
  288. - name: submodules
  289. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  290. commands:
  291. - git submodule update --init
  292. - name: mariadb10.4-php8.0
  293. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  294. commands:
  295. - bash tests/drone-run-php-tests.sh || exit 0
  296. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  297. services:
  298. - name: cache
  299. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  300. - name: mariadb
  301. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
  302. environment:
  303. MYSQL_ROOT_PASSWORD: owncloud
  304. MYSQL_USER: oc_autotest
  305. MYSQL_PASSWORD: owncloud
  306. MYSQL_DATABASE: oc_autotest
  307. command:
  308. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  309. tmpfs:
  310. - /var/lib/mysql
  311. trigger:
  312. branch:
  313. - master
  314. - stable*
  315. event:
  316. - pull_request
  317. - push
  318. ---
  319. kind: pipeline
  320. name: mariadb10.6-php8.0
  321. steps:
  322. - name: submodules
  323. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  324. commands:
  325. - git submodule update --init
  326. - name: mariadb10.6-php8.0
  327. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  328. commands:
  329. - bash tests/drone-run-php-tests.sh || exit 0
  330. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  331. services:
  332. - name: cache
  333. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  334. - name: mariadb
  335. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.6:latest
  336. environment:
  337. MYSQL_ROOT_PASSWORD: owncloud
  338. MYSQL_USER: oc_autotest
  339. MYSQL_PASSWORD: owncloud
  340. MYSQL_DATABASE: oc_autotest
  341. command:
  342. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  343. tmpfs:
  344. - /var/lib/mysql
  345. trigger:
  346. branch:
  347. - master
  348. - stable*
  349. event:
  350. - pull_request
  351. - push
  352. ---
  353. kind: pipeline
  354. name: mysql8.0-php7.4
  355. steps:
  356. - name: submodules
  357. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  358. commands:
  359. - git submodule update --init
  360. - name: mysql-php7.4
  361. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  362. commands:
  363. - bash tests/drone-run-php-tests.sh || exit 0
  364. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  365. services:
  366. - name: cache
  367. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  368. - name: mysql
  369. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
  370. command:
  371. - --default-authentication-plugin=mysql_native_password
  372. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  373. environment:
  374. MYSQL_ROOT_PASSWORD: owncloud
  375. MYSQL_USER: oc_autotest
  376. MYSQL_PASSWORD: owncloud
  377. MYSQL_DATABASE: oc_autotest
  378. tmpfs:
  379. - /var/lib/mysql
  380. trigger:
  381. branch:
  382. - master
  383. - stable*
  384. event:
  385. - pull_request
  386. - push
  387. ---
  388. kind: pipeline
  389. name: postgres10-php7.4
  390. steps:
  391. - name: submodules
  392. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  393. commands:
  394. - git submodule update --init
  395. - name: postgres-php7.4
  396. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  397. commands:
  398. - bash tests/drone-run-php-tests.sh || exit 0
  399. - sleep 10 # gives the database enough time to initialize
  400. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  401. services:
  402. - name: cache
  403. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  404. - name: postgres-10
  405. image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10
  406. environment:
  407. POSTGRES_USER: oc_autotest
  408. POSTGRES_DB: oc_autotest_dummy
  409. POSTGRES_PASSWORD: owncloud
  410. tmpfs:
  411. - /var/lib/postgresql/data
  412. trigger:
  413. branch:
  414. - master
  415. - stable*
  416. event:
  417. - pull_request
  418. - push
  419. ---
  420. kind: pipeline
  421. name: postgres11-php7.4
  422. steps:
  423. - name: submodules
  424. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  425. commands:
  426. - git submodule update --init
  427. - name: postgres-php7.4
  428. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  429. commands:
  430. - bash tests/drone-run-php-tests.sh || exit 0
  431. - sleep 10 # gives the database enough time to initialize
  432. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  433. services:
  434. - name: cache
  435. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  436. - name: postgres-11
  437. image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11
  438. environment:
  439. POSTGRES_USER: oc_autotest
  440. POSTGRES_DB: oc_autotest_dummy
  441. POSTGRES_PASSWORD: owncloud
  442. tmpfs:
  443. - /var/lib/postgresql/data
  444. trigger:
  445. branch:
  446. - master
  447. - stable*
  448. event:
  449. - pull_request
  450. - push
  451. ---
  452. kind: pipeline
  453. name: postgres13-php8.0
  454. steps:
  455. - name: submodules
  456. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  457. commands:
  458. - git submodule update --init
  459. - name: postgres-php8.0
  460. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  461. commands:
  462. - bash tests/drone-run-php-tests.sh || exit 0
  463. - sleep 10 # gives the database enough time to initialize
  464. - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  465. services:
  466. - name: cache
  467. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  468. - name: postgres-13
  469. image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
  470. environment:
  471. POSTGRES_USER: oc_autotest
  472. POSTGRES_DB: oc_autotest_dummy
  473. POSTGRES_PASSWORD: owncloud
  474. tmpfs:
  475. - /var/lib/postgresql/data
  476. trigger:
  477. branch:
  478. - master
  479. - stable*
  480. event:
  481. - pull_request
  482. - push
  483. ---
  484. kind: pipeline
  485. name: integration-capabilities_features
  486. steps:
  487. - name: submodules
  488. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  489. commands:
  490. - git submodule update --init
  491. - name: integration-capabilities_features
  492. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  493. commands:
  494. - bash tests/drone-run-integration-tests.sh || exit 0
  495. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  496. - cd build/integration
  497. - ./run.sh capabilities_features/capabilities.feature
  498. trigger:
  499. branch:
  500. - master
  501. - stable*
  502. event:
  503. - pull_request
  504. - push
  505. ---
  506. kind: pipeline
  507. name: integration-collaboration_features
  508. steps:
  509. - name: submodules
  510. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  511. commands:
  512. - git submodule update --init
  513. - name: integration-collaboration_features
  514. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  515. commands:
  516. - bash tests/drone-run-integration-tests.sh || exit 0
  517. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  518. - cd build/integration
  519. - ./run.sh collaboration_features/
  520. trigger:
  521. branch:
  522. - master
  523. - stable*
  524. event:
  525. - pull_request
  526. - push
  527. ---
  528. kind: pipeline
  529. name: integration-federation_features
  530. steps:
  531. - name: submodules
  532. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  533. commands:
  534. - git submodule update --init
  535. - name: integration-federation_features
  536. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  537. commands:
  538. - bash tests/drone-run-integration-tests.sh || exit 0
  539. - ./occ maintenance:install --admin-pass=admin
  540. - cd build/integration
  541. - ./run.sh federation_features/
  542. trigger:
  543. branch:
  544. - master
  545. - stable*
  546. event:
  547. - pull_request
  548. - push
  549. ---
  550. kind: pipeline
  551. name: integration-auth
  552. steps:
  553. - name: submodules
  554. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  555. commands:
  556. - git submodule update --init
  557. - name: integration-auth
  558. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  559. commands:
  560. - bash tests/drone-run-integration-tests.sh || exit 0
  561. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  562. - cd build/integration
  563. - ./run.sh features/auth.feature
  564. trigger:
  565. branch:
  566. - master
  567. - stable*
  568. event:
  569. - pull_request
  570. - push
  571. ---
  572. kind: pipeline
  573. name: integration-avatar
  574. steps:
  575. - name: submodules
  576. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  577. commands:
  578. - git submodule update --init
  579. - name: integration-avatar
  580. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  581. commands:
  582. - bash tests/drone-run-integration-tests.sh || exit 0
  583. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  584. - cd build/integration
  585. - ./run.sh features/avatar.feature
  586. trigger:
  587. branch:
  588. - master
  589. - stable*
  590. event:
  591. - pull_request
  592. - push
  593. ---
  594. kind: pipeline
  595. name: integration-maintenance-mode
  596. steps:
  597. - name: submodules
  598. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  599. commands:
  600. - git submodule update --init
  601. - name: integration-maintenance-mode
  602. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  603. commands:
  604. - bash tests/drone-run-integration-tests.sh || exit 0
  605. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  606. - cd build/integration
  607. - ./run.sh features/maintenance-mode.feature
  608. trigger:
  609. branch:
  610. - master
  611. - stable*
  612. event:
  613. - pull_request
  614. - push
  615. ---
  616. kind: pipeline
  617. name: integration-ratelimiting
  618. steps:
  619. - name: submodules
  620. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  621. commands:
  622. - git submodule update --init
  623. - name: integration-ratelimiting
  624. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  625. commands:
  626. - bash tests/drone-run-integration-tests.sh || exit 0
  627. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  628. - ./occ config:system:set redis host --value=cache
  629. - ./occ config:system:set redis port --value=6379 --type=integer
  630. - ./occ config:system:set redis timeout --value=0 --type=integer
  631. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  632. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  633. - ./occ app:enable testing
  634. - cd build/integration
  635. - ./run.sh features/ratelimiting.feature
  636. services:
  637. - name: cache
  638. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  639. trigger:
  640. branch:
  641. - master
  642. - stable*
  643. event:
  644. - pull_request
  645. - push
  646. ---
  647. kind: pipeline
  648. name: integration-carddav
  649. steps:
  650. - name: submodules
  651. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  652. commands:
  653. - git submodule update --init
  654. - name: integration-carddav
  655. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  656. commands:
  657. - bash tests/drone-run-integration-tests.sh || exit 0
  658. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  659. - cd build/integration
  660. - ./run.sh features/carddav.feature
  661. trigger:
  662. branch:
  663. - master
  664. - stable*
  665. event:
  666. - pull_request
  667. - push
  668. ---
  669. kind: pipeline
  670. name: integration-dav-v2
  671. steps:
  672. - name: submodules
  673. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  674. commands:
  675. - git submodule update --init
  676. - name: integration-dav-v2
  677. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  678. commands:
  679. - bash tests/drone-run-integration-tests.sh || exit 0
  680. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  681. - cd build/integration
  682. - ./run.sh features/dav-v2.feature
  683. trigger:
  684. branch:
  685. - master
  686. - stable*
  687. event:
  688. - pull_request
  689. - push
  690. ---
  691. kind: pipeline
  692. name: integration-ocs-v1
  693. steps:
  694. - name: submodules
  695. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  696. commands:
  697. - git submodule update --init
  698. - name: integration-ocs-v1
  699. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  700. commands:
  701. - bash tests/drone-run-integration-tests.sh || exit 0
  702. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  703. - cd build/integration
  704. - ./run.sh features/ocs-v1.feature
  705. trigger:
  706. branch:
  707. - master
  708. - stable*
  709. event:
  710. - pull_request
  711. - push
  712. ---
  713. kind: pipeline
  714. name: integration-checksums-v1
  715. steps:
  716. - name: submodules
  717. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  718. commands:
  719. - git submodule update --init
  720. - name: integration-checksums-v1
  721. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  722. commands:
  723. - bash tests/drone-run-integration-tests.sh || exit 0
  724. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  725. - cd build/integration
  726. - ./run.sh features/checksums.feature
  727. trigger:
  728. branch:
  729. - master
  730. - stable*
  731. event:
  732. - pull_request
  733. - push
  734. ---
  735. kind: pipeline
  736. name: integration-external-storage
  737. steps:
  738. - name: submodules
  739. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  740. commands:
  741. - git submodule update --init
  742. - name: integration-external-storage
  743. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  744. commands:
  745. - bash tests/drone-run-integration-tests.sh || exit 0
  746. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  747. - cd build/integration
  748. - ./run.sh features/external-storage.feature
  749. trigger:
  750. branch:
  751. - master
  752. - stable*
  753. event:
  754. - pull_request
  755. - push
  756. ---
  757. kind: pipeline
  758. name: integration-provisioning-v1
  759. steps:
  760. - name: submodules
  761. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  762. commands:
  763. - git submodule update --init
  764. - name: integration-provisioning-v1
  765. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  766. commands:
  767. - bash tests/drone-run-integration-tests.sh || exit 0
  768. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  769. - cd build/integration
  770. - ./run.sh features/provisioning-v1.feature
  771. trigger:
  772. branch:
  773. - master
  774. - stable*
  775. event:
  776. - pull_request
  777. - push
  778. ---
  779. kind: pipeline
  780. name: integration-tags
  781. steps:
  782. - name: submodules
  783. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  784. commands:
  785. - git submodule update --init
  786. - name: integration-tags
  787. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  788. commands:
  789. - bash tests/drone-run-integration-tests.sh || exit 0
  790. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  791. - cd build/integration
  792. - ./run.sh features/tags.feature
  793. trigger:
  794. branch:
  795. - master
  796. - stable*
  797. event:
  798. - pull_request
  799. - push
  800. ---
  801. kind: pipeline
  802. name: integration-caldav
  803. steps:
  804. - name: submodules
  805. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  806. commands:
  807. - git submodule update --init
  808. - name: integration-caldav
  809. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  810. commands:
  811. - bash tests/drone-run-integration-tests.sh || exit 0
  812. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  813. - cd build/integration
  814. - ./run.sh features/caldav.feature
  815. trigger:
  816. branch:
  817. - master
  818. - stable*
  819. event:
  820. - pull_request
  821. - push
  822. ---
  823. kind: pipeline
  824. name: integration-comments
  825. steps:
  826. - name: submodules
  827. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  828. commands:
  829. - git submodule update --init
  830. - name: integration-comments
  831. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  832. commands:
  833. - bash tests/drone-run-integration-tests.sh || exit 0
  834. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  835. - cd build/integration
  836. - ./run.sh features/comments.feature
  837. trigger:
  838. branch:
  839. - master
  840. - stable*
  841. event:
  842. - pull_request
  843. - push
  844. ---
  845. kind: pipeline
  846. name: integration-comments-search
  847. steps:
  848. - name: submodules
  849. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  850. commands:
  851. - git submodule update --init
  852. - name: integration-comments-search
  853. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  854. commands:
  855. - bash tests/drone-run-integration-tests.sh || exit 0
  856. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  857. - cd build/integration
  858. - ./run.sh features/comments-search.feature
  859. trigger:
  860. branch:
  861. - master
  862. - stable*
  863. event:
  864. - pull_request
  865. - push
  866. ---
  867. kind: pipeline
  868. name: integration-contacts-menu
  869. steps:
  870. - name: submodules
  871. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  872. commands:
  873. - git submodule update --init
  874. - name: integration-contacts-menu
  875. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  876. commands:
  877. - bash tests/drone-run-integration-tests.sh || exit 0
  878. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  879. - cd build/integration
  880. - ./run.sh features/contacts-menu.feature
  881. trigger:
  882. branch:
  883. - master
  884. - stable*
  885. event:
  886. - pull_request
  887. - push
  888. ---
  889. kind: pipeline
  890. name: integration-favorites
  891. steps:
  892. - name: submodules
  893. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  894. commands:
  895. - git submodule update --init
  896. - name: integration-favorites
  897. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  898. commands:
  899. - bash tests/drone-run-integration-tests.sh || exit 0
  900. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  901. - cd build/integration
  902. - ./run.sh features/favorites.feature
  903. trigger:
  904. branch:
  905. - master
  906. - stable*
  907. event:
  908. - pull_request
  909. - push
  910. ---
  911. kind: pipeline
  912. name: integration-provisioning-v2
  913. steps:
  914. - name: submodules
  915. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  916. commands:
  917. - git submodule update --init
  918. - name: integration-provisioning-v2
  919. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  920. commands:
  921. - bash tests/drone-run-integration-tests.sh || exit 0
  922. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  923. - cd build/integration
  924. - ./run.sh features/provisioning-v2.feature
  925. trigger:
  926. branch:
  927. - master
  928. - stable*
  929. event:
  930. - pull_request
  931. - push
  932. ---
  933. kind: pipeline
  934. name: integration-webdav-related
  935. steps:
  936. - name: submodules
  937. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  938. commands:
  939. - git submodule update --init
  940. - name: integration-webdav-related
  941. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  942. commands:
  943. - bash tests/drone-run-integration-tests.sh || exit 0
  944. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  945. - cd build/integration
  946. - ./run.sh features/webdav-related.feature
  947. trigger:
  948. branch:
  949. - master
  950. - stable*
  951. event:
  952. - pull_request
  953. - push
  954. ---
  955. kind: pipeline
  956. name: integration-sharees-features
  957. steps:
  958. - name: submodules
  959. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  960. commands:
  961. - git submodule update --init
  962. - name: integration-sharees-features
  963. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  964. commands:
  965. - bash tests/drone-run-integration-tests.sh || exit 0
  966. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  967. - cd build/integration
  968. - ./run.sh sharees_features/sharees.feature
  969. trigger:
  970. branch:
  971. - master
  972. - stable*
  973. event:
  974. - pull_request
  975. - push
  976. ---
  977. kind: pipeline
  978. name: integration-sharees-v2-features
  979. steps:
  980. - name: submodules
  981. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  982. commands:
  983. - git submodule update --init
  984. - name: integration-sharees-v2-features
  985. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  986. commands:
  987. - bash tests/drone-run-integration-tests.sh || exit 0
  988. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  989. - cd build/integration
  990. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  991. trigger:
  992. branch:
  993. - master
  994. - stable*
  995. event:
  996. - pull_request
  997. - push
  998. ---
  999. kind: pipeline
  1000. name: integration-sharing-v1
  1001. steps:
  1002. - name: submodules
  1003. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1004. commands:
  1005. - git submodule update --init
  1006. - name: integration-sharing-v1
  1007. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1008. commands:
  1009. - bash tests/drone-run-integration-tests.sh || exit 0
  1010. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1011. - cd build/integration
  1012. - ./run.sh sharing_features/sharing-v1.feature
  1013. trigger:
  1014. branch:
  1015. - master
  1016. - stable*
  1017. event:
  1018. - pull_request
  1019. - push
  1020. ---
  1021. kind: pipeline
  1022. name: integration-sharing-v1-part2
  1023. steps:
  1024. - name: submodules
  1025. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1026. commands:
  1027. - git submodule update --init
  1028. - name: integration-sharing-v1-part2
  1029. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1030. commands:
  1031. - bash tests/drone-run-integration-tests.sh || exit 0
  1032. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1033. - cd build/integration
  1034. - ./run.sh sharing_features/sharing-v1-part2.feature
  1035. trigger:
  1036. branch:
  1037. - master
  1038. - stable*
  1039. event:
  1040. - pull_request
  1041. - push
  1042. ---
  1043. kind: pipeline
  1044. name: integration-sharing-v1-part3
  1045. steps:
  1046. - name: submodules
  1047. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1048. commands:
  1049. - git submodule update --init
  1050. - name: integration-sharing-v1-part3
  1051. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1052. commands:
  1053. - bash tests/drone-run-integration-tests.sh || exit 0
  1054. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1055. - cd build/integration
  1056. - ./run.sh sharing_features/sharing-v1-part3.feature
  1057. trigger:
  1058. branch:
  1059. - master
  1060. - stable*
  1061. event:
  1062. - pull_request
  1063. - push
  1064. ---
  1065. kind: pipeline
  1066. name: integration-sharing-v1-video-verification
  1067. steps:
  1068. - name: submodules
  1069. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1070. commands:
  1071. - git submodule update --init
  1072. - name: install-talk
  1073. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1074. commands:
  1075. # JavaScript files are not used in integration tests so it is not needed to
  1076. # build them.
  1077. - git clone --depth 1 --branch stable24 https://github.com/nextcloud/spreed apps/spreed
  1078. - name: integration-sharing-v1-video-verification
  1079. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1080. commands:
  1081. - bash tests/drone-run-integration-tests.sh || exit 0
  1082. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1083. - cd build/integration
  1084. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1085. trigger:
  1086. branch:
  1087. - master
  1088. - stable*
  1089. event:
  1090. - pull_request
  1091. - push
  1092. ---
  1093. kind: pipeline
  1094. name: integration-setup-features
  1095. steps:
  1096. - name: submodules
  1097. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1098. commands:
  1099. - git submodule update --init
  1100. - name: integration-setup-features
  1101. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1102. commands:
  1103. - bash tests/drone-run-integration-tests.sh || exit 0
  1104. - cd build/integration
  1105. - ./run.sh setup_features/setup.feature
  1106. trigger:
  1107. branch:
  1108. - master
  1109. - stable*
  1110. event:
  1111. - pull_request
  1112. - push
  1113. ---
  1114. kind: pipeline
  1115. name: integration-filesdrop-features
  1116. steps:
  1117. - name: submodules
  1118. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1119. commands:
  1120. - git submodule update --init
  1121. - name: integration-filesdrop-features
  1122. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1123. commands:
  1124. - bash tests/drone-run-integration-tests.sh || exit 0
  1125. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1126. - cd build/integration
  1127. - ./run.sh filesdrop_features/filesdrop.feature
  1128. trigger:
  1129. branch:
  1130. - master
  1131. - stable*
  1132. event:
  1133. - pull_request
  1134. - push
  1135. ---
  1136. kind: pipeline
  1137. name: integration-transfer-ownership-features
  1138. steps:
  1139. - name: submodules
  1140. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1141. commands:
  1142. - git submodule update --init
  1143. - name: integration-transfer-ownership-features
  1144. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1145. commands:
  1146. - bash tests/drone-run-integration-tests.sh || exit 0
  1147. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1148. - cd build/integration
  1149. - ./run.sh features/transfer-ownership.feature
  1150. trigger:
  1151. branch:
  1152. - master
  1153. - stable*
  1154. event:
  1155. - pull_request
  1156. - push
  1157. ---
  1158. kind: pipeline
  1159. name: integration-ldap-features
  1160. steps:
  1161. - name: submodules
  1162. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1163. commands:
  1164. - git submodule update --init
  1165. - name: integration-ldap-features
  1166. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1167. commands:
  1168. - bash tests/drone-run-integration-tests.sh || exit 0
  1169. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1170. - cd build/integration
  1171. - ./run.sh ldap_features/ldap-ocs.feature
  1172. trigger:
  1173. branch:
  1174. - master
  1175. - stable*
  1176. event:
  1177. - pull_request
  1178. - push
  1179. ---
  1180. kind: pipeline
  1181. name: integration-ldap-openldap-features
  1182. steps:
  1183. - name: submodules
  1184. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1185. commands:
  1186. - git submodule update --init
  1187. - name: integration-ldap-openldap-features
  1188. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1189. commands:
  1190. - bash tests/drone-run-integration-tests.sh || exit 0
  1191. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1192. - ./occ config:system:set redis host --value=cache
  1193. - ./occ config:system:set redis port --value=6379 --type=integer
  1194. - ./occ config:system:set redis timeout --value=0 --type=integer
  1195. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1196. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1197. - cd build/integration
  1198. - ./run.sh ldap_features/ldap-openldap.feature
  1199. services:
  1200. - name: cache
  1201. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1202. - name: openldap
  1203. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1204. environment:
  1205. SLAPD_DOMAIN: nextcloud.ci
  1206. SLAPD_ORGANIZATION: Nextcloud
  1207. SLAPD_PASSWORD: admin
  1208. SLAPD_ADDITIONAL_MODULES: memberof
  1209. trigger:
  1210. branch:
  1211. - master
  1212. - stable*
  1213. event:
  1214. - pull_request
  1215. - push
  1216. ---
  1217. kind: pipeline
  1218. name: integration-ldap-openldap-uid-features
  1219. steps:
  1220. - name: submodules
  1221. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1222. commands:
  1223. - git submodule update --init
  1224. - name: integration-ldap-openldap-uid-features
  1225. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1226. commands:
  1227. - bash tests/drone-run-integration-tests.sh || exit 0
  1228. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1229. - ./occ config:system:set redis host --value=cache
  1230. - ./occ config:system:set redis port --value=6379 --type=integer
  1231. - ./occ config:system:set redis timeout --value=0 --type=integer
  1232. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1233. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1234. - cd build/integration
  1235. - ./run.sh ldap_features/openldap-uid-username.feature
  1236. services:
  1237. - name: cache
  1238. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1239. - name: openldap
  1240. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1241. environment:
  1242. SLAPD_DOMAIN: nextcloud.ci
  1243. SLAPD_ORGANIZATION: Nextcloud
  1244. SLAPD_PASSWORD: admin
  1245. SLAPD_ADDITIONAL_MODULES: memberof
  1246. trigger:
  1247. branch:
  1248. - master
  1249. - stable*
  1250. event:
  1251. - pull_request
  1252. - push
  1253. type: docker
  1254. ---
  1255. kind: pipeline
  1256. name: integration-ldap-openldap-numerical-id-features
  1257. steps:
  1258. - name: submodules
  1259. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1260. commands:
  1261. - git submodule update --init
  1262. - name: integration-ldap-openldap-numerical-id-features
  1263. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1264. commands:
  1265. - bash tests/drone-run-integration-tests.sh || exit 0
  1266. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1267. - ./occ config:system:set redis host --value=cache
  1268. - ./occ config:system:set redis port --value=6379 --type=integer
  1269. - ./occ config:system:set redis timeout --value=0 --type=integer
  1270. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1271. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1272. - cd build/integration
  1273. - ./run.sh ldap_features/openldap-numerical-id.feature
  1274. services:
  1275. - name: cache
  1276. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1277. - name: openldap
  1278. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1279. environment:
  1280. SLAPD_DOMAIN: nextcloud.ci
  1281. SLAPD_ORGANIZATION: Nextcloud
  1282. SLAPD_PASSWORD: admin
  1283. SLAPD_ADDITIONAL_MODULES: memberof
  1284. trigger:
  1285. branch:
  1286. - master
  1287. - stable*
  1288. event:
  1289. - pull_request
  1290. - push
  1291. ---
  1292. kind: pipeline
  1293. name: integration-trashbin
  1294. steps:
  1295. - name: submodules
  1296. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1297. commands:
  1298. - git submodule update --init
  1299. - name: integration-trashbin
  1300. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1301. commands:
  1302. - bash tests/drone-run-integration-tests.sh || exit 0
  1303. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1304. - cd build/integration
  1305. - ./run.sh features/trashbin.feature
  1306. trigger:
  1307. branch:
  1308. - master
  1309. - stable*
  1310. event:
  1311. - pull_request
  1312. - push
  1313. ---
  1314. kind: pipeline
  1315. name: integration-remote-api
  1316. steps:
  1317. - name: submodules
  1318. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1319. commands:
  1320. - git submodule update --init
  1321. - name: integration-remote-api
  1322. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1323. commands:
  1324. - bash tests/drone-run-integration-tests.sh || exit 0
  1325. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1326. - cd build/integration
  1327. - ./run.sh remoteapi_features/remote.feature
  1328. trigger:
  1329. branch:
  1330. - master
  1331. - stable*
  1332. event:
  1333. - pull_request
  1334. - push
  1335. ---
  1336. kind: pipeline
  1337. name: integration-download
  1338. steps:
  1339. - name: submodules
  1340. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1341. commands:
  1342. - git submodule update --init
  1343. - name: integration-download
  1344. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1345. commands:
  1346. - bash tests/drone-run-integration-tests.sh || exit 0
  1347. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1348. - cd build/integration
  1349. - ./run.sh --tags ~@large features/download.feature
  1350. trigger:
  1351. branch:
  1352. - master
  1353. - stable*
  1354. event:
  1355. - pull_request
  1356. - push
  1357. ---
  1358. kind: pipeline
  1359. name: acceptance-access-levels
  1360. steps:
  1361. - name: submodules
  1362. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1363. commands:
  1364. - git submodule update --init
  1365. - name: acceptance-access-levels
  1366. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1367. commands:
  1368. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
  1369. services:
  1370. - name: selenium
  1371. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1372. environment:
  1373. # Reduce default log level for Selenium server (INFO) as it is too
  1374. # verbose.
  1375. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1376. trigger:
  1377. branch:
  1378. - master
  1379. - stable*
  1380. event:
  1381. - pull_request
  1382. - push
  1383. ---
  1384. kind: pipeline
  1385. name: acceptance-app-files
  1386. steps:
  1387. - name: submodules
  1388. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1389. commands:
  1390. - git submodule update --init
  1391. - name: acceptance-app-files
  1392. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1393. commands:
  1394. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
  1395. services:
  1396. - name: selenium
  1397. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1398. environment:
  1399. # Reduce default log level for Selenium server (INFO) as it is too
  1400. # verbose.
  1401. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1402. trigger:
  1403. branch:
  1404. - master
  1405. - stable*
  1406. event:
  1407. - pull_request
  1408. - push
  1409. ---
  1410. kind: pipeline
  1411. name: acceptance-app-files-sharing
  1412. steps:
  1413. - name: submodules
  1414. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1415. commands:
  1416. - git submodule update --init
  1417. - name: acceptance-app-files-sharing
  1418. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1419. commands:
  1420. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
  1421. services:
  1422. - name: selenium
  1423. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1424. environment:
  1425. # Reduce default log level for Selenium server (INFO) as it is too
  1426. # verbose.
  1427. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1428. trigger:
  1429. branch:
  1430. - master
  1431. - stable*
  1432. event:
  1433. - pull_request
  1434. - push
  1435. ---
  1436. kind: pipeline
  1437. name: acceptance-app-files-sharing-link
  1438. steps:
  1439. - name: submodules
  1440. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1441. commands:
  1442. - git submodule update --init
  1443. - name: acceptance-app-files-sharing-link
  1444. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1445. commands:
  1446. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
  1447. services:
  1448. - name: selenium
  1449. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1450. environment:
  1451. # Reduce default log level for Selenium server (INFO) as it is too
  1452. # verbose.
  1453. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1454. trigger:
  1455. branch:
  1456. - master
  1457. - stable*
  1458. event:
  1459. - pull_request
  1460. - push
  1461. ---
  1462. kind: pipeline
  1463. name: acceptance-app-files-tags
  1464. steps:
  1465. - name: submodules
  1466. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1467. commands:
  1468. - git submodule update --init
  1469. - name: acceptance-app-files-tags
  1470. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1471. commands:
  1472. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature
  1473. services:
  1474. - name: selenium
  1475. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1476. environment:
  1477. # Reduce default log level for Selenium server (INFO) as it is too
  1478. # verbose.
  1479. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1480. trigger:
  1481. branch:
  1482. - master
  1483. - stable*
  1484. event:
  1485. - pull_request
  1486. - push
  1487. ---
  1488. kind: pipeline
  1489. name: acceptance-app-theming
  1490. steps:
  1491. - name: submodules
  1492. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1493. commands:
  1494. - git submodule update --init
  1495. - name: acceptance-app-theming
  1496. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1497. commands:
  1498. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature
  1499. services:
  1500. - name: selenium
  1501. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1502. environment:
  1503. # Reduce default log level for Selenium server (INFO) as it is too
  1504. # verbose.
  1505. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1506. trigger:
  1507. branch:
  1508. - master
  1509. - stable*
  1510. event:
  1511. - pull_request
  1512. - push
  1513. ---
  1514. kind: pipeline
  1515. name: acceptance-header
  1516. steps:
  1517. - name: submodules
  1518. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1519. commands:
  1520. - git submodule update --init
  1521. - name: acceptance-header
  1522. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1523. commands:
  1524. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1525. services:
  1526. - name: selenium
  1527. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1528. environment:
  1529. # Reduce default log level for Selenium server (INFO) as it is too
  1530. # verbose.
  1531. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1532. trigger:
  1533. branch:
  1534. - master
  1535. - stable*
  1536. event:
  1537. - pull_request
  1538. - push
  1539. ---
  1540. kind: pipeline
  1541. name: acceptance-login
  1542. steps:
  1543. - name: submodules
  1544. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1545. commands:
  1546. - git submodule update --init
  1547. - name: acceptance-login
  1548. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1549. commands:
  1550. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1551. services:
  1552. - name: selenium
  1553. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1554. environment:
  1555. # Reduce default log level for Selenium server (INFO) as it is too
  1556. # verbose.
  1557. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1558. trigger:
  1559. branch:
  1560. - master
  1561. - stable*
  1562. event:
  1563. - pull_request
  1564. - push
  1565. ---
  1566. kind: pipeline
  1567. name: acceptance-users
  1568. steps:
  1569. - name: submodules
  1570. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1571. commands:
  1572. - git submodule update --init
  1573. - name: acceptance-users
  1574. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1575. commands:
  1576. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1577. services:
  1578. - name: selenium
  1579. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1580. environment:
  1581. # Reduce default log level for Selenium server (INFO) as it is too
  1582. # verbose.
  1583. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1584. trigger:
  1585. branch:
  1586. - master
  1587. - stable*
  1588. event:
  1589. - pull_request
  1590. - push
  1591. ---
  1592. kind: pipeline
  1593. name: acceptance-apps
  1594. steps:
  1595. - name: submodules
  1596. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1597. commands:
  1598. - git submodule update --init
  1599. - name: acceptance-apps
  1600. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1601. commands:
  1602. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1603. services:
  1604. - name: selenium
  1605. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1606. environment:
  1607. # Reduce default log level for Selenium server (INFO) as it is too
  1608. # verbose.
  1609. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1610. trigger:
  1611. branch:
  1612. - master
  1613. - stable*
  1614. event:
  1615. - pull_request
  1616. - push
  1617. ---
  1618. kind: pipeline
  1619. name: nodb-codecov
  1620. steps:
  1621. - name: submodules
  1622. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1623. commands:
  1624. - git submodule update --init
  1625. - name: nodb-codecov
  1626. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1627. environment:
  1628. CODECOV_TOKEN:
  1629. from_secret: CODECOV_TOKEN
  1630. XDEBUG_MODE: coverage
  1631. commands:
  1632. - phpenmod xdebug
  1633. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1634. - wget https://codecov.io/bash -O codecov.sh
  1635. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1636. services:
  1637. - name: cache
  1638. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1639. trigger:
  1640. branch:
  1641. - master
  1642. - stable*
  1643. event:
  1644. - push
  1645. ---
  1646. kind: pipeline
  1647. name: db-codecov
  1648. steps:
  1649. - name: submodules
  1650. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1651. commands:
  1652. - git submodule update --init
  1653. - name: db-codecov
  1654. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1655. environment:
  1656. CODECOV_TOKEN:
  1657. from_secret: CODECOV_TOKEN
  1658. XDEBUG_MODE: coverage
  1659. commands:
  1660. - phpenmod xdebug
  1661. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1662. - wget https://codecov.io/bash -O codecov.sh
  1663. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1664. services:
  1665. - name: cache
  1666. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1667. trigger:
  1668. branch:
  1669. - master
  1670. - stable*
  1671. event:
  1672. - push
  1673. ---
  1674. kind: pipeline
  1675. name: object-store-s3
  1676. steps:
  1677. - name: minio
  1678. image: ghcr.io/nextcloud/continuous-integration-minio:latest
  1679. detach: true
  1680. commands:
  1681. - mkdir /s3data
  1682. - minio server /s3data
  1683. environment:
  1684. MINIO_ROOT_USER: nextcloud
  1685. MINIO_ROOT_PASSWORD: nextcloud
  1686. - name: submodules
  1687. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1688. commands:
  1689. - git submodule update --init
  1690. - name: object-store
  1691. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1692. environment:
  1693. OBJECT_STORE: s3
  1694. CODECOV_TOKEN:
  1695. from_secret: CODECOV_TOKEN
  1696. commands:
  1697. - phpenmod xdebug
  1698. - ./tests/drone-wait-objectstore.sh
  1699. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1700. - wget https://codecov.io/bash -O codecov.sh
  1701. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1702. trigger:
  1703. branch:
  1704. - master
  1705. - stable*
  1706. event:
  1707. - pull_request
  1708. - push
  1709. ---
  1710. kind: pipeline
  1711. name: object-store-azure
  1712. steps:
  1713. - name: submodules
  1714. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1715. commands:
  1716. - git submodule update --init
  1717. - name: object-store
  1718. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1719. environment:
  1720. OBJECT_STORE: azure
  1721. CODECOV_TOKEN:
  1722. from_secret: CODECOV_TOKEN
  1723. commands:
  1724. - phpenmod xdebug
  1725. - ./tests/drone-wait-objectstore.sh
  1726. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1727. - wget https://codecov.io/bash -O codecov.sh
  1728. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1729. services:
  1730. - name: azurite
  1731. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1732. environment:
  1733. executable: blob
  1734. trigger:
  1735. branch:
  1736. - master
  1737. - stable*
  1738. event:
  1739. - pull_request
  1740. - push
  1741. ---
  1742. kind: pipeline
  1743. name: memcache-memcached
  1744. steps:
  1745. - name: submodules
  1746. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1747. commands:
  1748. - git submodule update --init
  1749. - name: memcache-memcached
  1750. image: ghcr.io/nextcloud/continuous-integration-php7.4-memcached:latest
  1751. commands:
  1752. - phpenmod xdebug
  1753. - service memcached restart
  1754. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1755. - wget https://codecov.io/bash -O codecov.sh
  1756. - 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-clover-sqlite.xml; fi"
  1757. - 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-clover-sqlite.xml; fi"
  1758. trigger:
  1759. branch:
  1760. - master
  1761. - stable*
  1762. event:
  1763. - pull_request
  1764. - push
  1765. ---
  1766. kind: signature
  1767. hmac: cf4a43148731e2cbb73e87b7033e1c4aed5ddcda7ee433c6e3d72f07cb59964e