1
0

.drone.yml 56 KB

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