.drone.yml 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997
  1. kind: pipeline
  2. name: checkers
  3. steps:
  4. - name: submodules
  5. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  6. commands:
  7. - git submodule update --init
  8. - name: checkers
  9. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  10. commands:
  11. - ./autotest-checkers.sh
  12. secrets: [ github_token ]
  13. trigger:
  14. branch:
  15. - master
  16. - stable*
  17. event:
  18. - pull_request
  19. - push
  20. ---
  21. kind: pipeline
  22. name: litmus
  23. steps:
  24. - name: submodules
  25. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  26. commands:
  27. - git submodule update --init
  28. - name: litmus-v1
  29. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  30. commands:
  31. - bash tests/travis/install.sh sqlite
  32. - bash apps/dav/tests/travis/litmus-v1/script.sh
  33. - name: litmus-v2
  34. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  35. commands:
  36. - bash tests/travis/install.sh sqlite
  37. - bash apps/dav/tests/travis/litmus-v2/script.sh
  38. trigger:
  39. branch:
  40. - master
  41. - stable*
  42. event:
  43. - pull_request
  44. - push
  45. ---
  46. kind: pipeline
  47. name: caldavtester-new-endpoint
  48. steps:
  49. - name: submodules
  50. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  51. commands:
  52. - git submodule update --init
  53. - name: caldavtester-new-endpoint
  54. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  55. commands:
  56. - bash tests/travis/install.sh sqlite
  57. - bash apps/dav/tests/travis/caldav/install.sh
  58. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  59. trigger:
  60. branch:
  61. - master
  62. - stable*
  63. event:
  64. - pull_request
  65. - push
  66. ---
  67. kind: pipeline
  68. name: caldavtester-old-endpoint
  69. steps:
  70. - name: submodules
  71. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  72. commands:
  73. - git submodule update --init
  74. - name: caldavtester-old-endpoint
  75. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  76. commands:
  77. - bash tests/travis/install.sh sqlite
  78. - bash apps/dav/tests/travis/caldav/install.sh
  79. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  80. trigger:
  81. branch:
  82. - master
  83. - stable*
  84. event:
  85. - pull_request
  86. - push
  87. ---
  88. kind: pipeline
  89. name: carddavtester-new-endpoint
  90. steps:
  91. - name: submodules
  92. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  93. commands:
  94. - git submodule update --init
  95. - name: carddavtester-new-endpoint
  96. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  97. commands:
  98. - bash tests/travis/install.sh sqlite
  99. - bash apps/dav/tests/travis/carddav/install.sh
  100. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  101. trigger:
  102. branch:
  103. - master
  104. - stable*
  105. event:
  106. - pull_request
  107. - push
  108. ---
  109. kind: pipeline
  110. name: carddavtester-old-endpoint
  111. steps:
  112. - name: submodules
  113. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  114. commands:
  115. - git submodule update --init
  116. - name: carddavtester-old-endpoint
  117. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  118. commands:
  119. - bash tests/travis/install.sh sqlite
  120. - bash apps/dav/tests/travis/carddav/install.sh
  121. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  122. trigger:
  123. branch:
  124. - master
  125. - stable*
  126. event:
  127. - pull_request
  128. - push
  129. ---
  130. kind: pipeline
  131. name: samba
  132. steps:
  133. - name: submodules
  134. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  135. commands:
  136. - git submodule update --init
  137. - name: sqlite-php7.3-samba-native
  138. image: nextcloudci/samba-native-php7.3:samba-native-php7.3-1
  139. commands:
  140. - smbd -D -FS &
  141. - ./autotest-external.sh sqlite smb-linux
  142. - wget https://codecov.io/bash -O codecov.sh
  143. - 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"
  144. - 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"
  145. - 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"
  146. - 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"
  147. - name: sqlite-php7.3-samba-non-native
  148. image: nextcloudci/samba-non-native-php7.3:samba-non-native-php7.3-1
  149. commands:
  150. - smbd -D -FS &
  151. - ./autotest-external.sh sqlite smb-linux
  152. - wget https://codecov.io/bash -O codecov.sh
  153. - 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"
  154. - 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"
  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-smb-linux.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-smb-linux.xml; fi"
  157. trigger:
  158. branch:
  159. - master
  160. - stable*
  161. event:
  162. - pull_request
  163. - push
  164. ---
  165. kind: pipeline
  166. name: sqlite-php7.3-webdav-apache
  167. steps:
  168. - name: submodules
  169. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  170. commands:
  171. - git submodule update --init
  172. - name: sqlite-php7.3-webdav-apache
  173. image: nextcloudci/webdav-apache-php7.3:webdav-apache-php7.3-3
  174. commands:
  175. - apache2
  176. - ./autotest-external.sh sqlite webdav-apachedrone
  177. - wget https://codecov.io/bash -O codecov.sh
  178. - 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"
  179. - 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"
  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-webdav-apachedrone.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-webdav-apachedrone.xml; fi"
  182. services:
  183. - name: cache
  184. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  185. trigger:
  186. branch:
  187. - master
  188. - stable*
  189. event:
  190. - pull_request
  191. - push
  192. ---
  193. kind: pipeline
  194. name: nodb
  195. steps:
  196. - name: submodules
  197. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  198. commands:
  199. - git submodule update --init
  200. - name: nodb-php7.3
  201. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  202. commands:
  203. - bash tests/drone-run-php-tests.sh || exit 0
  204. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  205. - name: nodb-php7.4
  206. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  207. commands:
  208. - bash tests/drone-run-php-tests.sh || exit 0
  209. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  210. - name: nodb-php8.0
  211. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  212. commands:
  213. - bash tests/drone-run-php-tests.sh || exit 0
  214. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  215. services:
  216. - name: cache
  217. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  218. trigger:
  219. branch:
  220. - master
  221. - stable*
  222. event:
  223. - pull_request
  224. - push
  225. ---
  226. kind: pipeline
  227. name: sqlite
  228. steps:
  229. - name: submodules
  230. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  231. commands:
  232. - git submodule update --init
  233. - name: sqlite-php7.3
  234. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  235. commands:
  236. - bash tests/drone-run-php-tests.sh || exit 0
  237. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  238. - name: sqlite-php7.4
  239. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  240. commands:
  241. - bash tests/drone-run-php-tests.sh || exit 0
  242. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  243. - name: sqlite-php8.0
  244. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  245. commands:
  246. - bash tests/drone-run-php-tests.sh || exit 0
  247. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  248. services:
  249. - name: cache
  250. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  251. trigger:
  252. branch:
  253. - master
  254. - stable*
  255. event:
  256. - pull_request
  257. - push
  258. ---
  259. kind: pipeline
  260. name: mariadb10.1-php7.3
  261. steps:
  262. - name: submodules
  263. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  264. commands:
  265. - git submodule update --init
  266. - name: mariadb10.1-php7.3
  267. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  268. commands:
  269. - bash tests/drone-run-php-tests.sh || exit 0
  270. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  271. services:
  272. - name: cache
  273. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  274. - name: mariadb
  275. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.1:10.1
  276. environment:
  277. MYSQL_ROOT_PASSWORD: owncloud
  278. MYSQL_USER: oc_autotest
  279. MYSQL_PASSWORD: owncloud
  280. MYSQL_DATABASE: oc_autotest
  281. tmpfs:
  282. - /var/lib/mysql
  283. trigger:
  284. branch:
  285. - master
  286. - stable*
  287. event:
  288. - pull_request
  289. - push
  290. ---
  291. kind: pipeline
  292. name: mariadb10.4-php8.0
  293. steps:
  294. - name: submodules
  295. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  296. commands:
  297. - git submodule update --init
  298. - name: mariadb10.4-php8.0
  299. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  300. commands:
  301. - bash tests/drone-run-php-tests.sh || exit 0
  302. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  303. services:
  304. - name: cache
  305. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  306. - name: mariadb
  307. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
  308. environment:
  309. MYSQL_ROOT_PASSWORD: owncloud
  310. MYSQL_USER: oc_autotest
  311. MYSQL_PASSWORD: owncloud
  312. MYSQL_DATABASE: oc_autotest
  313. tmpfs:
  314. - /var/lib/mysql
  315. trigger:
  316. branch:
  317. - master
  318. - stable*
  319. event:
  320. - pull_request
  321. - push
  322. ---
  323. kind: pipeline
  324. name: mariadb10.6-php8.0
  325. steps:
  326. - name: submodules
  327. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  328. commands:
  329. - git submodule update --init
  330. - name: mariadb10.6-php8.0
  331. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  332. commands:
  333. - bash tests/drone-run-php-tests.sh || exit 0
  334. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  335. services:
  336. - name: cache
  337. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  338. - name: mariadb
  339. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.6continuous-integration-mariadb-10.6:10.6
  340. environment:
  341. MYSQL_ROOT_PASSWORD: owncloud
  342. MYSQL_USER: oc_autotest
  343. MYSQL_PASSWORD: owncloud
  344. MYSQL_DATABASE: oc_autotest
  345. tmpfs:
  346. - /var/lib/mysql
  347. trigger:
  348. branch:
  349. - master
  350. - stable*
  351. event:
  352. - pull_request
  353. - push
  354. ---
  355. kind: pipeline
  356. name: mysql8.0-php7.4
  357. steps:
  358. - name: submodules
  359. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  360. commands:
  361. - git submodule update --init
  362. - name: mysql-php7.4
  363. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  364. commands:
  365. - bash tests/drone-run-php-tests.sh || exit 0
  366. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  367. services:
  368. - name: cache
  369. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  370. - name: mysql
  371. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
  372. command: [ "--default-authentication-plugin=mysql_native_password" ]
  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: postgres9.6-php7.3
  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.3
  396. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  397. commands:
  398. - bash tests/drone-run-php-tests.sh || exit 0
  399. - sleep 10 # gives the database enough time to initialize
  400. - POSTGRES=9 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-9
  405. image: ghcr.io/nextcloud/continuous-integration-postgres-9:postgres-9.6
  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-php7.4:php7.4-3
  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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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 https://github.com/nextcloud/spreed apps/spreed
  1078. - name: integration-sharing-v1-video-verification
  1079. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3: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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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.3:acceptance-php7.3-3
  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-php7.4:php7.4-3
  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-php7.4:php7.4-3
  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-php7.4:php7.4-3
  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-php7.4:php7.4-3
  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: nextcloudci/php7.3-memcached:php7.3-memcached-3
  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