.drone.yml 52 KB

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