You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 58KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512
  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. - bash tests/drone-run-integration-tests.sh || exit 0
  892. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  893. - cd build/integration
  894. - ./run.sh capabilities_features/capabilities.feature
  895. trigger:
  896. branch:
  897. - master
  898. - stable*
  899. event:
  900. - pull_request
  901. - push
  902. ---
  903. kind: pipeline
  904. name: integration-federation_features
  905. steps:
  906. - name: submodules
  907. image: docker:git
  908. commands:
  909. - git submodule update --init
  910. - name: integration-federation_features
  911. image: nextcloudci/integration-php7.1:1
  912. commands:
  913. - bash tests/drone-run-integration-tests.sh || exit 0
  914. - ./occ maintenance:install --admin-pass=admin
  915. - cd build/integration
  916. - ./run.sh federation_features/federated.feature
  917. trigger:
  918. branch:
  919. - master
  920. - stable*
  921. event:
  922. - pull_request
  923. - push
  924. ---
  925. kind: pipeline
  926. name: integration-auth
  927. steps:
  928. - name: submodules
  929. image: docker:git
  930. commands:
  931. - git submodule update --init
  932. - name: integration-auth
  933. image: nextcloudci/integration-php7.1:1
  934. commands:
  935. - bash tests/drone-run-integration-tests.sh || exit 0
  936. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  937. - cd build/integration
  938. - ./run.sh features/auth.feature
  939. trigger:
  940. branch:
  941. - master
  942. - stable*
  943. event:
  944. - pull_request
  945. - push
  946. ---
  947. kind: pipeline
  948. name: integration-maintenance-mode
  949. steps:
  950. - name: submodules
  951. image: docker:git
  952. commands:
  953. - git submodule update --init
  954. - name: integration-maintenance-mode
  955. image: nextcloudci/integration-php7.1:1
  956. commands:
  957. - bash tests/drone-run-integration-tests.sh || exit 0
  958. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  959. - cd build/integration
  960. - ./run.sh features/maintenance-mode.feature
  961. trigger:
  962. branch:
  963. - master
  964. - stable*
  965. event:
  966. - pull_request
  967. - push
  968. ---
  969. kind: pipeline
  970. name: integration-ratelimiting
  971. steps:
  972. - name: submodules
  973. image: docker:git
  974. commands:
  975. - git submodule update --init
  976. - name: integration-ratelimiting
  977. image: nextcloudci/integration-php7.1:1
  978. commands:
  979. - bash tests/drone-run-integration-tests.sh || exit 0
  980. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  981. - ./occ config:system:set redis host --value=cache
  982. - ./occ config:system:set redis port --value=6379 --type=integer
  983. - ./occ config:system:set redis timeout --value=0 --type=integer
  984. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  985. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  986. - ./occ app:enable testing
  987. - cd build/integration
  988. - ./run.sh features/ratelimiting.feature
  989. services:
  990. - name: cache
  991. image: redis
  992. trigger:
  993. branch:
  994. - master
  995. - stable*
  996. event:
  997. - pull_request
  998. - push
  999. ---
  1000. kind: pipeline
  1001. name: integration-carddav
  1002. steps:
  1003. - name: submodules
  1004. image: docker:git
  1005. commands:
  1006. - git submodule update --init
  1007. - name: integration-carddav
  1008. image: nextcloudci/integration-php7.1:1
  1009. commands:
  1010. - bash tests/drone-run-integration-tests.sh || exit 0
  1011. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1012. - cd build/integration
  1013. - ./run.sh features/carddav.feature
  1014. trigger:
  1015. branch:
  1016. - master
  1017. - stable*
  1018. event:
  1019. - pull_request
  1020. - push
  1021. ---
  1022. kind: pipeline
  1023. name: integration-dav-v2
  1024. steps:
  1025. - name: submodules
  1026. image: docker:git
  1027. commands:
  1028. - git submodule update --init
  1029. - name: integration-dav-v2
  1030. image: nextcloudci/integration-php7.1:1
  1031. commands:
  1032. - bash tests/drone-run-integration-tests.sh || exit 0
  1033. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1034. - cd build/integration
  1035. - ./run.sh features/dav-v2.feature
  1036. trigger:
  1037. branch:
  1038. - master
  1039. - stable*
  1040. event:
  1041. - pull_request
  1042. - push
  1043. ---
  1044. kind: pipeline
  1045. name: integration-ocs-v1
  1046. steps:
  1047. - name: submodules
  1048. image: docker:git
  1049. commands:
  1050. - git submodule update --init
  1051. - name: integration-ocs-v1
  1052. image: nextcloudci/integration-php7.1:1
  1053. commands:
  1054. - bash tests/drone-run-integration-tests.sh || exit 0
  1055. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1056. - cd build/integration
  1057. - ./run.sh features/ocs-v1.feature
  1058. trigger:
  1059. branch:
  1060. - master
  1061. - stable*
  1062. event:
  1063. - pull_request
  1064. - push
  1065. ---
  1066. kind: pipeline
  1067. name: integration-sharing-v1
  1068. steps:
  1069. - name: submodules
  1070. image: docker:git
  1071. commands:
  1072. - git submodule update --init
  1073. - name: integration-sharing-v1
  1074. image: nextcloudci/integration-php7.1:1
  1075. commands:
  1076. - bash tests/drone-run-integration-tests.sh || exit 0
  1077. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1078. - cd build/integration
  1079. - ./run.sh features/sharing-v1.feature
  1080. trigger:
  1081. branch:
  1082. - master
  1083. - stable*
  1084. event:
  1085. - pull_request
  1086. - push
  1087. ---
  1088. kind: pipeline
  1089. name: integration-sharing-v1-part2
  1090. steps:
  1091. - name: submodules
  1092. image: docker:git
  1093. commands:
  1094. - git submodule update --init
  1095. - name: integration-sharing-v1-part2
  1096. image: nextcloudci/integration-php7.1:1
  1097. commands:
  1098. - bash tests/drone-run-integration-tests.sh || exit 0
  1099. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1100. - cd build/integration
  1101. - ./run.sh features/sharing-v1-part2.feature
  1102. trigger:
  1103. branch:
  1104. - master
  1105. - stable*
  1106. event:
  1107. - pull_request
  1108. - push
  1109. ---
  1110. kind: pipeline
  1111. name: integration-sharing-v1-part3
  1112. steps:
  1113. - name: submodules
  1114. image: docker:git
  1115. commands:
  1116. - git submodule update --init
  1117. - name: integration-sharing-v1-part3
  1118. image: nextcloudci/integration-php7.1:1
  1119. commands:
  1120. - bash tests/drone-run-integration-tests.sh || exit 0
  1121. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1122. - cd build/integration
  1123. - ./run.sh features/sharing-v1-part3.feature
  1124. trigger:
  1125. branch:
  1126. - master
  1127. - stable*
  1128. event:
  1129. - pull_request
  1130. - push
  1131. ---
  1132. kind: pipeline
  1133. name: integration-checksums-v1
  1134. steps:
  1135. - name: submodules
  1136. image: docker:git
  1137. commands:
  1138. - git submodule update --init
  1139. - name: integration-checksums-v1
  1140. image: nextcloudci/integration-php7.1:1
  1141. commands:
  1142. - bash tests/drone-run-integration-tests.sh || exit 0
  1143. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1144. - cd build/integration
  1145. - ./run.sh features/checksums.feature
  1146. trigger:
  1147. branch:
  1148. - master
  1149. - stable*
  1150. event:
  1151. - pull_request
  1152. - push
  1153. ---
  1154. kind: pipeline
  1155. name: integration-external-storage
  1156. steps:
  1157. - name: submodules
  1158. image: docker:git
  1159. commands:
  1160. - git submodule update --init
  1161. - name: integration-external-storage
  1162. image: nextcloudci/integration-php7.1:1
  1163. commands:
  1164. - bash tests/drone-run-integration-tests.sh || exit 0
  1165. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1166. - cd build/integration
  1167. - ./run.sh features/external-storage.feature
  1168. trigger:
  1169. branch:
  1170. - master
  1171. - stable*
  1172. event:
  1173. - pull_request
  1174. - push
  1175. ---
  1176. kind: pipeline
  1177. name: integration-provisioning-v1
  1178. steps:
  1179. - name: submodules
  1180. image: docker:git
  1181. commands:
  1182. - git submodule update --init
  1183. - name: integration-provisioning-v1
  1184. image: nextcloudci/integration-php7.1:1
  1185. commands:
  1186. - bash tests/drone-run-integration-tests.sh || exit 0
  1187. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1188. - cd build/integration
  1189. - ./run.sh features/provisioning-v1.feature
  1190. trigger:
  1191. branch:
  1192. - master
  1193. - stable*
  1194. event:
  1195. - pull_request
  1196. - push
  1197. ---
  1198. kind: pipeline
  1199. name: integration-tags
  1200. steps:
  1201. - name: submodules
  1202. image: docker:git
  1203. commands:
  1204. - git submodule update --init
  1205. - name: integration-tags
  1206. image: nextcloudci/integration-php7.1:1
  1207. commands:
  1208. - bash tests/drone-run-integration-tests.sh || exit 0
  1209. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1210. - cd build/integration
  1211. - ./run.sh features/tags.feature
  1212. trigger:
  1213. branch:
  1214. - master
  1215. - stable*
  1216. event:
  1217. - pull_request
  1218. - push
  1219. ---
  1220. kind: pipeline
  1221. name: integration-caldav
  1222. steps:
  1223. - name: submodules
  1224. image: docker:git
  1225. commands:
  1226. - git submodule update --init
  1227. - name: integration-caldav
  1228. image: nextcloudci/integration-php7.1:1
  1229. commands:
  1230. - bash tests/drone-run-integration-tests.sh || exit 0
  1231. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1232. - cd build/integration
  1233. - ./run.sh features/caldav.feature
  1234. trigger:
  1235. branch:
  1236. - master
  1237. - stable*
  1238. event:
  1239. - pull_request
  1240. - push
  1241. ---
  1242. kind: pipeline
  1243. name: integration-comments
  1244. steps:
  1245. - name: submodules
  1246. image: docker:git
  1247. commands:
  1248. - git submodule update --init
  1249. - name: integration-comments
  1250. image: nextcloudci/integration-php7.1:1
  1251. commands:
  1252. - bash tests/drone-run-integration-tests.sh || exit 0
  1253. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1254. - cd build/integration
  1255. - ./run.sh features/comments.feature
  1256. trigger:
  1257. branch:
  1258. - master
  1259. - stable*
  1260. event:
  1261. - pull_request
  1262. - push
  1263. ---
  1264. kind: pipeline
  1265. name: integration-comments-search
  1266. steps:
  1267. - name: submodules
  1268. image: docker:git
  1269. commands:
  1270. - git submodule update --init
  1271. - name: integration-comments-search
  1272. image: nextcloudci/integration-php7.1:1
  1273. commands:
  1274. - bash tests/drone-run-integration-tests.sh || exit 0
  1275. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1276. - cd build/integration
  1277. - ./run.sh features/comments-search.feature
  1278. trigger:
  1279. branch:
  1280. - master
  1281. - stable*
  1282. event:
  1283. - pull_request
  1284. - push
  1285. ---
  1286. kind: pipeline
  1287. name: integration-favorites
  1288. steps:
  1289. - name: submodules
  1290. image: docker:git
  1291. commands:
  1292. - git submodule update --init
  1293. - name: integration-favorites
  1294. image: nextcloudci/integration-php7.1:1
  1295. commands:
  1296. - bash tests/drone-run-integration-tests.sh || exit 0
  1297. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1298. - cd build/integration
  1299. - ./run.sh features/favorites.feature
  1300. trigger:
  1301. branch:
  1302. - master
  1303. - stable*
  1304. event:
  1305. - pull_request
  1306. - push
  1307. ---
  1308. kind: pipeline
  1309. name: integration-provisioning-v2
  1310. steps:
  1311. - name: submodules
  1312. image: docker:git
  1313. commands:
  1314. - git submodule update --init
  1315. - name: integration-provisioning-v2
  1316. image: nextcloudci/integration-php7.1:1
  1317. commands:
  1318. - bash tests/drone-run-integration-tests.sh || exit 0
  1319. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1320. - cd build/integration
  1321. - ./run.sh features/provisioning-v2.feature
  1322. trigger:
  1323. branch:
  1324. - master
  1325. - stable*
  1326. event:
  1327. - pull_request
  1328. - push
  1329. ---
  1330. kind: pipeline
  1331. name: integration-webdav-related
  1332. steps:
  1333. - name: submodules
  1334. image: docker:git
  1335. commands:
  1336. - git submodule update --init
  1337. - name: integration-webdav-related
  1338. image: nextcloudci/integration-php7.1:1
  1339. commands:
  1340. - bash tests/drone-run-integration-tests.sh || exit 0
  1341. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1342. - cd build/integration
  1343. - ./run.sh features/webdav-related.feature
  1344. trigger:
  1345. branch:
  1346. - master
  1347. - stable*
  1348. event:
  1349. - pull_request
  1350. - push
  1351. ---
  1352. kind: pipeline
  1353. name: integration-sharees-features
  1354. steps:
  1355. - name: submodules
  1356. image: docker:git
  1357. commands:
  1358. - git submodule update --init
  1359. - name: integration-sharees-features
  1360. image: nextcloudci/integration-php7.1:1
  1361. commands:
  1362. - bash tests/drone-run-integration-tests.sh || exit 0
  1363. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1364. - cd build/integration
  1365. - ./run.sh sharees_features/sharees.feature
  1366. trigger:
  1367. branch:
  1368. - master
  1369. - stable*
  1370. event:
  1371. - pull_request
  1372. - push
  1373. ---
  1374. kind: pipeline
  1375. name: integration-sharees-v2-features
  1376. steps:
  1377. - name: submodules
  1378. image: docker:git
  1379. commands:
  1380. - git submodule update --init
  1381. - name: integration-sharees-v2-features
  1382. image: nextcloudci/integration-php7.1:1
  1383. commands:
  1384. - bash tests/drone-run-integration-tests.sh || exit 0
  1385. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1386. - cd build/integration
  1387. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  1388. trigger:
  1389. branch:
  1390. - master
  1391. - stable*
  1392. event:
  1393. - pull_request
  1394. - push
  1395. ---
  1396. kind: pipeline
  1397. name: integration-setup-features
  1398. steps:
  1399. - name: submodules
  1400. image: docker:git
  1401. commands:
  1402. - git submodule update --init
  1403. - name: integration-setup-features
  1404. image: nextcloudci/integration-php7.1:1
  1405. commands:
  1406. - bash tests/drone-run-integration-tests.sh || exit 0
  1407. - cd build/integration
  1408. - ./run.sh setup_features/setup.feature
  1409. trigger:
  1410. branch:
  1411. - master
  1412. - stable*
  1413. event:
  1414. - pull_request
  1415. - push
  1416. ---
  1417. kind: pipeline
  1418. name: integration-filesdrop-features
  1419. steps:
  1420. - name: submodules
  1421. image: docker:git
  1422. commands:
  1423. - git submodule update --init
  1424. - name: integration-filesdrop-features
  1425. image: nextcloudci/integration-php7.1:1
  1426. commands:
  1427. - bash tests/drone-run-integration-tests.sh || exit 0
  1428. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1429. - cd build/integration
  1430. - ./run.sh filesdrop_features/filesdrop.feature
  1431. trigger:
  1432. branch:
  1433. - master
  1434. - stable*
  1435. event:
  1436. - pull_request
  1437. - push
  1438. ---
  1439. kind: pipeline
  1440. name: integration-transfer-ownership-features
  1441. steps:
  1442. - name: submodules
  1443. image: docker:git
  1444. commands:
  1445. - git submodule update --init
  1446. - name: integration-transfer-ownership-features
  1447. image: nextcloudci/integration-php7.1:1
  1448. commands:
  1449. - bash tests/drone-run-integration-tests.sh || exit 0
  1450. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1451. - cd build/integration
  1452. - ./run.sh features/transfer-ownership.feature
  1453. trigger:
  1454. branch:
  1455. - master
  1456. - stable*
  1457. event:
  1458. - pull_request
  1459. - push
  1460. ---
  1461. kind: pipeline
  1462. name: integration-ldap-features
  1463. steps:
  1464. - name: submodules
  1465. image: docker:git
  1466. commands:
  1467. - git submodule update --init
  1468. - name: integration-ldap-features
  1469. image: nextcloudci/integration-php7.1:1
  1470. commands:
  1471. - bash tests/drone-run-integration-tests.sh || exit 0
  1472. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1473. - cd build/integration
  1474. - ./run.sh ldap_features/ldap-ocs.feature
  1475. trigger:
  1476. branch:
  1477. - master
  1478. - stable*
  1479. event:
  1480. - pull_request
  1481. - push
  1482. ---
  1483. kind: pipeline
  1484. name: integration-ldap-openldap-features
  1485. steps:
  1486. - name: submodules
  1487. image: docker:git
  1488. commands:
  1489. - git submodule update --init
  1490. - name: integration-ldap-openldap-features
  1491. image: nextcloudci/integration-php7.1:1
  1492. commands:
  1493. - bash tests/drone-run-integration-tests.sh || exit 0
  1494. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1495. - ./occ config:system:set redis host --value=cache
  1496. - ./occ config:system:set redis port --value=6379 --type=integer
  1497. - ./occ config:system:set redis timeout --value=0 --type=integer
  1498. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1499. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1500. - cd build/integration
  1501. - ./run.sh ldap_features/ldap-openldap.feature
  1502. services:
  1503. - name: cache
  1504. image: redis
  1505. - name: openldap
  1506. image: nextcloudci/openldap:openldap-7
  1507. environment:
  1508. SLAPD_DOMAIN: nextcloud.ci
  1509. SLAPD_ORGANIZATION: Nextcloud
  1510. SLAPD_PASSWORD: admin
  1511. SLAPD_ADDITIONAL_MODULES: memberof
  1512. trigger:
  1513. branch:
  1514. - master
  1515. - stable*
  1516. event:
  1517. - pull_request
  1518. - push
  1519. ---
  1520. kind: pipeline
  1521. name: integration-ldap-openldap-uid-features
  1522. steps:
  1523. - name: submodules
  1524. image: docker:git
  1525. commands:
  1526. - git submodule update --init
  1527. - name: integration-ldap-openldap-uid-features
  1528. image: nextcloudci/integration-php7.1:1
  1529. commands:
  1530. - bash tests/drone-run-integration-tests.sh || exit 0
  1531. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1532. - ./occ config:system:set redis host --value=cache
  1533. - ./occ config:system:set redis port --value=6379 --type=integer
  1534. - ./occ config:system:set redis timeout --value=0 --type=integer
  1535. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1536. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1537. - cd build/integration
  1538. - ./run.sh ldap_features/openldap-uid-username.feature
  1539. services:
  1540. - name: cache
  1541. image: redis
  1542. - name: openldap
  1543. image: nextcloudci/openldap:openldap-7
  1544. environment:
  1545. SLAPD_DOMAIN: nextcloud.ci
  1546. SLAPD_ORGANIZATION: Nextcloud
  1547. SLAPD_PASSWORD: admin
  1548. SLAPD_ADDITIONAL_MODULES: memberof
  1549. trigger:
  1550. branch:
  1551. - master
  1552. - stable*
  1553. event:
  1554. - pull_request
  1555. - push
  1556. ---
  1557. kind: pipeline
  1558. name: integration-ldap-openldap-numerical-id-features
  1559. steps:
  1560. - name: submodules
  1561. image: docker:git
  1562. commands:
  1563. - git submodule update --init
  1564. - name: integration-ldap-openldap-numerical-id-features
  1565. image: nextcloudci/integration-php7.1:1
  1566. commands:
  1567. - bash tests/drone-run-integration-tests.sh || exit 0
  1568. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1569. - ./occ config:system:set redis host --value=cache
  1570. - ./occ config:system:set redis port --value=6379 --type=integer
  1571. - ./occ config:system:set redis timeout --value=0 --type=integer
  1572. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1573. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1574. - cd build/integration
  1575. - ./run.sh ldap_features/openldap-numerical-id.feature
  1576. services:
  1577. - name: cache
  1578. image: redis
  1579. - name: openldap
  1580. image: nextcloudci/openldap:openldap-7
  1581. environment:
  1582. SLAPD_DOMAIN: nextcloud.ci
  1583. SLAPD_ORGANIZATION: Nextcloud
  1584. SLAPD_PASSWORD: admin
  1585. SLAPD_ADDITIONAL_MODULES: memberof
  1586. trigger:
  1587. branch:
  1588. - master
  1589. - stable*
  1590. event:
  1591. - pull_request
  1592. - push
  1593. ---
  1594. kind: pipeline
  1595. name: integration-trashbin
  1596. steps:
  1597. - name: submodules
  1598. image: docker:git
  1599. commands:
  1600. - git submodule update --init
  1601. - name: integration-trashbin
  1602. image: nextcloudci/integration-php7.1:1
  1603. commands:
  1604. - bash tests/drone-run-integration-tests.sh || exit 0
  1605. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1606. - cd build/integration
  1607. - ./run.sh features/trashbin.feature
  1608. trigger:
  1609. branch:
  1610. - master
  1611. - stable*
  1612. event:
  1613. - pull_request
  1614. - push
  1615. ---
  1616. kind: pipeline
  1617. name: integration-remote-api
  1618. steps:
  1619. - name: submodules
  1620. image: docker:git
  1621. commands:
  1622. - git submodule update --init
  1623. - name: integration-remote-api
  1624. image: nextcloudci/integration-php7.1:1
  1625. commands:
  1626. - bash tests/drone-run-integration-tests.sh || exit 0
  1627. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1628. - cd build/integration
  1629. - ./run.sh remoteapi_features/remote.feature
  1630. trigger:
  1631. branch:
  1632. - master
  1633. - stable*
  1634. event:
  1635. - pull_request
  1636. - push
  1637. ---
  1638. kind: pipeline
  1639. name: integration-download
  1640. steps:
  1641. - name: submodules
  1642. image: docker:git
  1643. commands:
  1644. - git submodule update --init
  1645. - name: integration-download
  1646. image: nextcloudci/integration-php7.1:1
  1647. commands:
  1648. - bash tests/drone-run-integration-tests.sh || exit 0
  1649. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1650. - cd build/integration
  1651. - ./run.sh --tags ~@large features/download.feature
  1652. trigger:
  1653. branch:
  1654. - master
  1655. - stable*
  1656. event:
  1657. - pull_request
  1658. - push
  1659. ---
  1660. kind: pipeline
  1661. name: acceptance-access-levels
  1662. steps:
  1663. - name: submodules
  1664. image: docker:git
  1665. commands:
  1666. - git submodule update --init
  1667. - name: acceptance-access-levels
  1668. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1669. commands:
  1670. - 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
  1671. services:
  1672. - name: selenium
  1673. image: selenium/standalone-firefox:2.53.1-beryllium
  1674. environment:
  1675. # Reduce default log level for Selenium server (INFO) as it is too
  1676. # verbose.
  1677. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1678. trigger:
  1679. branch:
  1680. - master
  1681. - stable*
  1682. event:
  1683. - pull_request
  1684. - push
  1685. ---
  1686. kind: pipeline
  1687. name: acceptance-app-comments
  1688. steps:
  1689. - name: submodules
  1690. image: docker:git
  1691. commands:
  1692. - git submodule update --init
  1693. - name: acceptance-app-comments
  1694. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1695. commands:
  1696. - 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
  1697. services:
  1698. - name: selenium
  1699. image: selenium/standalone-firefox:2.53.1-beryllium
  1700. environment:
  1701. # Reduce default log level for Selenium server (INFO) as it is too
  1702. # verbose.
  1703. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1704. trigger:
  1705. branch:
  1706. - master
  1707. - stable*
  1708. event:
  1709. - pull_request
  1710. - push
  1711. ---
  1712. kind: pipeline
  1713. name: acceptance-app-files
  1714. steps:
  1715. - name: submodules
  1716. image: docker:git
  1717. commands:
  1718. - git submodule update --init
  1719. - name: acceptance-app-files
  1720. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1721. commands:
  1722. - 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
  1723. services:
  1724. - name: selenium
  1725. image: selenium/standalone-firefox:2.53.1-beryllium
  1726. environment:
  1727. # Reduce default log level for Selenium server (INFO) as it is too
  1728. # verbose.
  1729. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1730. trigger:
  1731. branch:
  1732. - master
  1733. - stable*
  1734. event:
  1735. - pull_request
  1736. - push
  1737. ---
  1738. kind: pipeline
  1739. name: acceptance-app-files-sharing
  1740. steps:
  1741. - name: submodules
  1742. image: docker:git
  1743. commands:
  1744. - git submodule update --init
  1745. - name: acceptance-app-files-sharing
  1746. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1747. commands:
  1748. - 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
  1749. services:
  1750. - name: selenium
  1751. image: selenium/standalone-firefox:2.53.1-beryllium
  1752. environment:
  1753. # Reduce default log level for Selenium server (INFO) as it is too
  1754. # verbose.
  1755. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1756. trigger:
  1757. branch:
  1758. - master
  1759. - stable*
  1760. event:
  1761. - pull_request
  1762. - push
  1763. ---
  1764. kind: pipeline
  1765. name: acceptance-app-files-sharing-link
  1766. steps:
  1767. - name: submodules
  1768. image: docker:git
  1769. commands:
  1770. - git submodule update --init
  1771. - name: acceptance-app-files-sharing-link
  1772. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1773. commands:
  1774. - 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
  1775. services:
  1776. - name: selenium
  1777. image: selenium/standalone-firefox:2.53.1-beryllium
  1778. environment:
  1779. # Reduce default log level for Selenium server (INFO) as it is too
  1780. # verbose.
  1781. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1782. trigger:
  1783. branch:
  1784. - master
  1785. - stable*
  1786. event:
  1787. - pull_request
  1788. - push
  1789. ---
  1790. kind: pipeline
  1791. name: acceptance-app-files-tags
  1792. steps:
  1793. - name: submodules
  1794. image: docker:git
  1795. commands:
  1796. - git submodule update --init
  1797. - name: acceptance-app-files-tags
  1798. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1799. commands:
  1800. - 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
  1801. services:
  1802. - name: selenium
  1803. image: selenium/standalone-firefox:2.53.1-beryllium
  1804. environment:
  1805. # Reduce default log level for Selenium server (INFO) as it is too
  1806. # verbose.
  1807. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1808. trigger:
  1809. branch:
  1810. - master
  1811. - stable*
  1812. event:
  1813. - pull_request
  1814. - push
  1815. ---
  1816. kind: pipeline
  1817. name: acceptance-app-theming
  1818. steps:
  1819. - name: submodules
  1820. image: docker:git
  1821. commands:
  1822. - git submodule update --init
  1823. - name: acceptance-app-theming
  1824. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1825. commands:
  1826. - 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
  1827. services:
  1828. - name: selenium
  1829. image: selenium/standalone-firefox:2.53.1-beryllium
  1830. environment:
  1831. # Reduce default log level for Selenium server (INFO) as it is too
  1832. # verbose.
  1833. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1834. trigger:
  1835. branch:
  1836. - master
  1837. - stable*
  1838. event:
  1839. - pull_request
  1840. - push
  1841. ---
  1842. kind: pipeline
  1843. name: acceptance-header
  1844. steps:
  1845. - name: submodules
  1846. image: docker:git
  1847. commands:
  1848. - git submodule update --init
  1849. - name: acceptance-header
  1850. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1851. commands:
  1852. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1853. services:
  1854. - name: selenium
  1855. image: selenium/standalone-firefox:2.53.1-beryllium
  1856. environment:
  1857. # Reduce default log level for Selenium server (INFO) as it is too
  1858. # verbose.
  1859. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1860. trigger:
  1861. branch:
  1862. - master
  1863. - stable*
  1864. event:
  1865. - pull_request
  1866. - push
  1867. ---
  1868. kind: pipeline
  1869. name: acceptance-login
  1870. steps:
  1871. - name: submodules
  1872. image: docker:git
  1873. commands:
  1874. - git submodule update --init
  1875. - name: acceptance-login
  1876. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1877. commands:
  1878. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1879. services:
  1880. - name: selenium
  1881. image: selenium/standalone-firefox:2.53.1-beryllium
  1882. environment:
  1883. # Reduce default log level for Selenium server (INFO) as it is too
  1884. # verbose.
  1885. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1886. trigger:
  1887. branch:
  1888. - master
  1889. - stable*
  1890. event:
  1891. - pull_request
  1892. - push
  1893. ---
  1894. kind: pipeline
  1895. name: acceptance-users
  1896. steps:
  1897. - name: submodules
  1898. image: docker:git
  1899. commands:
  1900. - git submodule update --init
  1901. - name: acceptance-users
  1902. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1903. commands:
  1904. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1905. services:
  1906. - name: selenium
  1907. image: selenium/standalone-firefox:2.53.1-beryllium
  1908. environment:
  1909. # Reduce default log level for Selenium server (INFO) as it is too
  1910. # verbose.
  1911. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1912. trigger:
  1913. branch:
  1914. - master
  1915. - stable*
  1916. event:
  1917. - pull_request
  1918. - push
  1919. ---
  1920. kind: pipeline
  1921. name: acceptance-apps
  1922. steps:
  1923. - name: submodules
  1924. image: docker:git
  1925. commands:
  1926. - git submodule update --init
  1927. - name: acceptance-apps
  1928. image: nextcloudci/acceptance-php7.1:acceptance-php7.1-2
  1929. commands:
  1930. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1931. services:
  1932. - name: selenium
  1933. image: selenium/standalone-firefox:2.53.1-beryllium
  1934. environment:
  1935. # Reduce default log level for Selenium server (INFO) as it is too
  1936. # verbose.
  1937. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1938. trigger:
  1939. branch:
  1940. - master
  1941. - stable*
  1942. event:
  1943. - pull_request
  1944. - push
  1945. ---
  1946. kind: pipeline
  1947. name: nodb-codecov
  1948. steps:
  1949. - name: submodules
  1950. image: docker:git
  1951. commands:
  1952. - git submodule update --init
  1953. - name: nodb-codecov
  1954. image: nextcloudci/php7.1:php7.1-16
  1955. commands:
  1956. - phpenmod xdebug
  1957. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1958. - wget https://codecov.io/bash -O codecov.sh
  1959. - 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"
  1960. - 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"
  1961. services:
  1962. - name: cache
  1963. image: redis
  1964. trigger:
  1965. branch:
  1966. - master
  1967. - stable*
  1968. event:
  1969. - pull_request
  1970. - push
  1971. ---
  1972. kind: pipeline
  1973. name: db-codecov
  1974. steps:
  1975. - name: submodules
  1976. image: docker:git
  1977. commands:
  1978. - git submodule update --init
  1979. - name: db-codecov
  1980. image: nextcloudci/php7.1:php7.1-16
  1981. commands:
  1982. - phpenmod xdebug
  1983. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1984. - wget https://codecov.io/bash -O codecov.sh
  1985. - 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"
  1986. - 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"
  1987. services:
  1988. - name: cache
  1989. image: redis
  1990. trigger:
  1991. branch:
  1992. - master
  1993. - stable*
  1994. event:
  1995. - pull_request
  1996. - push
  1997. ---
  1998. kind: pipeline
  1999. name: object-store-s3
  2000. steps:
  2001. - name: submodules
  2002. image: docker:git
  2003. commands:
  2004. - git submodule update --init
  2005. - name: object-store
  2006. image: nextcloudci/php7.1:php7.1-16
  2007. commands:
  2008. - phpenmod xdebug
  2009. - ./tests/drone-wait-objectstore.sh
  2010. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  2011. - wget https://codecov.io/bash -O codecov.sh
  2012. - 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"
  2013. - 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"
  2014. services:
  2015. - name: fake-s3
  2016. image: lphoward/fake-s3:latest
  2017. trigger:
  2018. branch:
  2019. - master
  2020. - stable*
  2021. event:
  2022. - pull_request
  2023. - push
  2024. ---
  2025. kind: pipeline
  2026. name: object-store-azure
  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-azure ./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. services:
  2042. - name: azurite
  2043. image: arafato/azurite:latest
  2044. environment:
  2045. executable: blob
  2046. trigger:
  2047. branch:
  2048. - master
  2049. - stable*
  2050. event:
  2051. - pull_request
  2052. - push
  2053. ---
  2054. #kind: pipeline
  2055. #name: object-store-swift-v2
  2056. #
  2057. #clone:
  2058. # depth: 1
  2059. #
  2060. #steps:
  2061. #- name: submodules
  2062. # image: docker:git
  2063. # commands:
  2064. # - git submodule update --init
  2065. #- name: object-store
  2066. # image: nextcloudci/php7.1:php7.1-16
  2067. # commands:
  2068. # - phpenmod xdebug
  2069. # - ./tests/drone-wait-objectstore.sh
  2070. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./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. #
  2075. #services:
  2076. #- name: dockswift
  2077. # image: icewind1991/dockswift:nextcloud-ci
  2078. # environment:
  2079. # IPADDRESS: dockswift
  2080. #
  2081. #trigger:
  2082. # branch:
  2083. # - master
  2084. # - stable*
  2085. # event:
  2086. # - pull_request
  2087. # - push
  2088. #
  2089. #---
  2090. #kind: pipeline
  2091. #name: object-store-swift-v3
  2092. #
  2093. #clone:
  2094. # depth: 1
  2095. #
  2096. #steps:
  2097. #- name: submodules
  2098. # image: docker:git
  2099. # commands:
  2100. # - git submodule update --init
  2101. #- name: object-store
  2102. # image: nextcloudci/php7.1:php7.1-16
  2103. # commands:
  2104. # - phpenmod xdebug
  2105. # - ./tests/drone-wait-objectstore.sh
  2106. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  2107. # - wget https://codecov.io/bash -O codecov.sh
  2108. # - 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"
  2109. # - 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"
  2110. #
  2111. #services:
  2112. #- name: dockswift
  2113. # image: icewind1991/dockswift:nextcloud-ci
  2114. # environment:
  2115. # IPADDRESS: dockswift
  2116. #
  2117. #trigger:
  2118. # branch:
  2119. # - master
  2120. # - stable*
  2121. # event:
  2122. # - pull_request
  2123. # - push
  2124. #
  2125. #---
  2126. kind: pipeline
  2127. name: memcache-memcached
  2128. steps:
  2129. - name: submodules
  2130. image: docker:git
  2131. commands:
  2132. - git submodule update --init
  2133. - name: memcache-memcached
  2134. image: nextcloudci/php7.1-memcached:1
  2135. commands:
  2136. - phpenmod xdebug
  2137. - service memcached restart
  2138. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  2139. - wget https://codecov.io/bash -O codecov.sh
  2140. - 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"
  2141. - 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"
  2142. trigger:
  2143. branch:
  2144. - master
  2145. - stable*
  2146. event:
  2147. - pull_request
  2148. - push
  2149. ---
  2150. kind: pipeline
  2151. name: memcache-redis-cluster
  2152. steps:
  2153. - name: submodules
  2154. image: docker:git
  2155. commands:
  2156. - git submodule update --init
  2157. - name: memcache-redis-cluster
  2158. image: nextcloudci/php7.1:php7.1-16
  2159. commands:
  2160. - phpenmod xdebug
  2161. - sleep 20
  2162. - ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
  2163. - wget https://codecov.io/bash -O codecov.sh
  2164. - 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"
  2165. - 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"
  2166. services:
  2167. - name: cache-cluster
  2168. image: morrisjobke/redis-cluster
  2169. trigger:
  2170. branch:
  2171. - master
  2172. - stable*
  2173. event:
  2174. - pull_request
  2175. - push
  2176. ---
  2177. kind: pipeline
  2178. name: ui-regression
  2179. steps:
  2180. - name: submodules
  2181. image: docker:git
  2182. commands:
  2183. - git submodule update --init
  2184. - name: ui-regression
  2185. image: nextcloudci/ui-regression:ui-regression-1
  2186. commands:
  2187. - cd tests/ui-regression
  2188. - npm install
  2189. - chown -R pptruser out node_modules
  2190. - bash -c "until curl -s http://ui-regression-php-master > /dev/null && curl -s http://ui-regression-php > /dev/null; do sleep 2; done"
  2191. - sudo -u pptruser node runTests.js || true
  2192. - echo "The result can be found at https://s3.bitgrid.net/nextcloud-ui-regression/nextcloud/server/${DRONE_PULL_REQUEST}/index.html"
  2193. shm_size: '1gb'
  2194. services:
  2195. - name: ui-regression-php
  2196. image: nextcloudci/server:server-1
  2197. commands:
  2198. - . /etc/apache2/envvars
  2199. - rm -fr /var/www/html
  2200. - mkdir /var/www/html && cp -rT . /var/www/html && chown -R www-data:www-data /var/www/html
  2201. - rm -fr /var/www/html/config/config.php /var/www/html/data/*
  2202. - apache2 -DFOREGROUND
  2203. - name: ui-regression-php-master
  2204. image: nextcloudci/server:server-1
  2205. commands:
  2206. - . /etc/apache2/envvars
  2207. - rm -fr /var/www/html/config/config.php /var/www/html/data/*
  2208. - su www-data -c "cd /var/www/html/ && git checkout $DRONE_REPO_BRANCH && git pull && git submodule update"
  2209. - apache2 -DFOREGROUND
  2210. - name: publish-s3
  2211. image: plugins/s3
  2212. settings:
  2213. endpoint: https://ci-assets.nextcloud.com
  2214. bucket: nextcloud-ui-regression
  2215. path_style: true
  2216. source: tests/ui-regression/out/**/*
  2217. strip_prefix: tests/ui-regression/out/
  2218. acl: public-read
  2219. target: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_PULL_REQUEST}
  2220. secrets: [ aws_access_key_id, aws_secret_access_key ]
  2221. trigger:
  2222. branch:
  2223. - master
  2224. - stable*
  2225. event:
  2226. - pull_request
  2227. - push