.drone.yml 53 KB

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