.drone.yml 59 KB

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